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