Package com.sun.msv.grammar.util

Examples of com.sun.msv.grammar.util.RefExpRemover


        final Map name2value = new HashMap();
       
        // a set of all ElementExps in the grammar.
        final Set elements = new HashSet();
       
        final RefExpRemover remover = new RefExpRemover(reader.pool,false);
       
        /*
        The first pass
        --------------
       
View Full Code Here


   
    if( grammar instanceof XMLSchemaGrammar )
      topLevel = topLevel.visit( new SchemaLocationRemover(grammar.getPool()) );
   
 
    topLevel = topLevel.visit( new RefExpRemover(grammar.getPool(),true) );
       
        if(rootName!=null) {
            topLevel = findElement(topLevel,rootName);
            if(topLevel==null) {
                out.println("unable to find the specified root element: "+rootName);
View Full Code Here

    public Expression getExpandedExp(ExpressionPool pool) {
        if (expandedExp == null) {
            // this part of the code may be called by the multiple threads
            // even if that happens, there is no consistency problem
            // because two thread will compute the same value.
            expandedExp = this.visit(new RefExpRemover(pool, false));
        }
        return expandedExp;
    }
View Full Code Here

    public Expression getExpandedExp(ExpressionPool pool) {
        if (expandedExp == null) {
            // this part of the code may be called by the multiple threads
            // even if that happens, there is no consistency problem
            // because two thread will compute the same value.
            expandedExp = this.visit(new RefExpRemover(pool, false));
        }
        return expandedExp;
    }
View Full Code Here

        final Map name2value = new HashMap();
       
        // a set of all ElementExps in the grammar.
        final Set elements = new HashSet();
       
        final RefExpRemover remover = new RefExpRemover(reader.pool,false);
       
        /*
        The first pass
        --------------
       
View Full Code Here

TOP

Related Classes of com.sun.msv.grammar.util.RefExpRemover

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.