Package com.sun.xml.xsom
Interface XSAnnotation
- All Known Implementing Classes:
AnnotationImpl
public interface XSAnnotation
-
Method Summary
Modifier and TypeMethodDescriptionObtains the application-parsed annotation.Returns a location information of the annotation.Sets the value to be returned bygetAnnotation().
-
Method Details
-
getAnnotation
Object getAnnotation()Obtains the application-parsed annotation.annotations are parsed by the user-specified
AnnotationParser.- Returns:
- may return null
-
setAnnotation
Sets the value to be returned bygetAnnotation().- Parameters:
o- can be null.- Returns:
- old value that was replaced by the
o.
-
getLocator
Locator getLocator()Returns a location information of the annotation.
-