|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.util.dom.DOMBase | +--com.beasys.commerce.util.dom.NodeImpl | +--com.beasys.commerce.util.dom.ProcessingInstructionImpl
An implementation of the W3C's DOM ProcessingInstruction object.
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
ProcessingInstructionImpl(org.w3c.dom.Document doc,
org.w3c.dom.Node parent,
java.lang.String target,
java.lang.String data)
Constructor. |
Method Summary | |
org.w3c.dom.Node |
cloneNode()
Clone this node. |
java.lang.String |
getData()
Get the data. |
java.lang.String |
getNodeName()
Get the node name. |
short |
getNodeType()
Return Node.PROCESSING_INSTRUCTION_NODE. |
java.lang.String |
getNodeValue()
Get the node value. |
java.lang.String |
getTarget()
Get the target. |
void |
setData(java.lang.String data)
Set the data. |
void |
setNodeValue(java.lang.String value)
Set the node value. |
void |
setTarget(java.lang.String target)
Set the target. |
Methods inherited from class com.beasys.commerce.util.dom.NodeImpl |
allowsChildren, appendChild, appendChildren, checkAllowChild, cloneNode, getAllowableChildrenTypes, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeType, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, insertChildrenBefore, isAncestor, removeChild, replaceChild, setParentNode |
Methods inherited from class com.beasys.commerce.util.dom.DOMBase |
checkOwnerDocument, checkReadOnly, getOwnerDocument, isReadOnly, setReadOnly |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, removeChild, replaceChild |
Constructor Detail |
public ProcessingInstructionImpl(org.w3c.dom.Document doc, org.w3c.dom.Node parent, java.lang.String target, java.lang.String data)
doc
- the document.parent
- the parent node of this.target
- the target of the processing instruction.data
- the content of the processing instruction.Method Detail |
public org.w3c.dom.Node cloneNode()
cloneNode
in class NodeImpl
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class NodeImpl
public java.lang.String getNodeName()
For ProcessingInstructions, the node name is the target.
getNodeName
in interface org.w3c.dom.Node
getNodeName
in class NodeImpl
getTarget()
public java.lang.String getNodeValue()
For ProcessingInstructions, the node value is the data.
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl
getData()
public void setNodeValue(java.lang.String value)
For ProcessingInstructions, the node value is the data.
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class NodeImpl
setData(java.lang.String)
public java.lang.String getTarget()
getTarget
in interface org.w3c.dom.ProcessingInstruction
public void setTarget(java.lang.String target)
public java.lang.String getData()
getData
in interface org.w3c.dom.ProcessingInstruction
public void setData(java.lang.String data) throws org.w3c.dom.DOMException
setData
in interface org.w3c.dom.ProcessingInstruction
data
- the new data.org.w3c.dom.DOMException
- thrown if the PI is read-only.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |