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 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