Class CasSerializerSupport.CasSerializerSupportSerialize

    • Constructor Detail

      • CasSerializerSupportSerialize

        public CasSerializerSupportSerialize()
    • Method Detail

      • initializeNamespaces

        protected abstract void initializeNamespaces()
      • checkForNameCollision

        protected abstract void checkForNameCollision​(XmlElementName xmlElementName)
      • addNameSpace

        protected abstract void addNameSpace​(XmlElementName xmlElementName)
      • uimaTypeName2XmiElementName

        protected abstract XmlElementName uimaTypeName2XmiElementName​(java.lang.String typeName)
      • writeFeatureStructures

        protected abstract void writeFeatureStructures​(int elementCount)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeViews

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

        protected abstract void writeView​(Sofa sofa,
                                          java.util.Collection<TOP> members)
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeView

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

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

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

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

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

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

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

        protected abstract void writeFsRef​(TOP fs)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception