Top Fields Constructors Methods
com.sun.tools.rngom.digested

pack-priv Class Annotation

extends Object
implements Annotations<ElementWrapper, LocatorImpl, CommentListImpl>
Class Inheritance
All Implemented Interfaces
com.sun.tools.rngom.ast.builder.Annotations
Imports
com.sun.tools.rngom.ast.builder.Annotations, .BuildException, com.sun.tools.rngom.ast.util.LocatorImpl, javax.xml.namespace.QName

Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private final DAnnotation
a

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
addAttribute(String ns, String localName, String prefix, String value, LocatorImpl loc)

Implements com.sun.tools.rngom.ast.builder.Annotations.addAttribute.

Called for an attribute annotation.

public void
addComment(CommentListImpl comments)

Implements com.sun.tools.rngom.ast.builder.Annotations.addComment.

Adds comments following the last initial child element annotation.

public void
addElement(ElementWrapper ea)

Implements com.sun.tools.rngom.ast.builder.Annotations.addElement.

Called for a child element annotation.

public void
pack-priv DAnnotation
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aback to summary
private final DAnnotation a

Constructor Detail

Annotationback to summary
pack-priv Annotation()

Method Detail

addAttributeback to summary
public void addAttribute(String ns, String localName, String prefix, String value, LocatorImpl loc) throws BuildException

Implements com.sun.tools.rngom.ast.builder.Annotations.addAttribute.

Doc from com.sun.tools.rngom.ast.builder.Annotations.addAttribute.

Called for an attribute annotation.

addCommentback to summary
public void addComment(CommentListImpl comments) throws BuildException

Implements com.sun.tools.rngom.ast.builder.Annotations.addComment.

Doc from com.sun.tools.rngom.ast.builder.Annotations.addComment.

Adds comments following the last initial child element annotation.

addElementback to summary
public void addElement(ElementWrapper ea) throws BuildException

Implements com.sun.tools.rngom.ast.builder.Annotations.addElement.

Doc from com.sun.tools.rngom.ast.builder.Annotations.addElement.

Called for a child element annotation.

addLeadingCommentback to summary
public void addLeadingComment(CommentListImpl comments) throws BuildException

Implements com.sun.tools.rngom.ast.builder.Annotations.addLeadingComment.

getResultback to summary
pack-priv DAnnotation getResult()