|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xindice.xml.dom.NodeImpl
org.apache.xindice.xml.dom.ProcessingInstructionImpl
public final class ProcessingInstructionImpl
ProcessingInstructionImpl
Field Summary |
---|
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
---|---|
ProcessingInstructionImpl()
|
|
ProcessingInstructionImpl(NodeImpl parentNode,
boolean dirty)
|
|
ProcessingInstructionImpl(NodeImpl parentNode,
byte[] data,
int pos,
int len)
|
|
ProcessingInstructionImpl(NodeImpl parentNode,
String nodeName,
String nodeValue)
|
Method Summary | |
---|---|
protected void |
checkLoaded()
|
String |
getData()
The content of this processing instruction. |
short |
getNodeType()
A code representing the type of the underlying object, as defined above. |
String |
getTarget()
The target of this processing instruction. |
void |
setData(String data)
|
void |
setNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData |
Constructor Detail |
---|
public ProcessingInstructionImpl()
public ProcessingInstructionImpl(NodeImpl parentNode, byte[] data, int pos, int len)
public ProcessingInstructionImpl(NodeImpl parentNode, boolean dirty)
public ProcessingInstructionImpl(NodeImpl parentNode, String nodeName, String nodeValue)
Method Detail |
---|
protected void checkLoaded()
checkLoaded
in class NodeImpl
public short getNodeType()
NodeImpl
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class NodeImpl
public void setNodeValue(String nodeValue) throws org.w3c.dom.DOMException
NodeImpl
null
, setting it has no effect.
setNodeValue
in interface org.w3c.dom.Node
setNodeValue
in class NodeImpl
org.w3c.dom.DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.public String getTarget()
getTarget
in interface org.w3c.dom.ProcessingInstruction
public String getData()
?>
.
getData
in interface org.w3c.dom.ProcessingInstruction
org.w3c.dom.DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.public void setData(String data) throws org.w3c.dom.DOMException
setData
in interface org.w3c.dom.ProcessingInstruction
org.w3c.dom.DOMException
|
Xindice API version 1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |