org.w3c.tidy
Class DOMProcessingInstructionImpl

java.lang.Object
  extended by org.w3c.tidy.DOMNodeImpl
      extended by org.w3c.tidy.DOMProcessingInstructionImpl
All Implemented Interfaces:
org.w3c.dom.Node, org.w3c.dom.ProcessingInstruction

public class DOMProcessingInstructionImpl
extends DOMNodeImpl
implements org.w3c.dom.ProcessingInstruction

DOMProcessingInstructionImpl (c) 1998-2000 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 4 Aug 2000

Version:
1.7, 1999/12/06 Tidy Release 30 Nov 1999, 1.8, 2000/01/22 Tidy Release 13 Jan 2000, 1.9, 2000/06/03 Tidy Release 30 Apr 2000, 1.10, 2000/07/22 Tidy Release 8 Jul 2000, 1.11, 2000/08/16 Tidy Release 4 Aug 2000
Author:
Dave Raggett , Andy Quick (translation to Java)

Field Summary
 
Fields inherited from class org.w3c.tidy.DOMNodeImpl
adaptee
 
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
protected DOMProcessingInstructionImpl(Node adaptee)
           
 
Method Summary
 java.lang.String getData()
          The content of this processing instruction.
 short getNodeType()
          A code representing the type of the underlying object, as defined above.
 java.lang.String getTarget()
          The target of this processing instruction.
 void setData(java.lang.String data)
           
 
Methods inherited from class org.w3c.tidy.DOMNodeImpl
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, supports
 
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, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

DOMProcessingInstructionImpl

protected DOMProcessingInstructionImpl(Node adaptee)
Method Detail

getNodeType

public short getNodeType()
Description copied from interface: org.w3c.dom.Node
A code representing the type of the underlying object, as defined above.

Specified by:
getNodeType in interface org.w3c.dom.Node
Overrides:
getNodeType in class DOMNodeImpl
See Also:
Node.getNodeType()

getTarget

public java.lang.String getTarget()
Description copied from interface: org.w3c.dom.ProcessingInstruction
The target of this processing instruction. XML defines this as being the first token following the markup that begins the processing instruction.

Specified by:
getTarget in interface org.w3c.dom.ProcessingInstruction
See Also:
ProcessingInstruction.getTarget()

getData

public java.lang.String getData()
Description copied from interface: org.w3c.dom.ProcessingInstruction
The content of this processing instruction. This is from the first non white space character after the target to the character immediately preceding the ?>.

Specified by:
getData in interface org.w3c.dom.ProcessingInstruction
See Also:
ProcessingInstruction.getData()

setData

public void setData(java.lang.String data)
             throws org.w3c.dom.DOMException
Specified by:
setData in interface org.w3c.dom.ProcessingInstruction
Throws:
org.w3c.dom.DOMException
See Also:
ProcessingInstruction.setData(java.lang.String)