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
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.voidRemove the last declared namespace URI binding for this prefix.voidAssociate a prefix and a namespace URI.
-
Constructor Details
-
StackUnmarshalNamespaceResolver
public StackUnmarshalNamespaceResolver()
-
-
Method Details
-
getPrefix
Description copied from interface:UnmarshalNamespaceResolverReturn the prefix for the specified namesapce URI at the current scope.- Specified by:
getPrefixin interfaceUnmarshalNamespaceResolver
-
getNamespaceURI
Description copied from interface:UnmarshalNamespaceResolverReturn the namespace URI for the specified prefix at the current scope.- Specified by:
getNamespaceURIin interfaceUnmarshalNamespaceResolver
-
pop
Description copied from interface:UnmarshalNamespaceResolverRemove 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:
popin interfaceUnmarshalNamespaceResolver
-
push
Description copied from interface:UnmarshalNamespaceResolverAssociate 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:
pushin interfaceUnmarshalNamespaceResolver
-
getPrefixes
Description copied from interface:UnmarshalNamespaceResolverReturn the set of prefixes currently associated with a namespace URI.- Specified by:
getPrefixesin interfaceUnmarshalNamespaceResolver
-