|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Item | |
---|---|
org.basex.io.serial | |
org.basex.query | XQuery implementation. |
org.basex.query.expr | XQuery expressions. |
org.basex.query.func | XQuery functions. |
org.basex.query.gflwor | |
org.basex.query.iter | XQuery iterators. |
org.basex.query.path | XQuery path expressions. |
org.basex.query.up.expr | |
org.basex.query.util | XQuery utility classes. |
org.basex.query.util.crypto | |
org.basex.query.util.format | XQuery formatter utility classes. |
org.basex.query.util.json | |
org.basex.query.util.unit | |
org.basex.query.value | XQuery data types. |
org.basex.query.value.item | |
org.basex.query.value.map | |
org.basex.query.value.node | |
org.basex.query.value.seq | |
org.basex.query.value.type | |
org.basex.query.var |
Uses of Item in org.basex.io.serial |
---|
Methods in org.basex.io.serial with parameters of type Item | |
---|---|
protected void |
JSONSerializer.atomic(Item value)
|
protected void |
JsonMLSerializer.atomic(Item value)
|
protected abstract void |
Serializer.atomic(Item item)
Serializes an atomic value. |
protected void |
XMLSerializer.atomic(Item i)
|
protected void |
DOTSerializer.atomic(Item it)
|
protected void |
BuilderSerializer.atomic(Item b)
|
protected void |
OutputSerializer.atomic(Item it)
|
protected void |
SAXSerializer.atomic(Item i)
|
protected void |
RawSerializer.atomic(Item it)
|
void |
Serializer.serialize(Item item)
Serializes the specified item, which may be a node or an atomic value. |
Constructors in org.basex.io.serial with parameters of type Item | |
---|---|
SAXSerializer(Item it)
Constructor. |
Uses of Item in org.basex.query |
---|
Fields in org.basex.query declared as Item | |
---|---|
Item |
QueryContext.date
Current Date. |
Item |
QueryContext.dtm
Current DateTime. |
Item |
QueryContext.time
Current Time. |
Item |
QueryContext.zone
Current timezone. |
Uses of Item in org.basex.query.expr |
---|
Methods in org.basex.query.expr that return Item | |
---|---|
Item |
ParseExpr.checkItem(Expr e,
QueryContext ctx)
Checks if the specified expression yields a non-empty item. |
Item |
ParseExpr.checkNoEmpty(Item it)
Checks if the specified item is no empty sequence. |
Item |
ParseExpr.checkType(Item it,
Type t)
Checks if the specified expression is an empty sequence; if yes, throws an exception. |
abstract Item |
Expr.ebv(QueryContext ctx,
InputInfo ii)
Checks if the iterator can be dissolved into an effective boolean value. |
Item |
ParseExpr.ebv(QueryContext ctx,
InputInfo ii)
|
abstract Item |
Calc.ev(InputInfo ii,
Item a,
Item b)
Performs the calculation. |
Item |
XQFunction.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function with the given arguments. |
Item |
Context.item(QueryContext ctx,
InputInfo ii)
|
abstract Item |
Expr.item(QueryContext ctx,
InputInfo ii)
Evaluates the expression and returns the resulting item or a null reference, if the expression yields an empty sequence. |
Item |
Or.item(QueryContext ctx,
InputInfo ii)
|
Item |
LitMap.item(QueryContext ctx,
InputInfo ii)
|
Item |
Unary.item(QueryContext ctx,
InputInfo ii)
|
Item |
Arith.item(QueryContext ctx,
InputInfo ii)
|
Item |
Switch.item(QueryContext ctx,
InputInfo ii)
|
Item |
ParseExpr.item(QueryContext ctx,
InputInfo ii)
|
Item |
If.item(QueryContext ctx,
InputInfo ii)
|
abstract Item |
Expr.test(QueryContext ctx,
InputInfo ii)
Performs a predicate test and returns the item if test was successful. |
Item |
ParseExpr.test(QueryContext ctx,
InputInfo ii)
|
Methods in org.basex.query.expr with parameters of type Item | |
---|---|
DBNode |
ParseExpr.checkDBNode(Item it)
Checks if the specified expression is a database node. |
byte[] |
ParseExpr.checkEStr(Item it)
Checks if the specified item is a string or an empty sequence. |
long |
ParseExpr.checkItr(Item it)
Checks if the specified item is a number. |
Map |
ParseExpr.checkMap(Item it)
Assures that the given (non- null ) item is a map. |
ANode |
ParseExpr.checkNode(Item it)
Checks if the specified item is a node. |
Item |
ParseExpr.checkNoEmpty(Item it)
Checks if the specified item is no empty sequence. |
byte[] |
ParseExpr.checkStr(Item it)
Checks if the specified item is a string. |
byte[] |
ParseExpr.checkStrBin(Item it)
Checks if the specified expression yields a string or binary item. |
Item |
ParseExpr.checkType(Item it,
Type t)
Checks if the specified expression is an empty sequence; if yes, throws an exception. |
abstract Item |
Calc.ev(InputInfo ii,
Item a,
Item b)
Performs the calculation. |
abstract boolean |
CmpV.OpV.eval(Item a,
Item b,
Collation coll,
InputInfo ii)
Evaluates the expression. |
boolean |
Preds.preds(Item it,
QueryContext ctx)
Checks if the predicates are successful for the specified item. |
Uses of Item in org.basex.query.func |
---|
Methods in org.basex.query.func with parameters of type Item | |
---|---|
static Item |
FNNum.abs(Item it,
InputInfo ii)
Returns an absolute number. |
static Item |
StandardFunc.atom(Item it,
InputInfo ii)
Atomizes the specified item. |
TokenMap |
FuncParams.parse(Item it)
Converts the parameters of the argument to a token map. |
TokenMap |
FuncParams.parse(Item it,
boolean ignore)
Converts the parameters of the argument to a token map. |
static Item |
FNNum.round(Item it,
double d,
long prec,
boolean h2e,
InputInfo ii)
Returns a rounded item. |
static TokenMap |
FuncParams.serializerMap(Item it,
InputInfo info)
Converts the specified parameter item to a map. |
static SerializerProp |
FuncParams.serializerProp(Item it,
InputInfo info)
Converts the specified parameters to serialization properties. |
Uses of Item in org.basex.query.gflwor |
---|
Methods in org.basex.query.gflwor that return Item | |
---|---|
Item |
GroupBy.Spec.item(QueryContext ctx,
InputInfo ii)
|
Item |
GFLWOR.Clause.item(QueryContext ctx,
InputInfo ii)
Deprecated. |
Uses of Item in org.basex.query.iter |
---|
Fields in org.basex.query.iter declared as Item | |
---|---|
Item[] |
ValueBuilder.item
Item container. |
Methods in org.basex.query.iter that return Item | |
---|---|
abstract Item |
ValueIter.get(long i)
|
Item |
ValueBuilder.get(long i)
|
Item |
Iter.get(long i)
Returns the specified item, or an arbitrary item if the index is invalid. |
abstract Item |
ValueIter.next()
|
Item |
ValueBuilder.next()
|
abstract Item |
Iter.next()
Returns the next item or null if no other items are found. |
Methods in org.basex.query.iter that return types with arguments of type Item | |
---|---|
java.util.Iterator<Item> |
ValueIter.iterator()
|
Methods in org.basex.query.iter with parameters of type Item | |
---|---|
ValueBuilder |
ValueBuilder.add(Item it)
Adds a single item. |
void |
ValueBuilder.set(Item i,
int p)
Sets an item to the specified position. |
Constructors in org.basex.query.iter with parameters of type Item | |
---|---|
ValueBuilder(Item[] arr,
int s)
Constructor. |
Uses of Item in org.basex.query.path |
---|
Methods in org.basex.query.path with parameters of type Item | |
---|---|
boolean |
Test.eq(Item item)
Tests if the test yields true. |
Uses of Item in org.basex.query.up.expr |
---|
Methods in org.basex.query.up.expr that return Item | |
---|---|
Item |
Delete.item(QueryContext ctx,
InputInfo ii)
|
Item |
Insert.item(QueryContext ctx,
InputInfo ii)
|
Item |
Replace.item(QueryContext ctx,
InputInfo ii)
|
Item |
Rename.item(QueryContext ctx,
InputInfo ii)
|
Uses of Item in org.basex.query.util |
---|
Methods in org.basex.query.util that return types with arguments of type Item | |
---|---|
java.util.Iterator<Item> |
CollationItemSet.iterator()
|
java.util.Iterator<Item> |
HashItemSet.iterator()
|
Methods in org.basex.query.util with parameters of type Item | |
---|---|
boolean |
CollationItemSet.add(Item item,
InputInfo ii)
|
boolean |
HashItemSet.add(Item key,
InputInfo ii)
|
boolean |
ItemSet.add(Item key,
InputInfo ii)
Stores the specified key if it has not been stored before. |
void |
ItemValueMap.add(Item key,
Value value,
InputInfo ii)
Indexes the specified key and stores the associated value. |
static QueryException |
Err.diff(InputInfo ii,
Item it1,
Item it2)
Throws a comparison exception. |
Value |
ItemValueMap.get(Item key,
InputInfo ii)
Returns the value for the specified key. |
int |
HashItemSet.id(Item key,
InputInfo ii)
Returns the id of the specified key, or 0 if the key does not exist. |
static QueryException |
Err.number(ParseExpr e,
Item it)
Throws a number exception. |
int |
HashItemSet.put(Item key,
InputInfo ii)
Stores the specified key and returns its id. |
static QueryException |
Err.type(ParseExpr e,
Type t,
Item it)
Throws a type exception. |
Uses of Item in org.basex.query.util.crypto |
---|
Methods in org.basex.query.util.crypto that return Item | |
---|---|
Item |
DigitalSignature.generateSignature(ANode node,
byte[] c,
byte[] d,
byte[] sig,
byte[] ns,
byte[] t,
byte[] expr,
ANode ce,
QueryContext ctx,
InputInfo ii)
Generates a signature. |
Item |
Encryption.hmac(byte[] msg,
byte[] k,
byte[] a,
byte[] enc)
Creates a message authentication code (MAC) for the given input. |
Item |
DigitalSignature.validateSignature(ANode node)
Validates a signature. |
Uses of Item in org.basex.query.util.format |
---|
Methods in org.basex.query.util.format with parameters of type Item | |
---|---|
byte[] |
DecFormatter.format(InputInfo ii,
Item number,
byte[] pict)
Returns a formatted number. |
Uses of Item in org.basex.query.util.json |
---|
Methods in org.basex.query.util.json that return Item | |
---|---|
abstract Item |
JsonConverter.convert(java.lang.String in)
Converts the given JSON string into an XQuery value. |
Item |
JsonMapConverter.convert(java.lang.String in)
|
Uses of Item in org.basex.query.util.unit |
---|
Methods in org.basex.query.util.unit that return Item | |
---|---|
Item |
Suite.test(TokenList libs)
Tests all specified libraries. |
Uses of Item in org.basex.query.value |
---|
Methods in org.basex.query.value that return Item | |
---|---|
abstract Item |
Value.itemAt(long pos)
Gets the item at the given position in the value. |
Methods in org.basex.query.value that return types with arguments of type Item | |
---|---|
java.util.Iterator<Item> |
Value.iterator()
|
Methods in org.basex.query.value with parameters of type Item | |
---|---|
abstract int |
Value.writeTo(Item[] arr,
int start)
Writes this value's items out to the given array. |
Uses of Item in org.basex.query.value.item |
---|
Subclasses of Item in org.basex.query.value.item | |
---|---|
class |
ADate
Abstract super class for date items. |
class |
ADateDur
Abstract super class for dates and durations. |
class |
ANum
Abstract super class for all numeric items. |
class |
AStr
Abstract string item. |
class |
Atm
Untyped atomic item ( xs:untypedAtomic ). |
class |
B64
Base64 item ( xs:base64Binary ). |
class |
B64Stream
Streamable base64 item ( xs:base64Binary ). |
class |
Bin
Abstract class for binary items. |
class |
Bln
Boolean item ( xs:boolean ). |
class |
Dat
Date item ( xs:date ). |
class |
Dbl
Double item ( xs:double ). |
class |
Dec
Decimal item ( xs:decimal ). |
class |
DTDur
DayTime Duration item ( xs:dayTimeDuration ). |
class |
Dtm
DateTime item ( xs:dateTime ). |
class |
Dur
Duration item ( xs:duration ). |
class |
FItem
Abstract super class for function items. |
class |
Flt
Float item ( xs:float ). |
class |
FuncItem
Function item. |
class |
GDt
Simple date item, used for xs:gYearMonth , xs:gYear ,
xs:gMonthDay , xs:gDay and xs:gMonth . |
class |
Hex
HexBinary item ( xs:hexBinary ). |
class |
Int
Integer item ( xs:int , xs:integer , xs:short , etc.). |
class |
Jav
Java item. |
class |
QNm
QName item ( xs:QName ). |
class |
Str
String item ( xs:string , xs:normalizedString , xs:language ,
etc.). |
class |
StrStream
Streamable string item ( xs:string ). |
class |
Tim
Time item ( xs:time ). |
class |
Uri
URI item ( xs:anyURI ). |
class |
YMDur
YearMonth duration ( xs:yearMonthDuration ). |
Methods in org.basex.query.value.item that return Item | |
---|---|
Item |
Item.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
FuncItem.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
|
Item |
FItem.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
|
Item |
Item.item(QueryContext ctx,
InputInfo ii)
|
Item |
Item.itemAt(long pos)
|
Item |
B64Stream.materialize(InputInfo ii)
|
Item |
StrStream.materialize(InputInfo ii)
|
Item |
Item.materialize(InputInfo ii)
Materializes streamable values, or returns a self reference. |
Item |
ANum.test(QueryContext ctx,
InputInfo ii)
|
Item |
Item.test(QueryContext ctx,
InputInfo ii)
|
Item |
Int.test(QueryContext ctx,
InputInfo ii)
|
Methods in org.basex.query.value.item with parameters of type Item | |
---|---|
boolean |
Item.comparable(Item it)
Checks if the items can be compared. |
int |
Dur.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Bln.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
ADate.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Dbl.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Atm.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
GDt.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
QNm.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Dec.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
YMDur.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
AStr.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Jav.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Item.diff(Item it,
Collation coll,
InputInfo ii)
Returns the difference between the current and the specified item. |
int |
Int.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
DTDur.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Flt.diff(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Dur.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Hex.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Bln.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
ADate.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Dbl.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Atm.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
QNm.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Dec.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
AStr.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Jav.eq(Item it,
Collation coll,
InputInfo ii)
|
abstract boolean |
Item.eq(Item it,
Collation coll,
InputInfo ii)
Checks the items for equality. |
boolean |
Int.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
FItem.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
B64.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Flt.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Item.equiv(Item it,
Collation coll,
InputInfo ii)
Checks the items for equivalence. |
int |
Item.writeTo(Item[] arr,
int start)
|
Uses of Item in org.basex.query.value.map |
---|
Subclasses of Item in org.basex.query.value.map | |
---|---|
class |
Map
The map item. |
Methods in org.basex.query.value.map with parameters of type Item | |
---|---|
Bln |
Map.contains(Item k,
InputInfo ii)
Checks if the given key exists in the map. |
Map |
Map.delete(Item key,
InputInfo ii)
Deletes a key from this map. |
Value |
Map.get(Item key,
InputInfo ii)
Gets the value from this map. |
Map |
Map.insert(Item k,
Value v,
InputInfo ii)
Inserts the given value into this map. |
Uses of Item in org.basex.query.value.node |
---|
Subclasses of Item in org.basex.query.value.node | |
---|---|
class |
ANode
Abstract node type. |
class |
DBNode
Database nodes. |
class |
FAttr
Attribute node fragment. |
class |
FComm
Comment node fragment. |
class |
FDoc
Document node fragment. |
class |
FElem
Element node fragment. |
class |
FNames
Namespace node. |
class |
FNode
Main memory based node fragments. |
class |
FPI
PI node fragment. |
class |
FTNode
Disk-based full-text Node item. |
class |
FTPosNode
Database node with full-text positions. |
class |
FTxt
Text node fragment. |
Methods in org.basex.query.value.node with parameters of type Item | |
---|---|
int |
ANode.diff(Item it,
Collation coll,
InputInfo ii)
|
boolean |
ANode.eq(Item it,
Collation coll,
InputInfo ii)
|
Uses of Item in org.basex.query.value.seq |
---|
Methods in org.basex.query.value.seq that return Item | |
---|---|
Item |
Empty.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
ItemSeq.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
DBNodeSeq.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
NativeSeq.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
RangeSeq.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
Empty.item(QueryContext ctx,
InputInfo ii)
|
Item |
Seq.item(QueryContext ctx,
InputInfo ii)
|
Item |
Empty.itemAt(long pos)
|
Item |
ItemSeq.itemAt(long pos)
|
Item |
RangeSeq.itemAt(long pos)
|
Item |
Empty.test(QueryContext ctx,
InputInfo ii)
|
Item |
Seq.test(QueryContext ctx,
InputInfo ii)
|
Methods in org.basex.query.value.seq with parameters of type Item | |
---|---|
static Value |
Seq.get(Item[] v,
int s)
Returns a value representation of the specified items. |
static Value |
Seq.get(Item[] v,
int s,
Type t)
Returns a value representation of the specified items. |
int |
Empty.writeTo(Item[] arr,
int start)
|
int |
ItemSeq.writeTo(Item[] arr,
int start)
|
int |
NativeSeq.writeTo(Item[] arr,
int start)
|
int |
RangeSeq.writeTo(Item[] arr,
int pos)
|
Uses of Item in org.basex.query.value.type |
---|
Methods in org.basex.query.value.type that return Item | |
---|---|
Item |
AtomType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Item |
AtomType.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
|
Item |
FuncType.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
|
Item |
AtomType.castString(java.lang.String o,
QueryContext ctx,
InputInfo ii)
|
Item |
FuncType.castString(java.lang.String s,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.castString(java.lang.String o,
QueryContext ctx,
InputInfo ii)
|
Methods in org.basex.query.value.type with parameters of type Item | |
---|---|
Item |
AtomType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Map |
MapType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
abstract Value |
ListType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
FItem |
FuncType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Value |
Type.cast(Item it,
QueryContext ctx,
InputInfo ii)
Casts the specified item to the XQuery data type. |
Value |
SeqType.cast(Item it,
QueryContext ctx,
InputInfo ii,
ExprInfo e)
Tries to cast the given item to this sequence type. |
protected static Value |
ListType.create(Item it,
QueryContext ctx,
InputInfo ii,
AtomType type)
Creates a sequence with the resulting list items. |
Uses of Item in org.basex.query.var |
---|
Methods in org.basex.query.var that return Item | |
---|---|
Item |
VarRef.item(QueryContext ctx,
InputInfo ii)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |