XSAnnotationpublic class AnnotationImpl extends Object implements XSAnnotation
| Constructor | Description |
|---|---|
AnnotationImpl() |
|
AnnotationImpl(Object o,
Locator _loc) |
| Modifier and Type | Method | Description |
|---|---|---|
Object |
getAnnotation() |
Obtains the application-parsed annotation.
|
Locator |
getLocator() |
Returns a location information of the annotation.
|
Object |
setAnnotation(Object o) |
Sets the value to be returned by
XSAnnotation.getAnnotation(). |
public Object getAnnotation()
XSAnnotation
annotations are parsed by the user-specified
AnnotationParser.
getAnnotation in interface XSAnnotationpublic Object setAnnotation(Object o)
XSAnnotationXSAnnotation.getAnnotation().setAnnotation in interface XSAnnotationo - can be null.o.public Locator getLocator()
XSAnnotationgetLocator in interface XSAnnotationCopyright © 2018 Oracle Corporation. All rights reserved.