Class SchemaBuilderImpl

  • All Implemented Interfaces:
    com.sun.tools.rngom.ast.builder.SchemaBuilder<com.sun.tools.rngom.nc.NameClass,​Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl>

    public final class SchemaBuilderImpl
    extends Object
    implements com.sun.tools.rngom.ast.builder.SchemaBuilder<com.sun.tools.rngom.nc.NameClass,​Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.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

      Constructors 
      Constructor Description
      SchemaBuilderImpl​(com.sun.codemodel.JCodeModel codeModel)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Leaf annotate​(Leaf leaf, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf annotateAfter​(Leaf leaf, com.sun.tools.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation)  
      Leaf commentAfter​(Leaf leaf, CommentListImpl commentList)  
      Leaf expandPattern​(Leaf leaf)  
      com.sun.tools.rngom.ast.builder.NameClassBuilder getNameClassBuilder()  
      com.sun.tools.txw2.builder.relaxng.AnnotationsImpl makeAnnotations​(CommentListImpl commentList, com.sun.tools.rngom.parse.Context context)  
      Leaf makeAttribute​(com.sun.tools.rngom.nc.NameClass nameClass, Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeChoice​(List<Leaf> leaves, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      CommentListImpl makeCommentList()  
      com.sun.tools.rngom.ast.builder.DataPatternBuilder makeDataPatternBuilder​(String datatypeLibrary, String type, com.sun.tools.rngom.ast.util.LocatorImpl locator)  
      Leaf makeElement​(com.sun.tools.rngom.nc.NameClass nameClass, Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      com.sun.tools.rngom.ast.builder.ElementAnnotationBuilder<Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl> makeElementAnnotationBuilder​(String ns, String localName, String prefix, com.sun.tools.rngom.ast.util.LocatorImpl locator, CommentListImpl commentList, com.sun.tools.rngom.parse.Context context)  
      Leaf makeEmpty​(com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeErrorPattern()  
      Leaf makeExternalRef​(com.sun.tools.rngom.parse.Parseable current, String uri, String ns, com.sun.tools.rngom.ast.builder.Scope<Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl> scope, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      com.sun.tools.rngom.ast.builder.Grammar<Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl> makeGrammar​(com.sun.tools.rngom.ast.builder.Scope<Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl> scope)  
      Leaf makeGroup​(List<Leaf> leaves, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeInterleave​(List<Leaf> leaves, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeList​(Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      com.sun.tools.rngom.ast.util.LocatorImpl makeLocation​(String systemId, int lineNumber, int columnNumber)  
      Leaf makeMixed​(Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeNotAllowed​(com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeOneOrMore​(Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeOptional​(Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeText​(com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeValue​(String datatypeLibrary, String type, String value, com.sun.tools.rngom.parse.Context c, String ns, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      Leaf makeZeroOrMore​(Leaf leaf, com.sun.tools.rngom.ast.util.LocatorImpl locator, com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations)  
      boolean usesComments()  
    • Constructor Detail

      • SchemaBuilderImpl

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

      • expandPattern

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public com.sun.tools.rngom.ast.builder.Grammar<Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl> makeGrammar​(com.sun.tools.rngom.ast.builder.Scope<Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl> scope)
        Specified by:
        makeGrammar in interface com.sun.tools.rngom.ast.builder.SchemaBuilder<com.sun.tools.rngom.nc.NameClass,​Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.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 com.sun.tools.rngom.ast.builder.BuildException
        Specified by:
        annotate in interface com.sun.tools.rngom.ast.builder.SchemaBuilder<com.sun.tools.rngom.nc.NameClass,​Leaf,​com.sun.tools.rngom.ast.om.ParsedElementAnnotation,​com.sun.tools.rngom.ast.util.LocatorImpl,​com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,​CommentListImpl>
        Throws:
        com.sun.tools.rngom.ast.builder.BuildException
      • annotateAfter

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

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

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

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

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

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

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

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

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