Class AbstractTypeDefWriter
java.lang.Object
org.nuxeo.ecm.restapi.jaxrs.io.types.AbstractTypeDefWriter
- Direct Known Subclasses:
DocumentTypesWriter
,FacetsWriter
,SchemasWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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)
-
Constructor Details
-
AbstractTypeDefWriter
public AbstractTypeDefWriter()
-
-
Method Details
-
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
-