Package | Description |
---|---|
org.apache.uima.cas.impl |
Implementation and Low-Level API for the CAS Interfaces.
|
org.apache.uima.json |
Modifier and Type | Field and Description |
---|---|
XmiSerializationSharedData |
CasSerializerSupport.CasDocSerializer.sharedData
for Delta serialization, holds the info gathered from deserialization needed for delta serialization
and for handling out-of-type-system data for both plain and delta serialization
|
Modifier and Type | Method and Description |
---|---|
void |
ListUtils.anyListToOutput(int curNode,
XmiSerializationSharedData sharedData,
CasSerializerSupport.CasDocSerializer cds,
org.apache.uima.cas.impl.ListUtils.ListOutput out)
Go thru a list, calling the ListOutput append method to append strings (to arrays, or string buffers)
Stop at the end node, or a null, or a loop (no error reported here)
|
String[] |
ListUtils.anyListToStringArray(int curNode,
XmiSerializationSharedData sharedData) |
List<String> |
ListUtils.anyListToStringList(int curNode,
XmiSerializationSharedData sharedData,
CasSerializerSupport.CasDocSerializer cds) |
static void |
XmiCasDeserializer.deserialize(InputStream aStream,
CAS aCAS,
boolean aLenient,
XmiSerializationSharedData aSharedData)
Deserializes a CAS from XMI.
|
static void |
XmiCasDeserializer.deserialize(InputStream aStream,
CAS aCAS,
boolean aLenient,
XmiSerializationSharedData aSharedData,
int aMergePoint)
Deserializes a CAS from XMI.
|
static void |
XmiCasDeserializer.deserialize(InputStream aStream,
CAS aCAS,
boolean aLenient,
XmiSerializationSharedData aSharedData,
int aMergePoint,
AllowPreexistingFS allowPreexistingFS)
Deserializes a CAS from XMI.
|
DefaultHandler |
XmiCasDeserializer.getXmiCasHandler(CAS cas,
boolean lenient,
XmiSerializationSharedData sharedData)
Create a default handler for deserializing a CAS from XMI.
|
DefaultHandler |
XmiCasDeserializer.getXmiCasHandler(CAS cas,
boolean lenient,
XmiSerializationSharedData sharedData,
int mergePoint)
Create a default handler for deserializing a CAS from XMI.
|
DefaultHandler |
XmiCasDeserializer.getXmiCasHandler(CAS cas,
boolean lenient,
XmiSerializationSharedData sharedData,
int mergePoint,
AllowPreexistingFS allow)
Create a default handler for deserializing a CAS from XMI.
|
void |
XmiCasSerializer.serialize(CAS cas,
ContentHandler contentHandler,
ErrorHandler errorHandler,
XmiSerializationSharedData sharedData)
Write the CAS data to a SAX content handler.
|
void |
XmiCasSerializer.serialize(CAS cas,
ContentHandler contentHandler,
ErrorHandler errorHandler,
XmiSerializationSharedData sharedData,
Marker marker)
Write the CAS data to a SAX content handler.
|
static void |
XmiCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream,
boolean aPrettyPrint,
XmiSerializationSharedData aSharedData)
Serializes a CAS to an XMI stream.
|
static void |
XmiCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream,
boolean aPrettyPrint,
XmiSerializationSharedData aSharedData,
Marker aMarker)
Serializes a Delta CAS to an XMI stream.
|
static void |
XmiCasSerializer.serialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
OutputStream aStream,
boolean aPrettyPrint,
XmiSerializationSharedData aSharedData,
Marker aMarker,
boolean useXml_1_1)
Serializes a Delta CAS to an XMI stream.
|
Constructor and Description |
---|
CasDocSerializer(ContentHandler ch,
CASImpl cas,
XmiSerializationSharedData sharedData,
MarkerImpl marker,
CasSerializerSupport.CasSerializerSupportSerialize csss) |
CasDocSerializer(ContentHandler ch,
CASImpl cas,
XmiSerializationSharedData sharedData,
MarkerImpl marker,
CasSerializerSupport.CasSerializerSupportSerialize csss,
boolean trackMultiRefs) |
Modifier and Type | Method and Description |
---|---|
static void |
JsonCasSerializer.jsonSerialize(CAS aCAS,
TypeSystem aTargetTypeSystem,
Object output,
boolean aPrettyPrint,
Marker aMarker,
XmiSerializationSharedData sharedData)
Serializes a Delta CAS to an output (File, Writer, or OutputStream).
|
void |
JsonCasSerializer.serialize(CAS cas,
JsonContentHandlerJacksonWrapper jch,
XmiSerializationSharedData sharedData,
Marker marker) |
void |
JsonCasSerializer.serialize(CAS cas,
Object output,
XmiSerializationSharedData sharedData,
Marker marker) |
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.