Package org.basex.query.ann
Class Ann
- java.lang.Object
-
- org.basex.query.ann.Ann
-
public final class Ann extends Object
Annotation.- Author:
- BaseX Team 2005-23, BSD License, Christian Gruen
-
-
Field Summary
Fields Modifier and Type Field Description Annotation
definition
Annotation definition (null
ifname
is assigned).InputInfo
info
Input info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
QNm
name()
Returns the name of the annotation.String
toString()
void
toString(QueryString qs)
Adds the annotation to a query string.Value
value()
Returns the value of the annotation.
-
-
-
Field Detail
-
info
public final InputInfo info
Input info.
-
definition
public final Annotation definition
Annotation definition (null
ifname
is assigned).
-
-
Method Detail
-
name
public QNm name()
Returns the name of the annotation.- Returns:
- name
-
value
public Value value()
Returns the value of the annotation.- Returns:
- value
-
toString
public void toString(QueryString qs)
Adds the annotation to a query string.- Parameters:
qs
- query string builder
-
-