XSOM 20110809-redhat-3

com.sun.xml.xsom
Interface XSAnnotation

All Known Implementing Classes:
AnnotationImpl

public interface XSAnnotation

XML Schema annotation.


Method Summary
 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 getAnnotation().
 

Method Detail

getAnnotation

Object getAnnotation()
Obtains the application-parsed annotation.

annotations are parsed by the user-specified AnnotationParser.

Returns:
may return null

setAnnotation

Object setAnnotation(Object o)
Sets the value to be returned by getAnnotation().

Parameters:
o - can be null.
Returns:
old value that was replaced by the o.

getLocator

Locator getLocator()
Returns a location information of the annotation.


XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.