|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxproc.xdm.XdmSequence com.xml_project.morganaxproc.xdm.XdmItem com.xml_project.morganaxproc.xdm.Map
public class Map
A map as defined in XDM 3.1 (Not usable yet)
Constructor Summary | |
---|---|
Map(List<XS_AnyAtomicType> keys,
List<XdmSequence> values,
DynamicXQueryContext context)
|
|
Map(XdmSequence mapsToMerge,
DynamicXQueryContext context)
|
Method Summary | |
---|---|
AtomizingIterator |
atomize()
Returns an AtomizingIterator which gives access to the atomized value of the elements in this sequence. |
boolean |
contains(XS_AnyAtomicType key)
|
XdmSequence |
get(XS_AnyAtomicType key)
|
String |
getStringValue()
Returns the string value. |
Object |
getValue()
Returns the value itself. |
boolean |
isValue()
Flags, this item is a value as opposed to a node |
XdmSequence |
keys()
|
XdmSequence |
put(XS_AnyAtomicType key,
XdmSequence value)
|
XdmSequence |
remove(XS_AnyAtomicType key)
|
long |
size()
Returns the number of elements in this sequence. |
String |
toString()
|
XdmSequence |
values()
|
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmItem |
---|
first, get, hasValues, isEmpty, iterator, subSequence |
Methods inherited from class com.xml_project.morganaxproc.xdm.XdmSequence |
---|
concat, hasCommonType, normalize, serialize, wrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Map(XdmSequence mapsToMerge, DynamicXQueryContext context) throws XPathException
XPathException
public Map(List<XS_AnyAtomicType> keys, List<XdmSequence> values, DynamicXQueryContext context) throws XPathException
XPathException
Method Detail |
---|
public AtomizingIterator atomize() throws XPathException
XdmSequence
atomize
in class XdmItem
XPathException
- thrown, if the sequence contains elements which cannot be atomized.public boolean isValue()
XdmItem
isValue
in class XdmItem
public String getStringValue()
XdmItem
getStringValue
in class XdmItem
public Object getValue()
XdmItem
getValue
in class XdmItem
public XdmSequence keys() throws XPathException
XPathException
public XdmSequence values() throws XPathException
XPathException
public long size()
XdmSequence
size
in class XdmItem
public boolean contains(XS_AnyAtomicType key)
public XdmSequence get(XS_AnyAtomicType key)
public XdmSequence put(XS_AnyAtomicType key, XdmSequence value) throws XPathException
XPathException
public XdmSequence remove(XS_AnyAtomicType key) throws XPathException
XPathException
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |