Class XML11DTDProcessor
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDProcessor
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDLoader
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XML11DTDProcessor
-
- All Implemented Interfaces:
XMLGrammarLoader
,XMLComponent
,XMLDTDContentModelFilter
,XMLDTDContentModelSource
,XMLDTDFilter
,XMLDTDSource
,XMLDTDContentModelHandler
,XMLDTDHandler
public class XML11DTDProcessor extends XMLDTDLoader
This class extends XMLDTDProcessor by giving it the ability to parse XML 1.1 documents correctly. It can also be used as a DTD loader, so that XML 1.1 external subsets can be processed correctly (hence it's rather anomalous-appearing derivation from XMLDTDLoader).- Version:
- $Id$
- Author:
- Neil Graham, IBM
-
-
Field Summary
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDLoader
BALANCE_SYNTAX_TREES, ENTITY_RESOLVER, ERROR_HANDLER, fDTDScanner, fEntityManager, fEntityResolver, fLocale, LOCALE, STANDARD_URI_CONFORMANT_FEATURE
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDProcessor
DTD_VALIDATOR, ERROR_REPORTER, fDTDContentModelHandler, fDTDContentModelSource, fDTDGrammar, fDTDHandler, fDTDSource, fDTDValidation, fErrorReporter, fGrammarBucket, fGrammarPool, fInDTDIgnore, fSymbolTable, fValidation, fValidator, fWarnDuplicateAttdef, fWarnOnUndeclaredElemdef, GRAMMAR_POOL, NOTIFY_CHAR_REFS, PARSER_SETTINGS, SYMBOL_TABLE, VALIDATION, WARN_ON_DUPLICATE_ATTDEF, WARN_ON_UNDECLARED_ELEMDEF
-
Fields inherited from interface org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.XMLDTDContentModelHandler
OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE
-
Fields inherited from interface org.smooks.engine.delivery.sax.ng.org.apache.xerces.xni.XMLDTDHandler
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE
-
-
Constructor Summary
Constructors Constructor Description XML11DTDProcessor()
XML11DTDProcessor(SymbolTable symbolTable)
XML11DTDProcessor(SymbolTable symbolTable, XMLGrammarPool grammarPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XMLDTDScannerImpl
createDTDScanner(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityManager)
protected short
getScannerVersion()
protected boolean
isValidName(String name)
protected boolean
isValidNmtoken(String nmtoken)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDLoader
getEntityResolver, getErrorHandler, getFeature, getLocale, getProperty, getRecognizedFeatures, getRecognizedProperties, loadGrammar, loadGrammarWithContext, reset, setEntityResolver, setErrorHandler, setFeature, setLocale, setProperty
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.dtd.XMLDTDProcessor
any, attributeDecl, checkStandaloneEntityRef, comment, element, elementDecl, empty, endAttlist, endConditional, endContentModel, endDTD, endExternalSubset, endGroup, endParameterEntity, externalEntityDecl, getDTDContentModelHandler, getDTDContentModelSource, getDTDHandler, getDTDSource, getFeatureDefault, getPropertyDefault, ignoredCharacters, internalEntityDecl, notationDecl, occurrence, pcdata, processingInstruction, reset, separator, setDTDContentModelHandler, setDTDContentModelSource, setDTDHandler, setDTDSource, startAttlist, startConditional, startContentModel, startDTD, startExternalSubset, startGroup, startParameterEntity, textDecl, unparsedEntityDecl
-
-
-
-
Constructor Detail
-
XML11DTDProcessor
public XML11DTDProcessor()
-
XML11DTDProcessor
public XML11DTDProcessor(SymbolTable symbolTable)
-
XML11DTDProcessor
public XML11DTDProcessor(SymbolTable symbolTable, XMLGrammarPool grammarPool)
-
-
Method Detail
-
isValidNmtoken
protected boolean isValidNmtoken(String nmtoken)
- Overrides:
isValidNmtoken
in classXMLDTDProcessor
-
isValidName
protected boolean isValidName(String name)
- Overrides:
isValidName
in classXMLDTDProcessor
-
createDTDScanner
protected XMLDTDScannerImpl createDTDScanner(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityManager)
- Overrides:
createDTDScanner
in classXMLDTDLoader
-
getScannerVersion
protected short getScannerVersion()
- Overrides:
getScannerVersion
in classXMLDTDLoader
-
-