|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xml_project.morganaxproc.xdm.XdmSequence
com.xml_project.morganaxproc.xdm.XdmItem
com.xml_project.morganaxproc.xdm.Array
public class Array
An array as defined in XDM 3.1 (not usable yet)
| Constructor Summary | |
|---|---|
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)
|
XdmSequence |
get(XS_AnyAtomicType val)
|
XdmSequence |
getEntry(int pos)
|
String |
getStringValue()
Returns the string value. |
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)
|
Array |
remove(int pos)
|
Array |
reverse()
|
long |
size()
Returns the number of elements in this sequence. |
Array |
sort(com.xml_project.morganaxproc.xquery.configuration.Collation collation,
XS_dayTimeDuration timeZone)
|
Array |
subarray(int start,
int length)
|
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 Array()
public Array(XdmSequence content)
throws XPathException
XPathExceptionpublic Array(XdmSequence[] content)
| Method Detail |
|---|
public boolean isValue()
XdmItem
isValue in class XdmItem
public AtomizingIterator atomize()
throws XPathException
XdmSequence
atomize in class XdmItemXPathException - 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.morganaxproc.xquery.configuration.Collation collation,
XS_dayTimeDuration timeZone)
throws XPathException
XPathException
public static Array insertBefore(Array anArray,
int pos,
XdmSequence element)
throws XPathException
XPathExceptionpublic static Array join(XdmSequence arrayList)
public Array remove(int pos)
throws XPathException
XPathExceptionpublic Array reverse()
public Array subarray(int start,
int length)
throws XPathException
XPathExceptionpublic String getStringValue()
XdmItem
getStringValue in class XdmItempublic Object getValue()
XdmItem
getValue in class XdmItempublic long size()
XdmSequence
size in class XdmItem
public XdmSequence values()
throws XPathException
XPathException
public XdmSequence get(XS_AnyAtomicType val)
throws XPathException
XPathException
public XdmSequence getEntry(int pos)
throws XPathException
XPathExceptionpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||