public class OXPathExtractionNode extends Object implements Serializable
Constructor and Description |
---|
OXPathExtractionNode(int iId,
int iParent,
String iLabel)
Constructor for nested record nodes
|
OXPathExtractionNode(int iId,
int iParent,
String iLabel,
String iValue)
Constructor for attribute nodes
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Generated
equals(Object) override for object equality |
int |
getId()
Returns id
|
String |
getLabel()
Returns label
|
int |
getParentId()
Returns parent ID
|
String |
getValue()
returns value
|
int |
hashCode()
Generated
hashCode() override for object hashcode |
boolean |
isAttribute()
Method for determining if the object is a record extraction marker or an attribute extraction marker.
|
boolean |
isEndNode()
Determines if the implicit parameter is the end node
|
static OXPathExtractionNode |
returnEndNode()
Returns the end node object, signaling to the
OXPathOutputHandler that all output has been sent and the
communications channel can be closed |
String |
toString()
returns String representation of object
|
public OXPathExtractionNode(int iId, int iParent, String iLabel)
iId
- id of nodeiParent
- parent of nodeiLabel
- label of nodepublic boolean isAttribute()
true
if the node is an attribute, false
if the node is a record markerpublic static OXPathExtractionNode returnEndNode()
OXPathOutputHandler
that all output has been sent and the
communications channel can be closedOXPathOutputHandler
that all output has been sent and the
communications channel can be closedpublic boolean isEndNode()
true
if the implicit parameter is the end node; false
otherwisepublic int getId()
public int getParentId()
public String getLabel()
public String getValue()
public String toString()
public int hashCode()
hashCode()
override for object hashcodepublic boolean equals(Object obj)
equals(Object)
override for object equalityCopyright © 2020 OXPath Team. All rights reserved.