Top Description Methods
org.eclipse.persistence.internal.oxm.record.namespaces

public Interface UnmarshalNamespaceResolver

Known Direct Implementers
org.eclipse.persistence.internal.oxm.record.namespaces.StackUnmarshalNamespaceResolver, org.eclipse.persistence.internal.oxm.record.namespaces.UnmarshalNamespaceContext
Imports
java.util.Set

An abstraction to represent a namespace resolver for unmarshalling based on the XML input.

Method Summary

Modifier and TypeMethod and Description
public String
getNamespaceURI(String prefix)

Return the namespace URI for the specified prefix at the current scope.

public String
getPrefix(String namespaceURI)

Return the prefix for the specified namesapce URI at the current scope.

public Set<String>
getPrefixes()

Return the set of prefixes currently associated with a namespace URI.

public void
pop(String prefix)

Remove the last declared namespace URI binding for this prefix.

public void
push(String prefix, String namespaceURI)

Associate a prefix and a namespace URI.

Method Detail

getNamespaceURIback to summary
public String getNamespaceURI(String prefix)

Return the namespace URI for the specified prefix at the current scope.

getPrefixback to summary
public String getPrefix(String namespaceURI)

Return the prefix for the specified namesapce URI at the current scope.

getPrefixesback to summary
public Set<String> getPrefixes()

Return the set of prefixes currently associated with a namespace URI.

popback to summary
public void pop(String prefix)

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.

pushback to summary
public void push(String prefix, String namespaceURI)

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.