Package net.sf.saxon.query
Class Annotation
java.lang.Object
net.sf.saxon.query.Annotation
This class represents an annotation that appears in a function or variable declarations
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructuredQName
static final StructuredQName
static final StructuredQName
static final StructuredQName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a value to the list of annotation parametersboolean
Get the list of annotation parametersGet the name of the annotation (a QName)int
hashCode()
-
Field Details
-
UPDATING
-
SIMPLE
-
PRIVATE
-
PUBLIC
-
-
Constructor Details
-
Annotation
Create an annotation- Parameters:
name
- the annotation name (a QName)
-
-
Method Details
-
getAnnotationQName
Get the name of the annotation (a QName)- Returns:
- the annotation name
-
addAnnotationParameter
Add a value to the list of annotation parameters- Parameters:
value
- the value to be added. This will always be a string or number, but Saxon enforces this only at the level of the query parser
-
getAnnotationParameters
Get the list of annotation parameters- Returns:
- the list of parameters
-
equals
-
hashCode
public int hashCode()
-