com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarLoader

Here are the examples of the java api class com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarLoader taken from open source projects.

1. XMLGrammarPreparser#getProperty()

Project: openjdk
File: XMLGrammarPreparser.java
// getFeature (String, String):  boolean
// get status of property in a particular loader.  This
// catches no exceptions--including NPE's--so the application had
// better make sure the loader exists and knows about this property.
// <strong>For standard properties--that will be supported
// by all loaders--the specific methods should be queried!</strong>
// @param type type of grammar to look for the property in.
// @param propertyId the property string to query.
// @return the value of the property.
public Object getProperty(String type, String propertyId) {
    XMLGrammarLoader gl = fLoaders.get(type);
    return gl.getProperty(propertyId);
}

2. XMLGrammarPreparser#getFeature()

Project: openjdk
File: XMLGrammarPreparser.java
//setProperty(String, Object)
// get status of feature in a particular loader.  This
// catches no exceptions--including NPE's--so the application had
// better make sure the loader exists and knows about this feature.
// @param type type of grammar to look for the feature in.
// @param featureId the feature string to query.
// @return the value of the feature.
public boolean getFeature(String type, String featureId) {
    XMLGrammarLoader gl = fLoaders.get(type);
    return gl.getFeature(featureId);
}