org.kohsuke.rngom.ast.builder
Interface NameClassBuilder<N extends ParsedNameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>

All Known Implementing Classes:
NameClassBuilderImpl

public interface NameClassBuilder<N extends ParsedNameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Method Summary
 N annotate(N nc, A anno)
           
 N annotateAfter(N nc, E e)
           
 N commentAfter(N nc, CL comments)
           
 N makeAnyName(L loc, A anno)
           
 N makeAnyName(N except, L loc, A anno)
          Caller must enforce constraints on except.
 N makeChoice(List<N> nameClasses, L loc, A anno)
           
 N makeErrorNameClass()
           
 N makeName(String ns, String localName, String prefix, L loc, A anno)
           
 N makeNsName(String ns, L loc, A anno)
           
 N makeNsName(String ns, N except, L loc, A anno)
          Caller must enforce constraints on except.
 

Method Detail

annotate

N annotate(N nc,
           A anno)
                                   throws BuildException
Throws:
BuildException

annotateAfter

N annotateAfter(N nc,
                E e)
                                        throws BuildException
Throws:
BuildException

commentAfter

N commentAfter(N nc,
               CL comments)
                                       throws BuildException
Throws:
BuildException

makeChoice

N makeChoice(List<N> nameClasses,
             L loc,
             A anno)

makeName

N makeName(String ns,
           String localName,
           String prefix,
           L loc,
           A anno)

makeNsName

N makeNsName(String ns,
             L loc,
             A anno)

makeNsName

N makeNsName(String ns,
             N except,
             L loc,
             A anno)
Caller must enforce constraints on except.


makeAnyName

N makeAnyName(L loc,
              A anno)

makeAnyName

N makeAnyName(N except,
              L loc,
              A anno)
Caller must enforce constraints on except.


makeErrorNameClass

N makeErrorNameClass()


Copyright © 2011. All Rights Reserved.