public class Annotation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static StructuredQName |
PRIVATE |
static StructuredQName |
PUBLIC |
static StructuredQName |
SIMPLE |
static StructuredQName |
UPDATING |
Constructor and Description |
---|
Annotation(StructuredQName name)
Create an annotation
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationParameter(AtomicValue value)
Add a value to the list of annotation parameters
|
boolean |
equals(java.lang.Object other) |
java.util.List<AtomicValue> |
getAnnotationParameters()
Get the list of annotation parameters
|
StructuredQName |
getAnnotationQName()
Get the name of the annotation (a QName)
|
int |
hashCode() |
public static final StructuredQName UPDATING
public static final StructuredQName SIMPLE
public static final StructuredQName PRIVATE
public static final StructuredQName PUBLIC
public Annotation(StructuredQName name)
name
- the annotation name (a QName)public StructuredQName getAnnotationQName()
public 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 java.util.List<AtomicValue> getAnnotationParameters()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.