com.sun.tools.txw2.builder.relaxng
Class SchemaBuilderImpl

java.lang.Object
  extended by com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
All Implemented Interfaces:
org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

public final class SchemaBuilderImpl
extends Object
implements org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

Builds a model from a RELAX NG grammar.

Author:
Kohsuke Kawaguchi

Constructor Summary
SchemaBuilderImpl(com.sun.codemodel.JCodeModel codeModel)
           
 
Method Summary
 Leaf annotate(Leaf leaf, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf annotateAfter(Leaf leaf, org.kohsuke.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation)
           
 Leaf commentAfter(Leaf leaf, CommentListImpl commentList)
           
 Leaf expandPattern(Leaf leaf)
           
 org.kohsuke.rngom.ast.builder.NameClassBuilder getNameClassBuilder()
           
 com.sun.tools.txw2.builder.relaxng.AnnotationsImpl makeAnnotations(CommentListImpl commentList, org.kohsuke.rngom.parse.Context context)
           
 Leaf makeAttribute(org.kohsuke.rngom.nc.NameClass nameClass, Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeChoice(List<Leaf> leaves, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 CommentListImpl makeCommentList()
           
 org.kohsuke.rngom.ast.builder.DataPatternBuilder makeDataPatternBuilder(String datatypeLibrary, String type, org.kohsuke.rngom.ast.util.LocatorImpl locator)
           
 Leaf makeElement(org.kohsuke.rngom.nc.NameClass nameClass, Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 org.kohsuke.rngom.ast.builder.ElementAnnotationBuilder<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> makeElementAnnotationBuilder(String ns, String localName, String prefix, org.kohsuke.rngom.ast.util.LocatorImpl locator, CommentListImpl commentList, org.kohsuke.rngom.parse.Context context)
           
 Leaf makeEmpty(org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeErrorPattern()
           
 Leaf makeExternalRef(org.kohsuke.rngom.parse.Parseable current, String uri, String ns, org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 org.kohsuke.rngom.ast.builder.Grammar<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> makeGrammar(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope)
           
 Leaf makeGroup(List<Leaf> leaves, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeInterleave(List<Leaf> leaves, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeList(Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 org.kohsuke.rngom.ast.util.LocatorImpl makeLocation(String systemId, int lineNumber, int columnNumber)
           
 Leaf makeMixed(Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeNotAllowed(org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeOneOrMore(Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeOptional(Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeText(org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeValue(String datatypeLibrary, String type, String value, org.kohsuke.rngom.parse.Context c, String ns, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 Leaf makeZeroOrMore(Leaf leaf, org.kohsuke.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
           
 boolean usesComments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaBuilderImpl

public SchemaBuilderImpl(com.sun.codemodel.JCodeModel codeModel)
Method Detail

expandPattern

public Leaf expandPattern(Leaf leaf)
                   throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
expandPattern in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

getNameClassBuilder

public org.kohsuke.rngom.ast.builder.NameClassBuilder getNameClassBuilder()
                                                                   throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
getNameClassBuilder in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeChoice

public Leaf makeChoice(List<Leaf> leaves,
                       org.kohsuke.rngom.ast.util.LocatorImpl locator,
                       com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeChoice in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeInterleave

public Leaf makeInterleave(List<Leaf> leaves,
                           org.kohsuke.rngom.ast.util.LocatorImpl locator,
                           com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                    throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeInterleave in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeGroup

public Leaf makeGroup(List<Leaf> leaves,
                      org.kohsuke.rngom.ast.util.LocatorImpl locator,
                      com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
               throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeGroup in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeOneOrMore

public Leaf makeOneOrMore(Leaf leaf,
                          org.kohsuke.rngom.ast.util.LocatorImpl locator,
                          com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                   throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeOneOrMore in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeZeroOrMore

public Leaf makeZeroOrMore(Leaf leaf,
                           org.kohsuke.rngom.ast.util.LocatorImpl locator,
                           com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                    throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeZeroOrMore in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeOptional

public Leaf makeOptional(Leaf leaf,
                         org.kohsuke.rngom.ast.util.LocatorImpl locator,
                         com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                  throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeOptional in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeList

public Leaf makeList(Leaf leaf,
                     org.kohsuke.rngom.ast.util.LocatorImpl locator,
                     com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
              throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeList in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeMixed

public Leaf makeMixed(Leaf leaf,
                      org.kohsuke.rngom.ast.util.LocatorImpl locator,
                      com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
               throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeMixed in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeEmpty

public Leaf makeEmpty(org.kohsuke.rngom.ast.util.LocatorImpl locator,
                      com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
Specified by:
makeEmpty in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeNotAllowed

public Leaf makeNotAllowed(org.kohsuke.rngom.ast.util.LocatorImpl locator,
                           com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
Specified by:
makeNotAllowed in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeText

public Leaf makeText(org.kohsuke.rngom.ast.util.LocatorImpl locator,
                     com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
Specified by:
makeText in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeAttribute

public Leaf makeAttribute(org.kohsuke.rngom.nc.NameClass nameClass,
                          Leaf leaf,
                          org.kohsuke.rngom.ast.util.LocatorImpl locator,
                          com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                   throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeAttribute in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeElement

public Leaf makeElement(org.kohsuke.rngom.nc.NameClass nameClass,
                        Leaf leaf,
                        org.kohsuke.rngom.ast.util.LocatorImpl locator,
                        com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                 throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeElement in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeDataPatternBuilder

public org.kohsuke.rngom.ast.builder.DataPatternBuilder makeDataPatternBuilder(String datatypeLibrary,
                                                                               String type,
                                                                               org.kohsuke.rngom.ast.util.LocatorImpl locator)
                                                                        throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeDataPatternBuilder in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeValue

public Leaf makeValue(String datatypeLibrary,
                      String type,
                      String value,
                      org.kohsuke.rngom.parse.Context c,
                      String ns,
                      org.kohsuke.rngom.ast.util.LocatorImpl locator,
                      com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
               throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
makeValue in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeGrammar

public org.kohsuke.rngom.ast.builder.Grammar<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> makeGrammar(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope)
Specified by:
makeGrammar in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

annotate

public Leaf annotate(Leaf leaf,
                     com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
              throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
annotate in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

annotateAfter

public Leaf annotateAfter(Leaf leaf,
                          org.kohsuke.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation)
                   throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
annotateAfter in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException

makeErrorPattern

public Leaf makeErrorPattern()
Specified by:
makeErrorPattern in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

usesComments

public boolean usesComments()
Specified by:
usesComments in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeExternalRef

public Leaf makeExternalRef(org.kohsuke.rngom.parse.Parseable current,
                            String uri,
                            String ns,
                            org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope,
                            org.kohsuke.rngom.ast.util.LocatorImpl locator,
                            com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)
                     throws org.kohsuke.rngom.ast.builder.BuildException,
                            org.kohsuke.rngom.parse.IllegalSchemaException
Specified by:
makeExternalRef in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException
org.kohsuke.rngom.parse.IllegalSchemaException

makeLocation

public org.kohsuke.rngom.ast.util.LocatorImpl makeLocation(String systemId,
                                                           int lineNumber,
                                                           int columnNumber)
Specified by:
makeLocation in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeAnnotations

public com.sun.tools.txw2.builder.relaxng.AnnotationsImpl makeAnnotations(CommentListImpl commentList,
                                                                          org.kohsuke.rngom.parse.Context context)
Specified by:
makeAnnotations in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeElementAnnotationBuilder

public org.kohsuke.rngom.ast.builder.ElementAnnotationBuilder<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> makeElementAnnotationBuilder(String ns,
                                                                                                                                                                                                                                                            String localName,
                                                                                                                                                                                                                                                            String prefix,
                                                                                                                                                                                                                                                            org.kohsuke.rngom.ast.util.LocatorImpl locator,
                                                                                                                                                                                                                                                            CommentListImpl commentList,
                                                                                                                                                                                                                                                            org.kohsuke.rngom.parse.Context context)
Specified by:
makeElementAnnotationBuilder in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

makeCommentList

public CommentListImpl makeCommentList()
Specified by:
makeCommentList in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>

commentAfter

public Leaf commentAfter(Leaf leaf,
                         CommentListImpl commentList)
                  throws org.kohsuke.rngom.ast.builder.BuildException
Specified by:
commentAfter in interface org.kohsuke.rngom.ast.builder.SchemaBuilder<org.kohsuke.rngom.nc.NameClass,Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl>
Throws:
org.kohsuke.rngom.ast.builder.BuildException


Copyright © 2012 Oracle. All Rights Reserved.