|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inria.ketuk.XChange
Memorizes a Change made on a DOM tree
Field Summary | |
static int |
CHANGE
Indicates that a node has been changed |
static int |
INSERT
Indicates that a node has been inserted |
static int |
REMOVE
Indicates that a node has been removed |
Constructor Summary | |
XChange(int opType,
org.w3c.dom.Node baseNode,
org.w3c.dom.Node sourceNode)
Constructs a XChange with an operation type, a base node and a source node |
|
XChange(int opType,
org.w3c.dom.Node baseNode,
org.w3c.dom.Node sourceNode,
org.w3c.dom.Node paramNode)
Constructs a XChange with an operation type, a base node, a source node and a parameter node |
|
XChange(int opType,
org.w3c.dom.Node baseNode,
org.w3c.dom.Node sourceNode,
org.w3c.dom.Node paramNode,
int index)
Constructs a XChange with an operation type, a base node, a source node, a parameter node and an index |
|
XChange(int opType,
org.w3c.dom.Node baseNode,
org.w3c.dom.Node sourceNode,
org.w3c.dom.Node paramNode,
org.w3c.dom.Node paramNode2)
Constructs a XChange with an operation type, a base node, a source node, a first parameter node and a second one |
Method Summary | |
int |
getIndex()
The position of the insertion |
org.w3c.dom.Node |
getParamNode2()
The XPath to the second parameter node |
java.lang.String |
getParamXPath()
The XPath to the parameter node |
java.lang.String |
getSourceXPath()
The XPath to the source node |
int |
getType()
The change's type |
java.lang.String |
toString()
Returns a string representing the XChange object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int REMOVE
public static final int CHANGE
public static final int INSERT
Constructor Detail |
public XChange(int opType, org.w3c.dom.Node baseNode, org.w3c.dom.Node sourceNode)
public XChange(int opType, org.w3c.dom.Node baseNode, org.w3c.dom.Node sourceNode, org.w3c.dom.Node paramNode)
public XChange(int opType, org.w3c.dom.Node baseNode, org.w3c.dom.Node sourceNode, org.w3c.dom.Node paramNode, org.w3c.dom.Node paramNode2)
public XChange(int opType, org.w3c.dom.Node baseNode, org.w3c.dom.Node sourceNode, org.w3c.dom.Node paramNode, int index)
Method Detail |
public int getType()
public java.lang.String getSourceXPath()
public java.lang.String getParamXPath()
public org.w3c.dom.Node getParamNode2()
public int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |