Class TransformingNamespaces.Inverse

java.lang.Object
org.apache.sis.xml.TransformingNamespaces
org.apache.sis.xml.TransformingNamespaces.Inverse
All Implemented Interfaces:
NamespaceContext
Enclosing class:
TransformingNamespaces

private static final class TransformingNamespaces.Inverse extends TransformingNamespaces
Substitutes the XML namespaces used in XML documents by namespaces used in JAXB annotations. This is used at marshalling time for exporting legacy documents, performing the reverse of TransformingNamespaces. The namespace → prefix mapping is simple because various ISO 19115-3 namespaces are mapped to the same legacy "gmd" prefix, but the reverse operation (prefix → namespace mapping) can often not be resolved.