xpointer.datatype
Class Scheme
java.lang.Object
|
+--xpointer.datatype.Scheme
- Direct Known Subclasses:
- ElementScheme, ShortHand, XmlNSScheme, XPointerScheme
- public class Scheme
- extends java.lang.Object
This class represents a scheme with its schemedata.
Constructor Summary |
Scheme()
Creates new Scheme |
Scheme(java.lang.String value,
int type)
Creates new Scheme |
Method Summary |
int |
getType()
Getter for property type. |
java.lang.String |
getValue()
Getter for property value. |
void |
setType(int type)
Setter for property type. |
void |
setValue(java.lang.String value)
Setter for property value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPOINTER_SCHEME
public static final int XPOINTER_SCHEME
ELEMENT_SCHEME
public static final int ELEMENT_SCHEME
XMLNS_SCHEME
public static final int XMLNS_SCHEME
SHORTHAND
public static final int SHORTHAND
Scheme
public Scheme()
- Creates new Scheme
Scheme
public Scheme(java.lang.String value,
int type)
- Creates new Scheme
- Parameters:
the
- scheme valuethe
- scheme type (xmlns,xpointer or element)
getType
public int getType()
- Getter for property type.
- Returns:
- Value of property type.
setType
public void setType(int type)
- Setter for property type.
- Parameters:
type
- New value of property type.
getValue
public java.lang.String getValue()
- Getter for property value.
- Returns:
- Value of property value.
setValue
public void setValue(java.lang.String value)
- Setter for property value.
- Parameters:
value
- New value of property value.