XSAnnotation
public 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 XSAnnotation
public java.lang.Object setAnnotation(java.lang.Object o)
XSAnnotation
XSAnnotation.getAnnotation()
.setAnnotation
in interface XSAnnotation
o
- can be null.o
.public org.xml.sax.Locator getLocator()
XSAnnotation
getLocator
in interface XSAnnotation
Copyright © 2018 Oracle. All rights reserved.