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
-
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.void
The underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.void
The underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.void
setXmlStreamReader
(XMLStreamReader xmlStreamReader)
-
Constructor Details
-
UnmarshalNamespaceContext
public UnmarshalNamespaceContext() -
UnmarshalNamespaceContext
-
-
Method Details
-
getNamespaceURI
Description copied from interface:UnmarshalNamespaceResolver
Return the namespace URI for the specified prefix at the current scope.- Specified by:
getNamespaceURI
in interfaceUnmarshalNamespaceResolver
-
getPrefix
Description copied from interface:UnmarshalNamespaceResolver
Return the prefix for the specified namesapce URI at the current scope.- Specified by:
getPrefix
in interfaceUnmarshalNamespaceResolver
-
push
The underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.- Specified by:
push
in interfaceUnmarshalNamespaceResolver
-
pop
The underlying NamespaceContext is responsible for maintaining the appropriate prefix/URI associations.- Specified by:
pop
in interfaceUnmarshalNamespaceResolver
-
getPrefixes
Description copied from interface:UnmarshalNamespaceResolver
Return the set of prefixes currently associated with a namespace URI.- Specified by:
getPrefixes
in interfaceUnmarshalNamespaceResolver
-
getXmlStreamReader
-
setXmlStreamReader
-