public abstract class Annotation extends Object
Modifier and Type | Field and Description |
---|---|
static StructuredQName |
PRIVATE |
static StructuredQName |
PUBLIC |
static StructuredQName |
SIMPLE |
static StructuredQName |
UPDATING |
Constructor and Description |
---|
Annotation() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addAnnotationParameter(AtomicValue value)
Add a value to the list of annotation parameters
|
abstract List<AtomicValue> |
getAnnotationParameters()
Get the list of annotation parameters
|
abstract StructuredQName |
getAnnotationQName()
Get the name of the annotation (a QName)
|
static boolean |
mutuallyExclusive(Annotation one,
Annotation two)
Determine whether two annotations are mutually exclusive
|
public static final StructuredQName UPDATING
public static final StructuredQName SIMPLE
public static final StructuredQName PRIVATE
public static final StructuredQName PUBLIC
public abstract StructuredQName getAnnotationQName()
public abstract void addAnnotationParameter(AtomicValue value)
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 abstract List<AtomicValue> getAnnotationParameters()
public static boolean mutuallyExclusive(Annotation one, Annotation two)
one
- the first annotationtwo
- the second annotationCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.