|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.xml.diff.DiffOp
oracle.xml.diff.DeleteDiffOp
public class DeleteDiffOp
DeleteDiffOp. Models a delete node diff operation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.xml.diff.DiffOp |
|---|
DiffOp.Name |
| Method Summary | |
|---|---|
Node |
getCurrent()Returns the node to be deleted, for a delete DiffOp. |
java.lang.String |
getCurrentXPath()Returns the XPath to the node to be deleted, for a delete DiffOp. |
Node |
getNew()Returns the node to be inserted or appended, for an insert or append DiffOp. |
DiffOp.Name |
getOpName()Returns the name of the diff operation, one of: append-node, insert-before-node, or delete-node. |
Node |
getParent()Returns the parent node, for an append DiffOp. |
java.lang.String |
getParentXPath()Returns the parent node XPath, for an append DiffOp. |
Node |
getSibling()Returns the node to be inserted before, for an insert DiffOp |
java.lang.String |
getSiblingXPath()Returns the XPath to the node to be inserted before, for an insert DiffOp. |
| Methods inherited from class oracle.xml.diff.DiffOp |
|---|
compareTo, getPrefixToNamespace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public DiffOp.Name getOpName()
DiffOpgetOpName in class DiffOpName containing the name of the diff operation, one of: Name.INSERT_BY_APPENDING, Name.INSERT_BEFORE_NODE, Name.DELETE
public Node getCurrent()
throws java.lang.Exception
DiffOpDiffOp.getCurrent in class DiffOpNode to be deletedjava.lang.Exception
public Node getNew()
throws java.lang.Exception
DiffOpDiffOp.getNew in class DiffOpNode to be appended or insertedjava.lang.Exception
public Node getSibling()
throws java.lang.Exception
DiffOpDiffOpgetSibling in class DiffOpNode to be inserted beforejava.lang.Exception
public Node getParent()
throws java.lang.Exception
DiffOpDiffOp.getParent in class DiffOpNode that the new child will be appended tojava.lang.Exception
public java.lang.String getParentXPath()
throws java.lang.Exception
DiffOpDiffOp. Whether or not the XPath info is available is controlled by Options. The includeXPaths(...) methods of Options control the current setting of this option, and allow setting it to a new value. Including XPath info adds to the memory use and the computational cost. For maxiumum performance, this option should be turned off.getParentXPath in class DiffOpString representing the XPath to the parent node, null if it is not availablejava.lang.Exception
public java.lang.String getSiblingXPath()
throws java.lang.Exception
DiffOpDiffOp. Whether or not the XPath info is available is controlled by Options. The includeXPaths(...) methods of Options control the current setting of this option, and allow setting it to a new value. Including XPath info adds to the memory use and computational cost. For maxiumum performance, this option should be turned off.getSiblingXPath in class DiffOpString representing the XPath to the node to be inserted before, null if it is not availablejava.lang.Exception
public java.lang.String getCurrentXPath()
throws java.lang.Exception
DiffOpDiffOp. Whether or not the XPath info is available is controlled by Options. The includeXPaths(...) methods of Options control the current setting of this option, and allow setting it to a new value. Including XPath info adds to the memory use and computational cost. For maxiumum performance, this option should be turned off.getCurrentXPath in class DiffOpString representing the XPath to the node to be deleted, null if it's not availablejava.lang.Exception
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.