Package com.adobe.xfa
Class NodeList
java.lang.Object
com.adobe.xfa.Obj
com.adobe.xfa.ListBase
com.adobe.xfa.NodeList
- All Implemented Interfaces:
Peer
- Direct Known Subclasses:
ArrayNodeList,ElementNodeList
A superclass to represent a list of nodes.
-
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Objectclone()Creates a copy of this node list.abstract NodegetNamedItem(String name) Gets the first child of this node list with the given name.abstract NodegetNamedItem(String aName, String aClassName, int nOccurrence) Get the first child of this node with the givennameMethods inherited from class com.adobe.xfa.ListBase
append, getClassAtom, getClassName, insert, isReadOnly, isReadOnly, item, length, removeMethods inherited from class com.adobe.xfa.Obj
addPeer, addPeeredNode, clearPeers, deafen, getClassTag, getPeer, getScriptMethodInfo, getScriptProperty, getScriptThis, invokeFunction, isDeaf, isMute, isSameClass, isSameClass, isSameClass, mute, notifyPeers, peerRemoved, removePeer, removePeeredNode, sendMessenge, setClass, setClassTag, setScriptProperty, unDeafen, unMute, updateFromPeer, validateUsage, validateUsageFailedIsFatal
-
Constructor Details
-
NodeList
public NodeList()Instantiates a node list.
-
-
Method Details
-
clone
Creates a copy of this node list.This method does not make copies of the underlying object implementations, it just place them in a new storage.
- Returns:
- a new node list.
-
getNamedItem
Gets the first child of this node list with the given name.- Parameters:
name- the name of the child node.- Returns:
- the first child of this node with the given name.
-
getNamedItem
Get the first child of this node with the givenname- Parameters:
aName- the name of the node to search for.aClassName- the class of node to search for, ignored if null. If non-null, this String must be interned.nOccurrence- the occurrence to search for.- Returns:
- the first child of this node with the given
nameand classname.
-
getScriptTable
- Overrides:
getScriptTablein classListBase
-