Class AbstractTypeDefWriter
- java.lang.Object
-
- org.nuxeo.ecm.restapi.jaxrs.io.types.AbstractTypeDefWriter
-
- Direct Known Subclasses:
DocumentTypesWriter
,FacetsWriter
,SchemasWriter
public class AbstractTypeDefWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractTypeDefWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
buildComplexFields(com.fasterxml.jackson.core.JsonGenerator jg, Field field)
protected com.fasterxml.jackson.core.JsonGenerator
getGenerator(OutputStream entityStream)
protected void
writeDocType(com.fasterxml.jackson.core.JsonGenerator jg, DocumentType docType, boolean expandSchemas)
protected void
writeFacet(com.fasterxml.jackson.core.JsonGenerator jg, CompositeType facet, boolean expandSchemas)
protected void
writeField(com.fasterxml.jackson.core.JsonGenerator jg, Field field)
protected void
writeSchema(com.fasterxml.jackson.core.JsonGenerator jg, Schema schema)
protected void
writeSchemaObject(com.fasterxml.jackson.core.JsonGenerator jg, Schema schema)
-
-
-
Method Detail
-
getGenerator
protected com.fasterxml.jackson.core.JsonGenerator getGenerator(OutputStream entityStream) throws IOException
- Throws:
IOException
-
writeSchema
protected void writeSchema(com.fasterxml.jackson.core.JsonGenerator jg, Schema schema) throws IOException
- Throws:
IOException
-
writeSchemaObject
protected void writeSchemaObject(com.fasterxml.jackson.core.JsonGenerator jg, Schema schema) throws IOException
- Throws:
IOException
-
writeDocType
protected void writeDocType(com.fasterxml.jackson.core.JsonGenerator jg, DocumentType docType, boolean expandSchemas) throws IOException
- Throws:
IOException
-
writeField
protected void writeField(com.fasterxml.jackson.core.JsonGenerator jg, Field field) throws IOException
- Throws:
IOException
-
buildComplexFields
protected void buildComplexFields(com.fasterxml.jackson.core.JsonGenerator jg, Field field) throws IOException
- Throws:
IOException
-
writeFacet
protected void writeFacet(com.fasterxml.jackson.core.JsonGenerator jg, CompositeType facet, boolean expandSchemas) throws IOException
- Throws:
IOException
-
-