public class XPathReference extends java.lang.Object implements IDataReference
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nodeset |
private TreeReference |
ref |
Constructor and Description |
---|
XPathReference() |
XPathReference(java.lang.String nodeset) |
XPathReference(TreeReference ref) |
XPathReference(XPathPathExpr path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static XPathPathExpr |
getPathExpr(java.lang.String nodeset) |
java.lang.Object |
getReference() |
int |
hashCode() |
void |
readExternal(java.io.DataInputStream in,
PrototypeFactory pf) |
void |
setReference(java.lang.Object o) |
void |
writeExternal(java.io.DataOutputStream out) |
private TreeReference ref
private java.lang.String nodeset
public XPathReference()
public XPathReference(java.lang.String nodeset)
public XPathReference(XPathPathExpr path)
public XPathReference(TreeReference ref)
public static XPathPathExpr getPathExpr(java.lang.String nodeset)
public java.lang.Object getReference()
getReference
in interface IDataReference
public void setReference(java.lang.Object o)
setReference
in interface IDataReference
o
- the data reference value to be setpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void readExternal(java.io.DataInputStream in, PrototypeFactory pf) throws java.io.IOException, DeserializationException
readExternal
in interface Externalizable
java.io.IOException
DeserializationException
public void writeExternal(java.io.DataOutputStream out) throws java.io.IOException
writeExternal
in interface Externalizable
java.io.IOException