xpointer.datatype
Class ShortHand

java.lang.Object
  |
  +--xpointer.datatype.Scheme
        |
        +--xpointer.datatype.ShortHand

public class ShortHand
extends Scheme

This is not a scheme in the usual way, but it stands for a shorthand. It'll be translated to the XPath funcion id(). It has the following syntax: pointer ::= shorthand | schemebased shorthand ::= name


Fields inherited from class xpointer.datatype.Scheme
ELEMENT_SCHEME, SHORTHAND, XMLNS_SCHEME, XPOINTER_SCHEME
 
Constructor Summary
ShortHand(java.lang.String value)
          Creates new ShortHand
 
Method Summary
 java.lang.String getXPathExpression()
          Converts the shorthand to the corresponding XPath id() function.
 
Methods inherited from class xpointer.datatype.Scheme
getType, getValue, setType, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortHand

public ShortHand(java.lang.String value)
Creates new ShortHand
Method Detail

getXPathExpression

public java.lang.String getXPathExpression()
Converts the shorthand to the corresponding XPath id() function.
Returns:
the id() function