org.xiruss.util.xpointer
Class ShorthandPart

java.lang.Object
  extended by org.xiruss.util.xpointer.XPointerPart
      extended by org.xiruss.util.xpointer.ShorthandPart

public class ShorthandPart
extends XPointerPart

Implements an XPointer bare-name address.


Field Summary
 
Fields inherited from class org.xiruss.util.xpointer.XPointerPart
logger, schemeData, schemeName
 
Constructor Summary
ShorthandPart(java.lang.String partString)
           
 
Method Summary
 org.w3c.dom.NodeList resolve(org.w3c.dom.Document targetDocument)
          Resolves the XPointer part against the specified document.
 
Methods inherited from class org.xiruss.util.xpointer.XPointerPart
getSchemeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShorthandPart

public ShorthandPart(java.lang.String partString)
Method Detail

resolve

public org.w3c.dom.NodeList resolve(org.w3c.dom.Document targetDocument)
Description copied from class: XPointerPart
Resolves the XPointer part against the specified document.

Overrides:
resolve in class XPointerPart
Parameters:
targetDocument - DOM document the part is evaluated against.
Returns:
NodeList of result nodes, possibly empty.