Package org.apache.uima.cas.impl
Class CasSerializerSupport.CasSerializerSupportSerialize
java.lang.Object
org.apache.uima.cas.impl.CasSerializerSupport.CasSerializerSupportSerialize
- Enclosing class:
CasSerializerSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
addNameSpace
(XmlElementName xmlElementName) protected abstract void
checkForNameCollision
(XmlElementName xmlElementName) protected abstract void
protected abstract XmlElementName
uimaTypeName2XmiElementName
(String typeName) protected abstract void
writeArrays
(TOP fsarray, int typeCode, int typeClass) protected abstract void
protected abstract void
protected abstract void
writeFeatureStructures
(int elementCount) protected abstract void
protected abstract void
writeFsRef
(TOP fs) protected abstract boolean
writeFsStart
(TOP fs, int typeCode) protected abstract void
writeListsAsIndividualFSs
(TOP fs, int typeCode) protected abstract void
writeView
(Sofa sofa, Collection<TOP> members) protected abstract void
writeView
(Sofa sofa, Collection<TOP> added, Collection<TOP> deleted, Collection<TOP> reindexed) protected abstract void
-
Constructor Details
-
CasSerializerSupportSerialize
public CasSerializerSupportSerialize()
-
-
Method Details
-
initializeNamespaces
protected abstract void initializeNamespaces() -
checkForNameCollision
-
addNameSpace
-
uimaTypeName2XmiElementName
-
writeFeatureStructures
- Throws:
Exception
-
writeViews
- Throws:
Exception
-
writeView
- Throws:
Exception
-
writeView
protected abstract void writeView(Sofa sofa, Collection<TOP> added, Collection<TOP> deleted, Collection<TOP> reindexed) throws Exception - Throws:
Exception
-
writeFsStart
- Parameters:
fs
- -typeCode
- -- Returns:
- true if writing out referenced items (JSON)
- Throws:
Exception
- -
-
writeFs
- Throws:
Exception
-
writeListsAsIndividualFSs
- Throws:
Exception
-
writeArrays
- Throws:
Exception
-
writeEndOfIndividualFs
- Throws:
Exception
-
writeEndOfSerialization
- Throws:
Exception
-
writeFsRef
- Throws:
Exception
-