Modifier and Type | Field and Description |
---|---|
protected List<org.apache.xerces.xs.XSObject> |
list |
Constructor and Description |
---|
JBossXSNamedMap() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(org.apache.xerces.xs.XSObject obj) |
void |
addItems(Collection col) |
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set |
entrySet() |
Object |
get(Object o) |
int |
getLength()
The number of
XSObjects in the XSObjectList . |
boolean |
isEmpty() |
org.apache.xerces.xs.XSObject |
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. |
org.apache.xerces.xs.XSObject |
itemByName(String namespace,
String localName)
Retrieves an
XSObject specified by local name and
namespace URI. |
Set |
keySet() |
Object |
put(Object o,
Object o1) |
void |
putAll(Map map) |
Object |
remove(Object o) |
int |
size() |
List<org.apache.xerces.xs.XSObject> |
toList() |
Collection |
values() |
protected List<org.apache.xerces.xs.XSObject> list
public int getLength()
XSObjects
in the XSObjectList
.
The range of valid child object indices is 0 to length-1
inclusive.getLength
in interface org.apache.xerces.xs.XSNamedMap
public org.apache.xerces.xs.XSObject 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 org.apache.xerces.xs.XSNamedMap
index
- index into the collection.XSObject
at the index
th
position in the XSObjectList
, or null
if
the index specified is not valid.public org.apache.xerces.xs.XSObject itemByName(String namespace, String localName)
XSObject
specified by local name and
namespace URI.
null
as the
namespace
parameter for methods if they wish to specify
no namespace.itemByName
in interface org.apache.xerces.xs.XSNamedMap
namespace
- The namespace URI of the XSObject
to
retrieve, or null
if the XSObject
has no
namespace.localName
- The local name of the XSObject
to
retrieve.XSObject
(of any type) with the specified local
name and namespace URI, or null
if they do not
identify any object in this map.public void addItem(org.apache.xerces.xs.XSObject obj)
public void addItems(Collection col)
public List<org.apache.xerces.xs.XSObject> toList()
public boolean containsKey(Object o)
containsKey
in interface Map
public boolean containsValue(Object o)
containsValue
in interface Map
public Collection values()
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.