Package com.sun.xml.xsom.impl
Class AnnotationImpl
java.lang.Object
com.sun.xml.xsom.impl.AnnotationImpl
- All Implemented Interfaces:
XSAnnotation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionObtains the application-parsed annotation.Returns a location information of the annotation.Sets the value to be returned byXSAnnotation.getAnnotation()
.
-
Constructor Details
-
AnnotationImpl
-
AnnotationImpl
public AnnotationImpl()
-
-
Method Details
-
getAnnotation
Description copied from interface:XSAnnotation
Obtains the application-parsed annotation.annotations are parsed by the user-specified
AnnotationParser
.- Specified by:
getAnnotation
in interfaceXSAnnotation
- Returns:
- may return null
-
setAnnotation
Description copied from interface:XSAnnotation
Sets the value to be returned byXSAnnotation.getAnnotation()
.- Specified by:
setAnnotation
in interfaceXSAnnotation
- Parameters:
o
- can be null.- Returns:
- old value that was replaced by the
o
.
-
getLocator
Description copied from interface:XSAnnotation
Returns a location information of the annotation.- Specified by:
getLocator
in interfaceXSAnnotation
-