Module org.eclipse.persistence.core
Class UnmarshalNamespaceContext
java.lang.Object
org.eclipse.persistence.internal.oxm.record.namespaces.UnmarshalNamespaceContext
- All Implemented Interfaces:
UnmarshalNamespaceResolver
An UnmarshalNamespaceResolver that delegates all work to a NamespaceContext.
This is useful when using XML input from sources such as StAX.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNamespaceURI(String prefix) Return the namespace URI for the specified prefix at the current scope.Return the prefix for the specified namesapce URI at the current scope.Return the set of prefixes currently associated with a namespace URI.voidThe underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.voidThe underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.voidsetXmlStreamReader(XMLStreamReader xmlStreamReader)
-
Constructor Details
-
UnmarshalNamespaceContext
public UnmarshalNamespaceContext() -
UnmarshalNamespaceContext
-
-
Method Details
-
getNamespaceURI
Description copied from interface:UnmarshalNamespaceResolverReturn the namespace URI for the specified prefix at the current scope.- Specified by:
getNamespaceURIin interfaceUnmarshalNamespaceResolver
-
getPrefix
Description copied from interface:UnmarshalNamespaceResolverReturn the prefix for the specified namesapce URI at the current scope.- Specified by:
getPrefixin interfaceUnmarshalNamespaceResolver
-
push
The underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.- Specified by:
pushin interfaceUnmarshalNamespaceResolver
-
pop
The underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.- Specified by:
popin interfaceUnmarshalNamespaceResolver
-
getPrefixes
Description copied from interface:UnmarshalNamespaceResolverReturn the set of prefixes currently associated with a namespace URI.- Specified by:
getPrefixesin interfaceUnmarshalNamespaceResolver
-
getXmlStreamReader
-
setXmlStreamReader
-