org.apache.batik.dom
Class ProcessingInstructionWrapper

java.lang.Object
  |
  +--org.apache.batik.dom.NodeWrapper
        |
        +--org.apache.batik.dom.ProcessingInstructionWrapper
All Implemented Interfaces:
EventTarget, Node, ProcessingInstruction

public class ProcessingInstructionWrapper
extends NodeWrapper
implements ProcessingInstruction

This class implements a wrapper for a ProcessingInstruction. All the methods of the underlying document are called in a single thread.


Fields inherited from class org.apache.batik.dom.NodeWrapper
bubblingListeners, capturingListeners, documentWrapper, node
 
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
ProcessingInstructionWrapper(DocumentWrapper dw, ProcessingInstruction pi)
          Creates a new ProcessingInstructionWrapper object.
 
Method Summary
 java.lang.String getData()
          DOM: Implements ProcessingInstruction.getData().
 java.lang.String getTarget()
          DOM: Implements ProcessingInstruction.getTarget().
 void setData(java.lang.String data)
          DOM: Implements ProcessingInstruction.setData(String).
 
Methods inherited from class org.apache.batik.dom.NodeWrapper
addEventListener, appendChild, cloneNode, createAttrWrapper, createElementWrapper, createNamedNodeMapWrapper, createNodeListWrapper, createNodeWrapper, createTextWrapper, dispatchEvent, finalize, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, invokeAndWait, invokeLater, isSupported, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, 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, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Constructor Detail

ProcessingInstructionWrapper

public ProcessingInstructionWrapper(DocumentWrapper dw,
                                    ProcessingInstruction pi)
Creates a new ProcessingInstructionWrapper object.
Method Detail

getData

public java.lang.String getData()
DOM: Implements ProcessingInstruction.getData().
Specified by:
getData in interface ProcessingInstruction
Following copied from interface: org.w3c.dom.ProcessingInstruction
Throws:
DOMException - NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

setData

public void setData(java.lang.String data)
             throws DOMException
DOM: Implements ProcessingInstruction.setData(String).
Specified by:
setData in interface ProcessingInstruction

getTarget

public java.lang.String getTarget()
DOM: Implements ProcessingInstruction.getTarget().
Specified by:
getTarget in interface ProcessingInstruction


Copyright © 2001 Apache Software Foundation. All Rights Reserved.