Class XML11DTDValidator
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDValidator
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XML11DTDValidator
-
- All Implemented Interfaces:
XMLDTDValidatorFilter
,RevalidationHandler
,XMLComponent
,XMLDocumentFilter
,XMLDocumentSource
,XMLDocumentHandler
- Direct Known Subclasses:
XML11NSDTDValidator
public class XML11DTDValidator extends XMLDTDValidator
This allows the validator to correctlyhandle XML 1.1 documents.- Version:
- $Id$
- Author:
- Neil Graham
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DTD_VALIDATOR_PROPERTY
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDValidator
BALANCE_SYNTAX_TREES, DATATYPE_VALIDATOR_FACTORY, DYNAMIC_VALIDATION, ERROR_REPORTER, fBalanceSyntaxTrees, fDatatypeValidatorFactory, fDocLocation, fDocumentHandler, fDocumentSource, fDTDGrammar, fDTDValidation, fDynamicValidation, fErrorReporter, fGrammarBucket, fGrammarPool, fNamespaceContext, fNamespaces, fSeenDoctypeDecl, fSymbolTable, fValENTITIES, fValENTITY, fValID, fValidation, fValidationManager, fValidationState, fValIDRef, fValIDRefs, fValNMTOKEN, fValNMTOKENS, fValNOTATION, fWarnDuplicateAttdef, GRAMMAR_POOL, NAMESPACES, PARSER_SETTINGS, SYMBOL_TABLE, VALIDATION, VALIDATION_MANAGER, WARN_ON_DUPLICATE_ATTDEF
-
-
Constructor Summary
Constructors Constructor Description XML11DTDValidator()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init()
initializationvoid
reset(XMLComponentManager manager)
Resets the component.-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDValidator
addDTDDefaultAttrsAndValidate, characterData, characters, comment, doctypeDecl, emptyElement, endCDATA, endDocument, endElement, endGeneralEntity, endNamespaceScope, getDocumentHandler, getDocumentSource, getExternalEntityRefInAttrValue, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, handleEndElement, handleStartElement, hasGrammar, ignorableWhitespace, invalidStandaloneAttDef, isSpace, processingInstruction, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startDocument, startElement, startGeneralEntity, startNamespaceScope, textDecl, validate, validateDTDattribute, xmlDecl
-
-
-
-
Field Detail
-
DTD_VALIDATOR_PROPERTY
protected static final String DTD_VALIDATOR_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
reset
public void reset(XMLComponentManager manager)
Description copied from interface:XMLComponent
Resets the component. The component can query the component manager about any features and properties that affect the operation of the component.- Specified by:
reset
in interfaceXMLComponent
- Overrides:
reset
in classXMLDTDValidator
- Parameters:
manager
- The component manager.
-
init
protected void init()
Description copied from class:XMLDTDValidator
initialization- Overrides:
init
in classXMLDTDValidator
-
-