Class CasSerializerSupport.CasSerializerSupportSerialize

java.lang.Object
org.apache.uima.cas.impl.CasSerializerSupport.CasSerializerSupportSerialize
Enclosing class:
CasSerializerSupport

public abstract static class CasSerializerSupport.CasSerializerSupportSerialize extends Object
  • Constructor Details

    • CasSerializerSupportSerialize

      public CasSerializerSupportSerialize()
  • Method Details

    • initializeNamespaces

      protected abstract void initializeNamespaces()
    • checkForNameCollision

      protected abstract void checkForNameCollision(XmlElementName xmlElementName)
    • addNameSpace

      protected abstract void addNameSpace(XmlElementName xmlElementName)
    • uimaTypeName2XmiElementName

      protected abstract XmlElementName uimaTypeName2XmiElementName(String typeName)
    • writeFeatureStructures

      protected abstract void writeFeatureStructures(int elementCount) throws Exception
      Throws:
      Exception
    • writeViews

      protected abstract void writeViews() throws Exception
      Throws:
      Exception
    • writeView

      protected abstract void writeView(Sofa sofa, Collection<TOP> members) throws Exception
      Throws:
      Exception
    • writeView

      protected abstract void writeView(Sofa sofa, Collection<TOP> added, Collection<TOP> deleted, Collection<TOP> reindexed) throws Exception
      Throws:
      Exception
    • writeFsStart

      protected abstract boolean writeFsStart(TOP fs, int typeCode) throws Exception
      Parameters:
      fs - -
      typeCode - -
      Returns:
      true if writing out referenced items (JSON)
      Throws:
      Exception - -
    • writeFs

      protected abstract void writeFs(TOP fs, int typeCode) throws Exception
      Throws:
      Exception
    • writeListsAsIndividualFSs

      protected abstract void writeListsAsIndividualFSs(TOP fs, int typeCode) throws Exception
      Throws:
      Exception
    • writeArrays

      protected abstract void writeArrays(TOP fsarray, int typeCode, int typeClass) throws Exception
      Throws:
      Exception
    • writeEndOfIndividualFs

      protected abstract void writeEndOfIndividualFs() throws Exception
      Throws:
      Exception
    • writeEndOfSerialization

      protected abstract void writeEndOfSerialization() throws Exception
      Throws:
      Exception
    • writeFsRef

      protected abstract void writeFsRef(TOP fs) throws Exception
      Throws:
      Exception