com.adobe.xfa
Class ProcessingInstruction
java.lang.Object
com.adobe.xfa.Obj
com.adobe.xfa.Node
com.adobe.xfa.ProcessingInstruction
public final class ProcessingInstruction
- extends Node
A class to represent the XML processing instruction nodes in the DOM.
A processing instruction's name is
the target name that follows the <?.
A processing instruction's data is all of the characters
following the target name and space and ending ?>.
|
Constructor Summary |
ProcessingInstruction(Element parent,
Node prevSibling,
java.lang.String name,
java.lang.String data)
Instantiates a processing instruction with the given parameters. |
|
Method Summary |
java.lang.String |
getData()
Gets this node's data. |
java.lang.String |
getName()
Gets this node's name. |
| Methods inherited from class com.adobe.xfa.Node |
assignNode, checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getDynamicScriptProp, getFirstXFAChild, getFirstXMLChild, getLastXMLChild, getModel, getNextXFASibling, getNextXMLSibling, getOwnerDocument, getPreviousXMLSibling, getSOMExpression, getXFAChildCount, getXFAParent, getXMLChildCount, getXMLParent, hasChanged, remove, resolveNode, resolveNode, resolveNodes, setNextXMLSibling, setPermsLock, setXMLParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessingInstruction
public ProcessingInstruction(Element parent,
Node prevSibling,
java.lang.String name,
java.lang.String data)
- Instantiates a processing instruction with the given parameters.
- Parameters:
parent - the node's parent, if any.prevSibling - the node's previous sibling, if any.name - the node's name.data - the node's data.
getData
public java.lang.String getData()
- Description copied from class:
Node
- Gets this node's data.
- Overrides:
getData in class Node
- Returns:
- the data appropriate for the various node types.
- See Also:
Node.getData()
getName
public java.lang.String getName()
- Gets this node's name.
- Specified by:
getName in class Node
- Returns:
- the processing instruction name.
© 2005 Adobe Systems Incorporated. All Rights Reserved.