dk.brics.xact
Class ProcessingInstruction

java.lang.Object
  extended by dk.brics.xact.Node
      extended by dk.brics.xact.XML
          extended by dk.brics.xact.TempNode
              extended by dk.brics.xact.ProcessingInstruction
All Implemented Interfaces:
ToXMLable

public class ProcessingInstruction
extends TempNode

Processing instruction node.


Constructor Summary
ProcessingInstruction(String target, String data)
          Constructs a new processing instruction node.
ProcessingInstruction(String target, String data, Origin origin)
          Constructs a new processing instruction node.
ProcessingInstruction(String target, String data, XML nextsibling, Origin origin)
          Constructs a new processing instruction node.
 
Method Summary
 ProcessingInstruction copy(XML nextsibling)
          Returns a copy of this node with the given next sibling.
 String getData()
          Returns the data.
 String getTarget()
          Returns the target.
 String toString()
          Returns a description of this node.
 
Methods inherited from class dk.brics.xact.TempNode
getNextSibling
 
Methods inherited from class dk.brics.xact.XML
analyze, append, appendContent, appendContent, byteLength, close, concat, concat, gapify, gapify, get, getAttribute, getAttribute, getElement, getElementByID, getElements, getFirstElement, getNamespaceMap, getNumber, getNumber, getString, getString, getStrings, getThreadNamespaceMap, has, insertAfter, insertBefore, loadXMLSchema, loadXMLSchema, parseDocument, parseDocument, parseDocument, parseDocument, parseTemplate, parseTemplate, parseTemplate, parseTemplate, parseTemplateResource, parseTemplateResource, plug, plugList, plugWrap, prepend, prependContent, prependContent, remove, set, set, set, set, setContent, setContent, toDocument, toDocument, toDocument, toDocument, toTemplate, toTemplate, toTemplate, toXML, toXML, validate, visitBy, visitBy
 
Methods inherited from class dk.brics.xact.Node
asAttribute, asComment, asElement, asNamespaceDecl, asProcessingInstruction, asText, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingInstruction

public ProcessingInstruction(String target,
                             String data)
Constructs a new processing instruction node.


ProcessingInstruction

public ProcessingInstruction(String target,
                             String data,
                             Origin origin)
Constructs a new processing instruction node.


ProcessingInstruction

public ProcessingInstruction(String target,
                             String data,
                             XML nextsibling,
                             Origin origin)
Constructs a new processing instruction node.

Method Detail

copy

public ProcessingInstruction copy(XML nextsibling)
Description copied from class: TempNode
Returns a copy of this node with the given next sibling.

Specified by:
copy in class TempNode

getData

public String getData()
Returns the data.


getTarget

public String getTarget()
Returns the target.


toString

public String toString()
Description copied from class: Node
Returns a description of this node.

Specified by:
toString in class Node


Copyright © 2005-2011 Aarhus University.