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
public abstract class NodeList extends ListBase
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 Constructor Description NodeList()
Instantiates a node list.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Object
clone()
Creates a copy of this node list.abstract Node
getNamedItem(java.lang.String name)
Gets the first child of this node list with the given name.abstract Node
getNamedItem(java.lang.String aName, java.lang.String aClassName, int nOccurrence)
Get the first child of this node with the givenname
ScriptTable
getScriptTable()
-
Methods inherited from class com.adobe.xfa.ListBase
append, getClassAtom, getClassName, insert, isReadOnly, isReadOnly, item, length, remove
-
Methods 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
-
-
-
-
Method Detail
-
clone
public abstract java.lang.Object 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
public abstract Node getNamedItem(java.lang.String name)
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
public abstract Node getNamedItem(java.lang.String aName, java.lang.String aClassName, int nOccurrence)
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
name
and classname.
-
getScriptTable
public ScriptTable getScriptTable()
- Overrides:
getScriptTable
in classListBase
-
-