public class ExternalXMLDTDValidator
extends org.apache.xerces.impl.dtd.XMLDTDValidator
XMLDTDValidator which gets the DOCTYPE dtd file from the
declared DOCTYPE.
This class extends XMLDTDValidator to set the DOCTYPE dtd file with
setExternalDoctype(String)| Modifier and Type | Field and Description |
|---|---|
static String |
DOCTYPE |
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 and Description |
|---|
ExternalXMLDTDValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
void |
reset(org.apache.xerces.xni.parser.XMLComponentManager componentManager) |
void |
setExternalDoctype(String externalDoctype) |
void |
setLocator(org.apache.xerces.xni.XMLLocator locator) |
void |
startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs) |
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs) |
addDTDDefaultAttrsAndValidate, characterData, characters, comment, doctypeDecl, endCDATA, endDocument, endElement, endGeneralEntity, endNamespaceScope, getDocumentHandler, getDocumentSource, getExternalEntityRefInAttrValue, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, handleEndElement, handleStartElement, hasGrammar, ignorableWhitespace, init, invalidStandaloneAttDef, isSpace, processingInstruction, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startGeneralEntity, startNamespaceScope, textDecl, validate, validateDTDattribute, xmlDeclpublic static final String DOCTYPE
public void setExternalDoctype(String externalDoctype)
public void setLocator(org.apache.xerces.xni.XMLLocator locator)
public void startDocument(org.apache.xerces.xni.XMLLocator locator,
String encoding,
org.apache.xerces.xni.NamespaceContext namespaceContext,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startDocument in interface org.apache.xerces.xni.XMLDocumentHandlerstartDocument in class org.apache.xerces.impl.dtd.XMLDTDValidatororg.apache.xerces.xni.XNIExceptionpublic void startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
startElement in interface org.apache.xerces.xni.XMLDocumentHandlerstartElement in class org.apache.xerces.impl.dtd.XMLDTDValidatororg.apache.xerces.xni.XNIExceptionpublic void emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes attributes,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
emptyElement in interface org.apache.xerces.xni.XMLDocumentHandleremptyElement in class org.apache.xerces.impl.dtd.XMLDTDValidatororg.apache.xerces.xni.XNIExceptionpublic void reset(org.apache.xerces.xni.parser.XMLComponentManager componentManager)
throws org.apache.xerces.xni.parser.XMLConfigurationException
reset in interface org.apache.xerces.xni.parser.XMLComponentreset in class org.apache.xerces.impl.dtd.XMLDTDValidatororg.apache.xerces.xni.parser.XMLConfigurationExceptionCopyright © 2020. All rights reserved.