Package com.adobe.xfa
Class ProcessingInstruction
java.lang.Object
com.adobe.xfa.Obj
com.adobe.xfa.Node
com.adobe.xfa.ProcessingInstruction
- All Implemented Interfaces:
Peer
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, gsXFANamespacePrefixFields inherited from interface com.adobe.xfa.ut.Peer
ATTR_CHANGED, CHILD_ADDED, CHILD_REMOVED, DESCENDENT_ADDED, DESCENDENT_ATTR_CHANGED, DESCENDENT_REMOVED, DESCENDENT_VALUE_CHANGED, PARENT_CHANGED, PERMS_LOCK_CLEARED, PERMS_LOCK_SET, PROTO_ATTR_CHANGED, PROTO_CHILD_ADDED, PROTO_CHILD_REMOVED, PROTO_DESCENDENT_ADDED, PROTO_DESCENDENT_ATTR_CHANGED, PROTO_DESCENDENT_REMOVED, PROTO_DESCENDENT_VALUE_CHANGED, PROTO_VALUE_CHANGED, UPDATED, VALUE_CHANGED -
Constructor Summary
ConstructorsConstructorDescriptionProcessingInstruction(Document doc, String name, String data) ProcessingInstruction(Element parent, Node prevSibling, String name, String data) Instantiates a processing instruction with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the atomic name of this element's class.Gets the name of this object's class.getData()Gets this node's data.getName()Gets this node's name.booleanisLeaf()Is this node is a leaf.voidpostSave()voidpreSave(boolean bSaveXMLScript) voidserialize(OutputStream outStream, DOMSaveOptions options, int level, Node prevSibling) The helper function used by saveXML()voidvoidsetScriptProperty(String sPropertyName, Arg propertyValue) Methods inherited from class com.adobe.xfa.Node
assignNode, checkAncestorPerms, checkDescendentPerms, checkPerms, cleanDirtyFlags, compareVersions, getAll, getFirstXFAChild, getFirstXMLChild, getFirstXMLChildElement, getIndex, getLastXMLChild, getLocked, getModel, getNextXFASibling, getNextXMLSibling, getNextXMLSiblingElement, getNodeAsXML, getNodes, getOwnerDocument, getPIAsXML, getPIName, getPreviousXMLSibling, getPrivateName, getProperty, getProperty, getPropName, getScriptTable, getSibling, getSOMExpression, getSOMExpression, getSomName, getUniqueSOMName, getWillDirty, getXFAChildCount, getXFAParent, getXfaPeer, getXMLChildCount, getXMLParent, hasChanged, isContainer, isDefault, isDirty, isMapped, isPermsLockSet, isPropertySpecified, isSpecified, isTransient, isTransient, isTransparent, locateChildByClass, locateChildByName, logValueChangeHelper, makeDefault, makeNonDefault, notifyPeers, peekOneOfChild, performSOMAssignment, remove, resolveNode, resolveNode, resolveNode, resolveNodes, resolveNodes, sendMessenge, setDirty, setDocument, setLocked, setMapped, setName, setPermsLock, setPrivateName, setWillDirty, setXfaPeer, unLock, validateSchema, validateUsage, validateUsageFailedIsFatalMethods inherited from class com.adobe.xfa.Obj
addPeer, addPeeredNode, clearPeers, deafen, getClassTag, getPeer, getScriptMethodInfo, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, peerRemoved, removePeer, removePeeredNode, setClass, setClassTag, setScriptProperty, unDeafen, unMute, updateFromPeer
-
Constructor Details
-
ProcessingInstruction
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.
-
ProcessingInstruction
-
-
Method Details
-
clone
-
getClassAtom
Description copied from class:ObjReturns the atomic name of this element's class.- Overrides:
getClassAtomin classObj- Returns:
- the class name as an interned string.
-
getClassName
Description copied from class:ObjGets the name of this object's class. Overriden by derived classes such as Element that have a local name that may be returned instead.- Overrides:
getClassNamein classObj- Returns:
- the class name.
-
getData
Description copied from class:NodeGets this node's data. -
getName
Gets this node's name. -
isLeaf
public boolean isLeaf()Description copied from class:NodeIs this node is a leaf. -
postSave
public void postSave() -
preSave
public void preSave(boolean bSaveXMLScript) -
serialize
public void serialize(OutputStream outStream, DOMSaveOptions options, int level, Node prevSibling) throws IOException Description copied from class:NodeThe helper function used by saveXML()- Specified by:
serializein classNode- Parameters:
outStream- Streamfile to write tooptions- save optionslevel- the indent levelprevSibling- our previous sibling -- needed for some markup options.- Throws:
IOException
-
setData
-
setScriptProperty
-