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)
|
mutuallyExclusivepublic Annotation30(StructuredQName name)
name - the annotation name (a QName)public StructuredQName getAnnotationQName()
getAnnotationQName in class Annotationpublic void addAnnotationParameter(AtomicValue value)
addAnnotationParameter in class Annotationvalue - 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 AnnotationCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.