|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamedAccessNavigator
Interface for navigating around an arbitrary object model accessing certain parts by name for performance.
This interface must only be implemented by those models that can support this named access behavior.
Method Summary | |
---|---|
java.util.Iterator |
getAttributeAxisIterator(java.lang.Object contextNode,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Retrieve an Iterator that returns the attribute
XPath axis where the names of the attributes match the supplied name
and optional namespace. |
java.util.Iterator |
getChildAxisIterator(java.lang.Object contextNode,
java.lang.String localName,
java.lang.String namespacePrefix,
java.lang.String namespaceURI)
Retrieve an Iterator that returns the child
XPath axis where the names of the children match the supplied name
and optional namespace. |
Method Detail |
---|
java.util.Iterator getChildAxisIterator(java.lang.Object contextNode, java.lang.String localName, java.lang.String namespacePrefix, java.lang.String namespaceURI) throws UnsupportedAxisException
Iterator
that returns the child
XPath axis where the names of the children match the supplied name
and optional namespace.
This method must only return element nodes with the correct name.
If the namespaceURI is null, no namespace should be used. The prefix will never be null.
contextNode
- the origin context nodelocalName
- the local name of the children to return, always presentnamespacePrefix
- the prefix of the namespace of the children to returnnamespaceURI
- the namespace URI of the children to return
UnsupportedAxisException
- if the child axis is
not supported by this object modeljava.util.Iterator getAttributeAxisIterator(java.lang.Object contextNode, java.lang.String localName, java.lang.String namespacePrefix, java.lang.String namespaceURI) throws UnsupportedAxisException
Iterator
that returns the attribute
XPath axis where the names of the attributes match the supplied name
and optional namespace.
This method must only return attribute nodes with the correct name.
If the namespaceURI is null, no namespace should be used. The prefix will never be null.
contextNode
- the origin context nodelocalName
- the local name of the attributes to return, always presentnamespacePrefix
- the prefix of the namespace of the attributes to returnnamespaceURI
- the URI of the namespace of the attributes to return
UnsupportedAxisException
- if the attribute axis is
not supported by this object model
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |