All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.msv.relaxns.grammar.RELAXGrammar Maven / Gradle / Ivy

There is a newer version: 2.2.5.1
Show newest version
/*
 * @(#)$Id: RELAXGrammar.java,v 1.5 2004/04/05 17:42:26 kohsuke Exp $
 *
 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the proprietary information of Sun Microsystems, Inc.  
 * Use is subject to license terms.
 * 
 */
package com.sun.msv.relaxns.grammar;

import java.util.Map;

import com.sun.msv.grammar.Expression;
import com.sun.msv.grammar.ExpressionPool;
import com.sun.msv.grammar.Grammar;

/**
 * "Grammar" of RELAX Namespace.
 * 
 * @author Kohsuke KAWAGUCHI
 */
public class RELAXGrammar implements Grammar {
    
    /**
     * map from namespace URI to IslandSchema.
     * All modules are stored in this map.
     * 
     * @see org.iso_relax.dispatcher.IslandSchema
     */
    public final Map moduleMap = new java.util.HashMap();
    
    /** top-level expression */
    public Expression topLevel;
    public Expression getTopLevel() { return topLevel; }
    
    /** expression pool that was used to create these objects */
    public final ExpressionPool pool;
    public ExpressionPool getPool() { return pool; }
    
    public RELAXGrammar( ExpressionPool pool ) { this.pool = pool; }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy