Uses of Class
org.apache.sis.xml.TransformVersion
Packages that use TransformVersion
Package
Description
Provides methods for marshalling and unmarshalling SIS objects in XML.
-
Uses of TransformVersion in org.apache.sis.xml
Fields in org.apache.sis.xml declared as TransformVersionModifier and TypeFieldDescription(package private) static final TransformVersion
TransformVersion.ALL
Apply all known namespace replacements.(package private) static final TransformVersion
TransformVersion.GML31
GML using the legacy"http://www.opengis.net/gml"
namespace.(package private) static final TransformVersion
TransformVersion.ISO19139
Metadata using the legacy ISO 19139:2007 schema (replaced by ISO 19115-3).(package private) final TransformVersion
TransformedEvent.Start.version
The version to export, used for wrapping namespace context.(package private) final TransformVersion
Transformer.version
The external XML format version to (un)marshal from.(package private) final TransformVersion
TransformingNamespaces.version
The URI replacements to apply when exporting from the JAXB annotations to the XML documents.Methods in org.apache.sis.xml that return TransformVersionModifier and TypeMethodDescription(package private) final TransformVersion
Pooled.getTransformVersion()
Returns theTransformVersion
enumeration value to use for the current GML or metadata version, ornull
if the SIS native versions are suitable.Methods in org.apache.sis.xml with parameters of type TransformVersionModifier and TypeMethodDescription(package private) static NamespaceContext
TransformingNamespaces.asJAXB
(NamespaceContext context, TransformVersion version) Given a context for namespaces used in XML document, returns a context working with the namespaces used in our JAXB annotations.(package private) static NamespaceContext
TransformingNamespaces.asXML
(NamespaceContext context, TransformVersion version) Given the context for namespaces used in our JAXB annotations, returns a context working with namespaces used in XML document.private void
PooledMarshaller.marshal
(Object object, XMLEventWriter output, TransformVersion version) Marshals to the given output with on-the-fly substitution of namespaces.private Object
PooledUnmarshaller.unmarshal
(XMLEventReader input, TransformVersion version) Unmarshals to the given input with on-the-fly substitution of namespaces.private <T> JAXBElement<T>
PooledUnmarshaller.unmarshal
(XMLEventReader input, TransformVersion version, Class<T> declaredType) Same asPooledUnmarshaller.unmarshal(XMLEventReader, TransformVersion)
, but delegating to the unmarshaller methods returning a JAXB element instead of the one returning the object.Constructors in org.apache.sis.xml with parameters of type TransformVersionModifierConstructorDescription(package private)
Event
(StartElement event, QName name, List<Namespace> namespaces, List<Attribute> attributes, TransformVersion version) Wraps the given event with potentially different name, namespaces and attributes.(package private)
Inverse
(NamespaceContext context, TransformVersion version) Creates a new namespaces transformer for the given source version.(package private)
Start
(StartElement event, QName name, List<Namespace> namespaces, List<Attribute> attributes, TransformVersion version) Wraps the given event with potentially different name, namespaces and attributes.(package private)
Transformer
(TransformVersion version) Creates a new XML reader or writer.private
TransformingNamespaces
(NamespaceContext context, TransformVersion version) Creates a new namespaces transformer for the given target version.(package private)
TransformingReader
(XMLEventReader in, TransformVersion version) Creates a new reader for the given version of the standards.(package private)
TransformingWriter
(XMLEventWriter out, TransformVersion version) Creates a new writer for the given version of the standards.private
TransformVersion
(TransformVersion first) Creates an enumeration initialized to a copy of the given enumeration.