Package org.fife.rsta.ac.xml
Class DtdValidationConfig
- java.lang.Object
-
- org.fife.rsta.ac.xml.DtdValidationConfig
-
- All Implemented Interfaces:
ValidationConfig
public class DtdValidationConfig extends java.lang.Object implements ValidationConfig
Configuration information for validating XML against a DTD.- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private org.xml.sax.EntityResolverentityResolver
-
Constructor Summary
Constructors Constructor Description DtdValidationConfig(org.xml.sax.EntityResolver entityResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureHandler(XmlParser.Handler handler)Configures the actual handler instance.voidconfigureParser(XmlParser parser)Configures the parser itself.
-
-
-
Method Detail
-
configureParser
public void configureParser(XmlParser parser)
Description copied from interface:ValidationConfigConfigures the parser itself. Called when this config is first set on anXmlParser.- Specified by:
configureParserin interfaceValidationConfig- Parameters:
parser- The parser to configure.
-
configureHandler
public void configureHandler(XmlParser.Handler handler)
Description copied from interface:ValidationConfigConfigures the actual handler instance. Called before each parsing of the document.- Specified by:
configureHandlerin interfaceValidationConfig- Parameters:
handler- The handler to configure.
-
-