|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.calitha.xml.CachingValidatingConfiguration
public final class CachingValidatingConfiguration
The CachingValidatingConfiguration represents a configuration for
SimpleDOMParser that caches and validates.
The configuration is used when you want a parser to validate the XML, and cache any external entities, such as DTD's or XML Schema's.
If you want to feed the grammar pool with the necessary grammars, then you are bettter of using the
PreParsedGrammarsConfiguration
The settings are:
| Constructor Summary | |
|---|---|
CachingValidatingConfiguration()
|
|
| Method Summary | |
|---|---|
EntityResolver |
getEntityResolver()
Gets the entity resolver. |
org.apache.xerces.xni.grammars.XMLGrammarPool |
getGrammarPool()
Gets grammar pool property |
String |
getNoNamespaceSchemaLocation()
Gets no-namespace schema location property. |
String |
getSchemaLocation()
Gets schema location property. |
boolean |
isDynamicValidation()
Gets dynamic validation feature. |
boolean |
isNamespaces()
Gets namespace processing feature. |
boolean |
isSchemaValidation()
Gets schema validation feature true - Turn on XML Schema validation false - Do not report validation errors against XML Schema default - false |
boolean |
isValidation()
Gets validation feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingValidatingConfiguration()
| Method Detail |
|---|
public boolean isNamespaces()
IParserConfiguration
isNamespaces in interface IParserConfigurationpublic boolean isValidation()
IParserConfiguration
isValidation in interface IParserConfigurationpublic boolean isDynamicValidation()
IParserConfiguration
isDynamicValidation in interface IParserConfigurationpublic boolean isSchemaValidation()
IParserConfiguration
isSchemaValidation in interface IParserConfigurationpublic org.apache.xerces.xni.grammars.XMLGrammarPool getGrammarPool()
IParserConfigurationNull by default.
getGrammarPool in interface IParserConfigurationpublic String getSchemaLocation()
IParserConfigurationThe schema specified by the user using this property will be used if the targetNamespace matches.
getSchemaLocation in interface IParserConfigurationpublic String getNoNamespaceSchemaLocation()
IParserConfigurationThis property allows the user to specify an XML Schema with no namespace.
Null by default.
getNoNamespaceSchemaLocation in interface IParserConfigurationpublic EntityResolver getEntityResolver()
IParserConfiguration
getEntityResolver in interface IParserConfigurationEntityResolver
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||