public class ChildInfoImpl extends java.lang.Object implements ChildInfo, java.io.Serializable
ChildInfoImpl implements a serializable ChildInfo.| Constructor and Description |
|---|
ChildInfoImpl(Name name,
java.lang.String uniqueId,
int index)
Creates a new serializable
ChildInfoImpl. |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Returns the index of the child
Node. |
Name |
getName()
Returns the name of the child
Node. |
java.lang.String |
getUniqueID()
Returns the uniqueID of the child
Node or null
if the Node is not identified by a uniqueID. |
public ChildInfoImpl(Name name, java.lang.String uniqueId, int index)
ChildInfoImpl.name - the name of the child node.uniqueId - the unique id of the child node or null.index - the index of the child node.public Name getName()
Node.public java.lang.String getUniqueID()
Node or null
if the Node is not identified by a uniqueID.getUniqueID in interface ChildInfoNode or null.ItemId for a description of the uniqueID defined by the SPI
item identifiers.public int getIndex()
Node. Note, that the index
is 1-based. In other words: the Node represented
by this ChildInfo has same name siblings this method will
always return the default value (1).Copyright © 2010 - 2023 Adobe. All Rights Reserved