Top Fields Constructors Methods
com.sun.tools.rngom.parse.host

pack-priv Class AnnotationsHost

extends Base
implements Annotations
Class Inheritance
All Implemented Interfaces
com.sun.tools.rngom.ast.builder.Annotations
Known Direct Subclasses
com.sun.tools.rngom.parse.host.ElementAnnotationBuilderHost
Imports
com.sun.tools.rngom.ast.builder.Annotations, .BuildException, .CommentList, com.sun.tools.rngom.ast.om.Location, .ParsedElementAnnotation

Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
pack-priv final Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>>
pack-priv final Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>>

Constructor Summary

AccessConstructor and Description
pack-priv
AnnotationsHost(Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> lhs, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> rhs)

Method Summary

Modifier and TypeMethod and Description
public void
addAttribute(String ns, String localName, String prefix, String value, Location _loc)

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

Called for an attribute annotation.

public void
addComment(CommentList<L extends Location> _comments)

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

Adds comments following the last initial child element annotation.

public void
addElement(ParsedElementAnnotation _ea)

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

Called for a child element annotation.

public void
Inherited from com.sun.tools.rngom.parse.host.Base:
castcast

Field Detail

lhsback to summary
pack-priv final Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> lhs
rhsback to summary
pack-priv final Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> rhs

Constructor Detail

AnnotationsHostback to summary
pack-priv AnnotationsHost(Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> lhs, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> rhs)

Method Detail

addAttributeback to summary
public void addAttribute(String ns, String localName, String prefix, String value, Location _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(CommentList<L extends Location> _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(ParsedElementAnnotation _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(CommentList<L extends Location> _comments) throws BuildException

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