|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester.parser.XercesParser
Digester constructor, or use
Digester.setXMLSchema(javax.xml.validation.Schema) for validation.
@Deprecated public class XercesParser
Create a SAXParser based on the underlying Xerces version.
Currently, Xerces 2.3 and up doesn't implement schema validation the same way
2.1 was. In other to support schema validation in a portable way between
parser, some features/properties need to be set.
| Field Summary | |
|---|---|
protected static String |
JAXP_SCHEMA_LANGUAGE
Deprecated. The JAXP 1.2 property to set up the schemaLanguage used. |
protected static org.apache.commons.logging.Log |
log
Deprecated. The Log to which all SAX event related logging calls will be made. |
protected static float |
version
Deprecated. A float representing the underlying Xerces version |
protected static String |
versionNumber
Deprecated. The current Xerces version. |
protected static String |
XERCES_DYNAMIC
Deprecated. Xerces dynamic validation property |
protected static String |
XERCES_SCHEMA
Deprecated. Xerces schema validation property |
| Constructor Summary | |
|---|---|
XercesParser()
Deprecated. |
|
| Method Summary | |
|---|---|
static SAXParser |
newSAXParser(Properties properties)
Deprecated. Create a SAXParser based on the underlying
Xerces version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
protected static String JAXP_SCHEMA_LANGUAGE
protected static String XERCES_DYNAMIC
protected static String XERCES_SCHEMA
protected static float version
float representing the underlying Xerces version
protected static String versionNumber
| Constructor Detail |
|---|
public XercesParser()
| Method Detail |
|---|
public static SAXParser newSAXParser(Properties properties)
throws ParserConfigurationException,
SAXException,
SAXNotSupportedException
SAXParser based on the underlying
Xerces version.
properties - parser specific properties/features
SAXParser
ParserConfigurationException
SAXException
SAXNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||