public class Annotation30 extends Annotation
PRIVATE, PUBLIC, SIMPLE, UPDATING
Constructor and Description |
---|
Annotation30(StructuredQName name)
Create an annotation
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationParameter(AtomicValue value)
Add a value to the list of annotation parameters
|
List<AtomicValue> |
getAnnotationParameters()
Get the list of annotation parameters
|
StructuredQName |
getAnnotationQName()
Get the name of the annotation (a QName)
|
mutuallyExclusive
public Annotation30(StructuredQName name)
name
- the annotation name (a QName)public StructuredQName getAnnotationQName()
getAnnotationQName
in class Annotation
public void addAnnotationParameter(AtomicValue value)
addAnnotationParameter
in class Annotation
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 parserpublic List<AtomicValue> getAnnotationParameters()
getAnnotationParameters
in class Annotation
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.