public class NameClassBuilderImpl<E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> extends java.lang.Object implements NameClassBuilder<NameClass,E,L,A,CL>
Constructor and Description |
---|
NameClassBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
NameClass |
annotate(NameClass nc,
A anno) |
NameClass |
annotateAfter(NameClass nc,
E e) |
NameClass |
commentAfter(NameClass nc,
CL comments) |
NameClass |
makeAnyName(L loc,
A anno) |
NameClass |
makeAnyName(NameClass except,
L loc,
A anno)
Caller must enforce constraints on except.
|
NameClass |
makeChoice(java.util.List<NameClass> nameClasses,
L loc,
A anno) |
NameClass |
makeErrorNameClass() |
NameClass |
makeName(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
L loc,
A anno) |
NameClass |
makeNsName(java.lang.String ns,
L loc,
A anno) |
NameClass |
makeNsName(java.lang.String ns,
NameClass except,
L loc,
A anno)
Caller must enforce constraints on except.
|
public NameClass makeChoice(java.util.List<NameClass> nameClasses, L loc, A anno)
makeChoice
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass makeName(java.lang.String ns, java.lang.String localName, java.lang.String prefix, L loc, A anno)
makeName
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass makeNsName(java.lang.String ns, L loc, A anno)
makeNsName
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass makeNsName(java.lang.String ns, NameClass except, L loc, A anno)
NameClassBuilder
makeNsName
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass makeAnyName(L loc, A anno)
makeAnyName
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass makeAnyName(NameClass except, L loc, A anno)
NameClassBuilder
makeAnyName
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass makeErrorNameClass()
makeErrorNameClass
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
public NameClass annotate(NameClass nc, A anno) throws BuildException
annotate
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
BuildException
public NameClass annotateAfter(NameClass nc, E e) throws BuildException
annotateAfter
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
BuildException
public NameClass commentAfter(NameClass nc, CL comments) throws BuildException
commentAfter
in interface NameClassBuilder<NameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
BuildException
Copyright © 2010 - 2020 Adobe. All Rights Reserved