| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomProcessingInstruction
public class DomProcessingInstruction
Wrapper for the DOM node ProcessingInstruction.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.DomNode | 
|---|
| DomNode.ChildIterator, DomNode.DescendantElementsIterator<T extends DomNode> | 
| Field Summary | 
|---|
| Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode | 
|---|
| AS_TEXT_BLANK, AS_TEXT_BLOCK_SEPARATOR, AS_TEXT_NEW_LINE, AS_TEXT_TAB, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED | 
| Constructor Summary | |
|---|---|
| DomProcessingInstruction(SgmlPage page,
                         String target,
                         String data)Creates a new instance. | |
| Method Summary | |
|---|---|
|  String | getData() | 
|  String | getNodeName()Returns this node's node name. | 
|  short | getNodeType()Returns this node's node type. | 
|  String | getNodeValue() | 
|  String | getTarget() | 
| protected  void | printXml(String indent,
         PrintWriter printWriter)Recursively writes the XML data for the node tree starting at node. | 
|  void | setData(String data) | 
|  void | setNodeValue(String value) | 
|  void | setTextContent(String textContent) | 
| 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, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setUserData | 
| Constructor Detail | 
|---|
public DomProcessingInstruction(SgmlPage page,
                                String target,
                                String data)
page - the Page that contains this elementtarget - the targetdata - the data| Method Detail | 
|---|
public short getNodeType()
getNodeType in interface NodegetNodeType in class DomNodeNode.PROCESSING_INSTRUCTION_NODEpublic String getNodeName()
getNodeName in interface NodegetNodeName in class DomNodepublic String getTarget()
getTarget in interface ProcessingInstructionpublic String getData()
getData in interface ProcessingInstruction
public void setData(String data)
             throws DOMException
setData in interface ProcessingInstructionDOMExceptionpublic void setNodeValue(String value)
setNodeValue in interface NodesetNodeValue in class DomNodepublic String getNodeValue()
getNodeValue in interface NodegetNodeValue in class DomNodepublic void setTextContent(String textContent)
setTextContent in interface NodesetTextContent in class DomNode
protected void printXml(String indent,
                        PrintWriter printWriter)
node.
printXml in class DomNodeindent - white space to indent child nodesprintWriter - writer where child nodes are written| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||