Top Description Methods
com.sun.xml.xsom

public Interface XSAnnotation

Known Direct Implementers
com.sun.xml.xsom.impl.AnnotationImpl
Imports
org.xml.sax.Locator, com.sun.xml.xsom.parser.AnnotationParser

XML Schema annotation.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

may return null
getAnnotation
()

Obtains the application-parsed annotation.

public Locator
getLocator()

Returns a location information of the annotation.

public Object

Returns:

old value that was replaced by the o.
setAnnotation
(Object
can be null.
o
)

Sets the value to be returned by getAnnotation().

Method Detail

getAnnotationback to summary
public Object getAnnotation()

Obtains the application-parsed annotation.

annotations are parsed by the user-specified AnnotationParser.

Returns:Object

may return null

getLocatorback to summary
public Locator getLocator()

Returns a location information of the annotation.

setAnnotationback to summary
public Object setAnnotation(Object o)

Sets the value to be returned by getAnnotation().

Parameters
o:Object

can be null.

Returns:Object

old value that was replaced by the o.