public class AnnotationImpl extends Object implements XSAnnotation
Constructor and Description |
---|
AnnotationImpl() |
AnnotationImpl(Object o,
Locator _loc) |
Modifier and Type | Method and 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 XSAnnotation
public Object setAnnotation(Object o)
XSAnnotation
XSAnnotation.getAnnotation()
.setAnnotation
in interface XSAnnotation
o
- can be null.o
.public Locator getLocator()
XSAnnotation
getLocator
in interface XSAnnotation
Copyright © 2021 JBoss by Red Hat. All rights reserved.