com.ibm.xml.policy.xacl
Class DOMHandler
java.lang.Object
|
+--com.ibm.xml.policy.xacl.DOMHandler
- public class DOMHandler
- extends java.lang.Object
This is a utility class for XML documents.
- Author:
- Satoshi Hada, IBM TRL
|
Method Summary |
void |
create(org.w3c.dom.Node node,
org.w3c.dom.Node[] parameter)
This method performs the "create" action defined in the XACL specification. |
void |
delete(org.w3c.dom.Node node)
This method performs the "delete" action defined in the XACL specification. |
org.w3c.dom.Document |
getDocument()
Get the document you are handling. |
void |
write(org.w3c.dom.Node node,
java.lang.String parameter)
This method performs the "write" action defined in the XACL specification. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMHandler
public DOMHandler()
getDocument
public org.w3c.dom.Document getDocument()
- Get the document you are handling.
- Returns:
- the XML document you are handling
write
public void write(org.w3c.dom.Node node,
java.lang.String parameter)
- This method performs the "write" action defined in the XACL specification.
- Parameters:
node - a target nodeparameter - a string you want to write.
delete
public void delete(org.w3c.dom.Node node)
throws XaclException
- This method performs the "delete" action defined in the XACL specification.
- Parameters:
node - a target node
create
public void create(org.w3c.dom.Node node,
org.w3c.dom.Node[] parameter)
- This method performs the "create" action defined in the XACL specification.
- Parameters:
node - a target nodeparameter - an array of nodes you want to create under the target node.