Package | Description |
---|---|
org.apache.uima.cas.impl |
Implementation and Low-Level API for the CAS Interfaces.
|
org.apache.uima.jcas.cas |
JCAS model for built-in CAS types
|
org.apache.uima.json |
Modifier and Type | Method and Description |
---|---|
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,
org.apache.uima.cas.impl.AllowPreexistingFS allowPreexistingFS)
Deserializes a CAS from XMI.
|
org.xml.sax.helpers.DefaultHandler |
XmiCasDeserializer.getXmiCasHandler(CAS cas,
boolean lenient,
XmiSerializationSharedData sharedData)
Create a default handler for deserializing a CAS from XMI.
|
org.xml.sax.helpers.DefaultHandler |
XmiCasDeserializer.getXmiCasHandler(CAS cas,
boolean lenient,
XmiSerializationSharedData sharedData,
int mergePoint)
Create a default handler for deserializing a CAS from XMI.
|
org.xml.sax.helpers.DefaultHandler |
XmiCasDeserializer.getXmiCasHandler(CAS cas,
boolean lenient,
XmiSerializationSharedData sharedData,
int mergePoint,
org.apache.uima.cas.impl.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.
|
Modifier and Type | Method and Description |
---|---|
default void |
CommonList.anyListToOutput(XmiSerializationSharedData sharedData,
org.apache.uima.cas.impl.CasSerializerSupport.CasDocSerializer cds,
java.util.function.Consumer<String> out)
List to String for XMI and JSON serialization, for the special format where
all the list elements are in one serialized item
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)
|
default List<String> |
CommonList.anyListToStringList(XmiSerializationSharedData sharedData,
org.apache.uima.cas.impl.CasSerializerSupport.CasDocSerializer cds) |
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,
org.apache.uima.json.impl.JsonContentHandlerJacksonWrapper jch,
XmiSerializationSharedData sharedData,
Marker marker) |
void |
JsonCasSerializer.serialize(CAS cas,
Object output,
XmiSerializationSharedData sharedData,
Marker marker) |
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.