public class JBossXSNamespaceItemList extends Object implements XSNamespaceItemList
Constructor and Description |
---|
JBossXSNamespaceItemList() |
JBossXSNamespaceItemList(Collection col) |
JBossXSNamespaceItemList(List list) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(XSNamespaceItem item) |
int |
getLength()
The number of
XSNamespaceItem s in the list. |
XSNamespaceItem |
item(int index)
Returns the
index th item in the collection or
null if index is greater than or equal to
the number of objects in the list. |
protected List xsnsList
public JBossXSNamespaceItemList()
public JBossXSNamespaceItemList(List list)
public JBossXSNamespaceItemList(Collection col)
public int getLength()
XSNamespaceItem
s in the list. The range of
valid child object indices is 0 to length-1
inclusive.getLength
in interface XSNamespaceItemList
public XSNamespaceItem item(int index)
index
th item in the collection or
null
if index
is greater than or equal to
the number of objects in the list. The index starts at 0.item
in interface XSNamespaceItemList
index
- index into the collection.XSNamespaceItem
at the index
th
position in the XSNamespaceItemList
, or
null
if the index specified is not valid.public void addItem(XSNamespaceItem item)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.