|
|||||||||
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.Array
public class Array
An array as defined in XDM 3.1 (not usable yet)
Constructor Summary | |
---|---|
|
Array()
|
protected |
Array(Array array)
|
|
Array(XdmSequence content)
|
|
Array(XdmSequence[] content)
|
Method Summary | |
---|---|
AtomizingIterator |
atomize()
Returns an AtomizingIterator which gives access to the atomized value of the elements in this sequence. |
XdmSequence |
flatten()
|
static XdmSequence |
flatten(XdmSequence source)
|
XdmItem |
get(long nr)
Returns the n-th element of the sequence, counting by 1. |
XdmSequence |
get(XS_AnyAtomicType val)
|
XdmSequence |
getEntry(int pos)
|
java.lang.String |
getStringValue()
Returns the string value. |
java.lang.Object |
getValue()
Returns the value itself. |
static Array |
insertBefore(Array anArray,
int pos,
XdmSequence element)
|
boolean |
isValue()
Flags, this item is a value as opposed to a node |
static Array |
join(XdmSequence arrayList)
|
long |
length()
Returns the number of elements in this array |
Array |
remove(int pos)
|
Array |
reverse()
|
long |
size()
Returns the number of elements in this sequence. |
Array |
sort(com.xml_project.morganaxquery.configuration.Collation collation,
XS_dayTimeDuration timeZone)
|
Array |
subarray(int start,
int length)
|
java.lang.String |
toString()
|
XdmSequence |
values()
|
Methods inherited from class com.xml_project.morganaxdm.XdmItem |
---|
first, 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 |
Constructor Detail |
---|
protected Array(Array array)
public Array()
public Array(XdmSequence content) throws XPathException
XPathException
public Array(XdmSequence[] content)
Method Detail |
---|
public boolean isValue()
XdmItem
isValue
in class XdmItem
public AtomizingIterator atomize() throws XPathException
XdmSequence
atomize
in class XdmItem
XPathException
- thrown, if the sequence contains elements which cannot be atomized.public static XdmSequence flatten(XdmSequence source) throws XPathException
XPathException
public XdmSequence flatten() throws XPathException
XPathException
public Array sort(com.xml_project.morganaxquery.configuration.Collation collation, XS_dayTimeDuration timeZone) throws XPathException
XPathException
public static Array insertBefore(Array anArray, int pos, XdmSequence element) throws XPathException
XPathException
public static Array join(XdmSequence arrayList)
public Array remove(int pos) throws XPathException
XPathException
public Array reverse()
public Array subarray(int start, int length) throws XPathException
XPathException
public java.lang.String getStringValue()
XdmItem
getStringValue
in class XdmItem
public java.lang.Object getValue()
XdmItem
getValue
in class XdmItem
public long size()
XdmSequence
size
in class XdmItem
public long length()
public XdmSequence values() throws XPathException
XPathException
public XdmItem get(long nr)
XdmSequence
get
in class XdmItem
nr
- the number of the element, based by 1!
public XdmSequence get(XS_AnyAtomicType val) throws XPathException
XPathException
public XdmSequence getEntry(int pos) throws XPathException
XPathException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |