Module org.eclipse.persistence.core
Class StackUnmarshalNamespaceResolver
java.lang.Object
org.eclipse.persistence.internal.oxm.record.namespaces.StackUnmarshalNamespaceResolver
- All Implemented Interfaces:
UnmarshalNamespaceResolver
This is a complete UnmarshalNamespaceResolver implementation. This is
useful when using XML input from sources such as SAX.
-
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
Remove the last declared namespace URI binding for this prefix.void
Associate a prefix and a namespace URI.
-
Constructor Details
-
StackUnmarshalNamespaceResolver
public StackUnmarshalNamespaceResolver()
-
-
Method Details
-
getPrefix
Description copied from interface:UnmarshalNamespaceResolver
Return the prefix for the specified namesapce URI at the current scope.- Specified by:
getPrefix
in interfaceUnmarshalNamespaceResolver
-
getNamespaceURI
Description copied from interface:UnmarshalNamespaceResolver
Return the namespace URI for the specified prefix at the current scope.- Specified by:
getNamespaceURI
in interfaceUnmarshalNamespaceResolver
-
pop
Description copied from interface:UnmarshalNamespaceResolver
Remove the last declared namespace URI binding for this prefix. Note this will reveal the previous namespace URI binding for this prefix if there was one.- Specified by:
pop
in interfaceUnmarshalNamespaceResolver
-
push
Description copied from interface:UnmarshalNamespaceResolver
Associate a prefix and a namespace URI. Note that this will override any previous associations for the specified prefix until a corresponding "pop" call is made for this prefix.- Specified by:
push
in interfaceUnmarshalNamespaceResolver
-
getPrefixes
Description copied from interface:UnmarshalNamespaceResolver
Return the set of prefixes currently associated with a namespace URI.- Specified by:
getPrefixes
in interfaceUnmarshalNamespaceResolver
-