|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.list.ElementList
org.basex.query.util.Ann
public final class Ann
Annotations.
Field Summary | |
---|---|
InputInfo[] |
infos
Input Info. |
QNm[] |
names
QNames. |
static QNm |
Q_PRIVATE
Annotation "private". |
static QNm |
Q_PUBLIC
Annotation "public". |
static QNm |
Q_UPDATING
Annotation "updating". |
Value[] |
values
Values. |
Fields inherited from class org.basex.util.list.ElementList |
---|
factor, size |
Constructor Summary | |
---|---|
Ann()
|
Method Summary | |
---|---|
void |
add(QNm name,
Value value,
InputInfo info)
Adds a QName/value pair. |
void |
check(boolean var)
Checks all annotations for parsing errors. |
boolean |
contains(QNm e)
Checks if the specified element is found in the list. |
boolean |
contains(QNm k,
Value v)
Checks if the specified key/value pair is found in the list. |
Ann |
intersect(Ann ann)
Returns the intersection of these annotations and the given ones. |
java.lang.String |
toString()
|
Ann |
union(Ann ann)
Returns the union of these annotations and the given ones. |
Methods inherited from class org.basex.util.list.ElementList |
---|
isEmpty, newSize, newSize, reset, size, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QNm Q_PRIVATE
public static final QNm Q_PUBLIC
public static final QNm Q_UPDATING
public InputInfo[] infos
public QNm[] names
public Value[] values
Constructor Detail |
---|
public Ann()
Method Detail |
---|
public void add(QNm name, Value value, InputInfo info)
name
- QNamevalue
- valueinfo
- input infopublic boolean contains(QNm e)
e
- element to be found
public boolean contains(QNm k, Value v)
k
- name of the entryv
- value of the entry
public Ann union(Ann ann)
ann
- other annotations
Ann
instance containing all annotationspublic Ann intersect(Ann ann)
ann
- annotations
public void check(boolean var) throws QueryException
var
- variable flag
QueryException
- query exceptionpublic 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 |