public class PatchableDocument extends DocumentEx
Constructor and Description |
---|
PatchableDocument() |
PatchableDocument(org.w3c.dom.Document doc) |
PatchableDocument(org.xml.sax.InputSource source) |
PatchableDocument(java.io.InputStream stream) |
PatchableDocument(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPatchAction(org.w3c.dom.Node action)
Check if a patch action is applicable on this document.
|
void |
dispose() |
org.w3c.dom.Node |
find(ID id)
Search the node for the given id and return it.
|
void |
performPatchAction(org.w3c.dom.Node action) |
void |
performPatchUpdate(org.w3c.dom.Node update,
org.w3c.dom.Node root) |
create, createDoc, createIDNode, createNode, createNsNode, getDoc, getRootNode, isValid, load, load, save, save, save, setRootNode, toString
public PatchableDocument()
public PatchableDocument(org.w3c.dom.Document doc)
public PatchableDocument(java.io.InputStream stream) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public PatchableDocument(org.xml.sax.InputSource source) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public PatchableDocument(java.lang.String s) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException, java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public org.w3c.dom.Node find(ID id)
DocumentEx
find
in class DocumentEx
id
- the id to search for.public void dispose()
public void performPatchAction(org.w3c.dom.Node action)
public boolean checkPatchAction(org.w3c.dom.Node action)
action
- The Patch action.public void performPatchUpdate(org.w3c.dom.Node update, org.w3c.dom.Node root)