Package | Description |
---|---|
com.luciad.format.aixm51.xml |
This package provides API for decoding and encoding AIXM 5.1 data from/to XML.
|
com.luciad.format.gmlcommon.transformation |
Provides support for transforming domain objects and model to and from GML.
|
com.luciad.format.xml.bind |
Provides a binding framework for binding XML documents to Java object graphs and vice versa.
|
com.luciad.format.xml.bind.schema |
Provides an extension to the XML runtime binding framework
com.luciad.format.xml.bind for
XML Schema based documents. |
com.luciad.format.xml.bind.xlink |
This package provides support for representing and automatically resolving XLink (http://www.w3.org/TR/xlink/)
references during the decoding of a XML model.
|
com.luciad.lucy.addons.drawing.format.xml |
This packages provides utilities related to XML marshalling and unmarshalling.
|
Modifier and Type | Method and Description |
---|---|
ILcdXLinkExpression |
TLcdAIXM51LinkExpressionFactory.compile(TLcdXLinkSimpleLink aLink,
ILcdXMLDocumentContext aDocumentContext) |
Modifier and Type | Method and Description |
---|---|
ILcdModel |
TLcdGMLApplicationModelDecoder.decode(Source aSource,
ILcdXMLDocumentContext aDocumentContext)
Decodes the given source, transforms the GML features that are contained within
it and adds these to the returned model.
|
void |
TLcdGMLApplicationModelEncoder.export(ILcdModel aModel,
Result aDestination,
ILcdXMLDocumentContext context)
Exports the given model to given destination.
|
Modifier and Type | Method and Description |
---|---|
ILcdXMLDocumentContext |
TLcdXMLEncoder.createDocumentContext()
Creates a new
ILcdXMLDocumentContext that can be used during encoding of an XML
document. |
ILcdXMLDocumentContext |
TLcdXMLDecoder.createDocumentContext()
Creates a new
ILcdXMLDocumentContext that can be used during decoding of an XML
document. |
Modifier and Type | Method and Description |
---|---|
T |
ILcdXMLObjectFactory.createObject(ILcdXMLDocumentContext aContext)
Creates and returns a new object for use in an XML context.
|
<T> T |
TLcdXMLMapping.createObject(QName aElementName,
Class<T> aClass,
ILcdXMLDocumentContext aDocumentContext)
Creates a new object instance for the specified XML element name, of the specified class (or subclass).
|
<T> T |
TLcdXMLDecoder.decode(String aSourceName,
InputStream aInputStream,
Class<T> aRootJavaClass,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified input stream to a Java object graph.
|
Object |
TLcdXMLDecoder.decode(String aSourceName,
InputStream aInputStream,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified input stream to a Java object graph.
|
void |
TLcdXMLEncoder.encode(Object aObject,
OutputStream aDestination,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
void |
TLcdXMLEncoder.encode(Object aObject,
QName aRootElementName,
OutputStream aDestination,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
void |
ILcdXMLMarshaller.marshal(T aObject,
XMLStreamWriter aWriter,
ILcdXMLDocumentContext aContext)
Marshals (serializes) the specified Java object or content tree to an XML element via the specified
XMLStreamWriter . |
T |
ILcdXMLObjectFactory.resolveObject(T aObject,
ILcdXMLDocumentContext aContext)
Performs an additional initialization step for the specified object after it has been created.
|
T |
ILcdXMLUnmarshaller.unmarshal(XMLStreamReader aReader,
ILcdXMLDocumentContext aContext)
Unmarshals (deserializes) the XML element at the current cursor position of the specified
XMLStreamReader
and returns the resulting Java object graph. |
Modifier and Type | Method and Description |
---|---|
ILcdXMLDocumentContext |
TLcdXMLSchemaBasedEncoder.createDocumentContext()
Creates a new
ILcdXMLDocumentContext that can be used during encoding of an XML
document. |
ILcdXMLDocumentContext |
TLcdXMLSchemaBasedDecoder.createDocumentContext()
Creates a new
ILcdXMLDocumentContext that can be used during decoding of an XML
document. |
Modifier and Type | Method and Description |
---|---|
<T> T |
TLcdXMLSchemaBasedMapping.createObject(TLcdXMLSchemaTypeIdentifier aTypeId,
Class<T> aClass,
ILcdXMLDocumentContext aDocumentContext)
Creates a new object instance for the specified XML Schema type, of the specified class (or subclass).
|
<T> T |
TLcdXMLSchemaBasedDecoder.decode(Source aSource,
Class<T> aClass,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified source to a Java object graph.
|
Object |
TLcdXMLSchemaBasedDecoder.decode(Source aSource,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified source to a Java object graph.
|
<T> T |
TLcdXMLSchemaBasedDecoder.decode(Source aSource,
List<Class> aJavaClasses,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified source to a Java object graph.
|
Object |
TLcdXMLSchemaBasedDecoder.decode(String aSourceName,
ILcdXMLDocumentContext aContext)
Unmarshals the specified document to a Java object graph.
|
<T> T |
TLcdXMLSchemaBasedDecoder.decode(String aSourceName,
InputStream aInputStream,
Class<T> aRootJavaClass,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified input stream to a Java object graph.
|
Object |
TLcdXMLSchemaBasedDecoder.decode(String aSourceName,
InputStream aInputStream,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified input stream to a Java object graph.
|
<T> T |
TLcdXMLSchemaBasedDecoder.decode(String aSourceName,
InputStream aInputStream,
List<Class> aJavaClasses,
ILcdXMLDocumentContext aDocumentContext)
Unmarshals the specified input stream to a Java object graph.
|
void |
TLcdXMLSchemaBasedEncoder.encode(Object aObject,
OutputStream aDestination,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
void |
TLcdXMLSchemaBasedEncoder.encode(Object aObject,
QName aRootElementSubstitutionGroup,
OutputStream aDestination,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
void |
TLcdXMLSchemaBasedEncoder.encode(Object aObject,
QName aRootElementSubstitutionGroup,
Result aResult,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
void |
TLcdXMLSchemaBasedEncoder.encode(Object aObject,
QName aRootElementSubstitutionGroup,
String aDestination,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
void |
TLcdXMLSchemaBasedEncoder.encode(Object aObject,
Result aResult,
ILcdXMLDocumentContext aDocumentContext)
Marshals the specified Java object to XML data, written to the specified
OutputStream . |
static Map<String,String> |
TLcdXMLSchemaBasedEncoder.getNamespacePrefixes(ILcdXMLDocumentContext aContext)
Returns a mapping between name space and schema prefix.
|
static Map<String,String> |
TLcdXMLSchemaBasedEncoder.getSchemaLocations(ILcdXMLDocumentContext aContext)
Returns a mapping between name space and schema location.
|
void |
TLcdXMLMarshallerAdapter.marshal(T aObject,
XMLStreamWriter aWriter,
ILcdXMLDocumentContext aContext) |
String |
ILcdXMLDatatypeMarshaller.marshal(T aValue,
XMLStreamWriter aWriter,
ILcdXMLDocumentContext aContext)
Converts a Java class instance to a lexical representation of the corresponding XML value.
|
void |
ILcdXMLTypeMarshaller.marshalType(T aObject,
XMLStreamWriter aWriter,
ILcdXMLDocumentContext aContext)
Partially marshals (serializes) he specified Java object or content tree to an XML element via the specified
XMLStreamWriter . |
T |
ILcdXMLDatatypeUnmarshaller.unmarshal(String aLexicalValue,
XMLStreamReader aReader,
ILcdXMLDocumentContext aContext)
Converts the lexical representation of an XML value to a corresponding Java class instance representing this value.
|
T |
TLcdXMLUnmarshallerAdapter.unmarshal(XMLStreamReader aReader,
ILcdXMLDocumentContext aContext) |
T |
ILcdXMLTypeUnmarshaller.unmarshalType(T aObject,
XMLStreamReader aReader,
ILcdXMLDocumentContext aContext)
Partially unmarshals (deserializes) the XML element at the current cursor position of the specified
XMLStreamReader . |
Modifier and Type | Method and Description |
---|---|
ILcdXLinkExpression |
TLcdXLinkExpressionFactory.compile(TLcdXLinkSimpleLink aLink,
ILcdXMLDocumentContext aContext) |
ILcdXLinkExpression |
ILcdXLinkExpressionFactory.compile(TLcdXLinkSimpleLink aLink,
ILcdXMLDocumentContext aDocumentContext)
Compiles a given href attribute into an
ILcdXLinkExpression . |
Modifier and Type | Method and Description |
---|---|
static TLcdDataType |
TLcyDrawingXMLUtil.getDataType(ILcdXMLDocumentContext aXMLDocumentContext)
Retrieve the
TLcdDataType of the domain objects from a context |
static ILcdModel |
TLcyDrawingXMLUtil.getModel(ILcdXMLDocumentContext aXMLDocumentContext)
Retrieve the model from a context
|
static String |
TLcyDrawingXMLUtil.nextGmlId(ILcdXMLDocumentContext aXMLDocumentContext)
Returns a new id, unique in this context, that can be used where gml
expects unique ids.
|