Top Inners Fields Constructors Methods
com.sun.xml.xsom.impl

public Class AnnotationImpl

extends Object
implements XSAnnotation
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.XSAnnotation
Imports
com.sun.xml.xsom.XSAnnotation, org.xml.sax.Locator, org.xml.sax.helpers.LocatorImpl

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private Object
private final Locator
private static final AnnotationImpl.LocatorImplUnmodifiable

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Object
getAnnotation()

Implements com.sun.xml.xsom.XSAnnotation.getAnnotation.

Obtains the application-parsed annotation.

public Locator
getLocator()

Implements com.sun.xml.xsom.XSAnnotation.getLocator.

Returns a location information of the annotation.

public Object
setAnnotation(Object o)

Implements com.sun.xml.xsom.XSAnnotation.setAnnotation.

Sets the value to be returned by getAnnotation().

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationback to summary
private Object annotation
locatorback to summary
private final Locator locator
NULL_LOCATIONback to summary
private static final AnnotationImpl.LocatorImplUnmodifiable NULL_LOCATION

Constructor Detail

AnnotationImplback to summary
public AnnotationImpl(Object o, Locator _loc)
AnnotationImplback to summary
public AnnotationImpl()

Method Detail

getAnnotationback to summary
public Object getAnnotation()

Implements com.sun.xml.xsom.XSAnnotation.getAnnotation.

Doc from com.sun.xml.xsom.XSAnnotation.getAnnotation.

Obtains the application-parsed annotation.

annotations are parsed by the user-specified AnnotationParser.

getLocatorback to summary
public Locator getLocator()

Implements com.sun.xml.xsom.XSAnnotation.getLocator.

Doc from com.sun.xml.xsom.XSAnnotation.getLocator.

Returns a location information of the annotation.

setAnnotationback to summary
public Object setAnnotation(Object o)

Implements com.sun.xml.xsom.XSAnnotation.setAnnotation.

Doc from com.sun.xml.xsom.XSAnnotation.setAnnotation.

Sets the value to be returned by getAnnotation().

com.sun.xml.xsom.impl back to summary

private Class AnnotationImpl.LocatorImplUnmodifiable

extends LocatorImpl
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
setColumnNumber(int columnNumber)

Overrides org.xml.sax.helpers.LocatorImpl.setColumnNumber.

Set the column number for this locator (1-based).

public void
setLineNumber(int lineNumber)

Overrides org.xml.sax.helpers.LocatorImpl.setLineNumber.

Set the line number for this locator (1-based).

public void
setPublicId(String publicId)

Overrides org.xml.sax.helpers.LocatorImpl.setPublicId.

Set the public identifier for this locator.

public void
setSystemId(String systemId)

Overrides org.xml.sax.helpers.LocatorImpl.setSystemId.

Set the system identifier for this locator.

Inherited from org.xml.sax.helpers.LocatorImpl:
getColumnNumbergetLineNumbergetPublicIdgetSystemId

Constructor Detail

LocatorImplUnmodifiableback to summary
private LocatorImplUnmodifiable()

Method Detail

setColumnNumberback to summary
public void setColumnNumber(int columnNumber)

Overrides org.xml.sax.helpers.LocatorImpl.setColumnNumber.

Doc from org.xml.sax.helpers.LocatorImpl.setColumnNumber.

Set the column number for this locator (1-based).

Annotations
@Override
setLineNumberback to summary
public void setLineNumber(int lineNumber)

Overrides org.xml.sax.helpers.LocatorImpl.setLineNumber.

Doc from org.xml.sax.helpers.LocatorImpl.setLineNumber.

Set the line number for this locator (1-based).

Annotations
@Override
setPublicIdback to summary
public void setPublicId(String publicId)

Overrides org.xml.sax.helpers.LocatorImpl.setPublicId.

Doc from org.xml.sax.helpers.LocatorImpl.setPublicId.

Set the public identifier for this locator.

Annotations
@Override
setSystemIdback to summary
public void setSystemId(String systemId)

Overrides org.xml.sax.helpers.LocatorImpl.setSystemId.

Doc from org.xml.sax.helpers.LocatorImpl.setSystemId.

Set the system identifier for this locator.

Annotations
@Override