| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnu.staldal.xmltree.Node
nu.staldal.xmltree.ProcessingInstruction
public class ProcessingInstruction
An XML processing instruction. This class is immutable.
| Field Summary | 
|---|
| Fields inherited from class nu.staldal.xmltree.Node | 
|---|
| parent | 
| Constructor Summary | |
|---|---|
| ProcessingInstruction(java.lang.String target,
                      java.lang.String value)Constructs a processing instruction. | |
| Method Summary | |
|---|---|
|  java.lang.String | getTarget()Get the target. | 
|  java.lang.String | getValue()Get the value. | 
|  void | toSAX(org.xml.sax.ContentHandler sax)Serialize this node, and recursively the (sub)tree beneath, into SAX2 events. | 
| Methods inherited from class nu.staldal.xmltree.Node | 
|---|
| getBaseURI, getColumnNumber, getInheritedAttribute, getLineNumber, getParent, getPreserveSpace, getPublicId, getSystemId, isWhitespaceNode, lookupNamespacePrefix, lookupNamespaceURI, setColumn, setLine, setPublicId, setSystemId | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ProcessingInstruction(java.lang.String target,
                             java.lang.String value)
target - the targetvalue - the value| Method Detail | 
|---|
public java.lang.String getTarget()
public java.lang.String getValue()
public void toSAX(org.xml.sax.ContentHandler sax)
           throws org.xml.sax.SAXException
Node
toSAX in class Nodesax - the SAX2 ContentHander to fire events on.
org.xml.sax.SAXException - if any of the ContentHandler methods throw it| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||