deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.commons.xml.schema
Class GrammarPoolManager

java.lang.Object
  extended by org.deegree.commons.xml.schema.GrammarPoolManager

 class GrammarPoolManager
extends Object

Manages pre-populated GrammarPool instances to minimize fetching and parsing of XML schema documents over the internet.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $

Field Summary
static String GRAMMAR_POOL
          Property identifier: grammar pool.
protected static String HONOUR_ALL_SCHEMA_LOCATIONS_ID
          Honour all schema locations feature id (http://apache.org/xml/features/honour-all-schemaLocations).
protected static String NAMESPACES_FEATURE_ID
          Namespaces feature id (http://xml.org/sax/features/namespaces).
protected static String SCHEMA_FULL_CHECKING_FEATURE_ID
          Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking).
protected static String SCHEMA_VALIDATION_FEATURE_ID
          Schema validation feature id (http://apache.org/xml/features/validation/schema).
static String SYMBOL_TABLE
          Property identifier: symbol table.
protected static String VALIDATION_FEATURE_ID
          Validation feature id (http://xml.org/sax/features/validation).
 
Constructor Summary
GrammarPoolManager()
           
 
Method Summary
(package private) static GrammarPool getGrammarPool(String... schemaUris)
          Returns a GrammarPool that contains the preparsed schemas from the specified URIs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYMBOL_TABLE

public static final String SYMBOL_TABLE
Property identifier: symbol table.

See Also:
Constant Field Values

GRAMMAR_POOL

public static final String GRAMMAR_POOL
Property identifier: grammar pool.

See Also:
Constant Field Values

NAMESPACES_FEATURE_ID

protected static final String NAMESPACES_FEATURE_ID
Namespaces feature id (http://xml.org/sax/features/namespaces).

See Also:
Constant Field Values

VALIDATION_FEATURE_ID

protected static final String VALIDATION_FEATURE_ID
Validation feature id (http://xml.org/sax/features/validation).

See Also:
Constant Field Values

SCHEMA_VALIDATION_FEATURE_ID

protected static final String SCHEMA_VALIDATION_FEATURE_ID
Schema validation feature id (http://apache.org/xml/features/validation/schema).

See Also:
Constant Field Values

SCHEMA_FULL_CHECKING_FEATURE_ID

protected static final String SCHEMA_FULL_CHECKING_FEATURE_ID
Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking).

See Also:
Constant Field Values

HONOUR_ALL_SCHEMA_LOCATIONS_ID

protected static final String HONOUR_ALL_SCHEMA_LOCATIONS_ID
Honour all schema locations feature id (http://apache.org/xml/features/honour-all-schemaLocations).

See Also:
Constant Field Values
Constructor Detail

GrammarPoolManager

GrammarPoolManager()
Method Detail

getGrammarPool

static GrammarPool getGrammarPool(String... schemaUris)
                           throws org.apache.xerces.xni.XNIException,
                                  IOException
Returns a GrammarPool that contains the preparsed schemas from the specified URIs.

Parameters:
schemaUris -
Returns:
a pre-populated and locked GrammarPool object
Throws:
IOException
org.apache.xerces.xni.XNIException

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>