XFA4J

com.adobe.xfa
Class ProcessingInstruction

java.lang.Object
  extended by com.adobe.xfa.Obj
      extended by com.adobe.xfa.Node
          extended by 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 ?>.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.adobe.xfa.Node
Node.ChangeLogger
 
Field Summary
 
Fields inherited from class com.adobe.xfa.Node
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE
 
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
 

Constructor Detail

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.
Method Detail

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.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.