|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xml_project.morganaxdm.XdmSequence com.xml_project.morganaxdm.XdmItem com.xml_project.morganaxdm.Map
public class Map
A map as defined in XDM 3.1
Field Summary | |
---|---|
static Map |
EmptyMap
|
Constructor Summary | |
---|---|
|
Map(java.util.List<XS_AnyAtomicType> keys,
java.util.List<XdmSequence> values,
DynamicXQueryContext context)
|
protected |
Map(Map map)
|
|
Map(Map map,
XS_AnyAtomicType key,
XdmSequence value)
|
|
Map(XdmSequence mapsToMerge,
com.xml_project.morganaxpath.functions.xpath.map.MAP_merge.MergeStrategy strategy)
|
|
Map(XS_AnyAtomicType[] keys,
XdmSequence[] values)
|
|
Map(XS_AnyAtomicType key,
XdmSequence value)
|
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)
|
java.lang.String |
getStringValue()
Returns the string value. |
java.lang.Object |
getValue()
Returns the value itself. |
static boolean |
isKeyEqual(XS_AnyAtomicType one,
XS_AnyAtomicType two)
|
boolean |
isValue()
Flags, this item is a value as opposed to a node |
XdmSequence |
keys()
|
long |
length()
|
XdmSequence |
put(XS_AnyAtomicType key,
XdmSequence value)
|
XdmSequence |
remove(XS_AnyAtomicType key)
|
long |
size()
Returns the number of elements in this sequence. |
java.lang.String |
toString()
|
XdmSequence |
values()
|
Methods inherited from class com.xml_project.morganaxdm.XdmItem |
---|
first, get, hasValues, isEmpty, iterator, subSequence |
Methods inherited from class com.xml_project.morganaxdm.XdmSequence |
---|
concat, hasCommonType, normalize, serialize, serialize, serialize, wrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Map EmptyMap
Constructor Detail |
---|
protected Map(Map map)
public Map(XS_AnyAtomicType key, XdmSequence value)
public Map(XS_AnyAtomicType[] keys, XdmSequence[] values)
public Map(Map map, XS_AnyAtomicType key, XdmSequence value)
public Map(XdmSequence mapsToMerge, com.xml_project.morganaxpath.functions.xpath.map.MAP_merge.MergeStrategy strategy) throws XPathException
XPathException
public Map(java.util.List<XS_AnyAtomicType> keys, java.util.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 java.lang.String getStringValue()
XdmItem
getStringValue
in class XdmItem
public java.lang.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 long length()
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 java.lang.String toString()
toString
in class java.lang.Object
public static boolean isKeyEqual(XS_AnyAtomicType one, XS_AnyAtomicType two)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |