org.apache.xerces.impl.dtd
Class XML11DTDValidator

java.lang.Object
  |
  +--org.apache.xerces.impl.dtd.XMLDTDValidator
        |
        +--org.apache.xerces.impl.dtd.XML11DTDValidator
All Implemented Interfaces:
org.apache.xerces.xni.parser.XMLComponent, org.apache.xerces.xni.parser.XMLDocumentFilter, org.apache.xerces.xni.XMLDocumentHandler, org.apache.xerces.xni.parser.XMLDocumentSource, XMLDTDValidatorFilter

public class XML11DTDValidator
extends XMLDTDValidator

This allows the validator to correctlyhandle XML 1.1 documents.

Version:
$Id: XML11DTDValidator.java,v 1.1 2002/12/07 00:18:53 neilg Exp $
Author:
Neil Graham

Field Summary
protected static java.lang.String DTD_VALIDATOR_PROPERTY
           
 
Fields inherited from class org.apache.xerces.impl.dtd.XMLDTDValidator
DATATYPE_VALIDATOR_FACTORY, DYNAMIC_VALIDATION, ERROR_REPORTER, 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, SYMBOL_TABLE, VALIDATION, VALIDATION_MANAGER, WARN_ON_DUPLICATE_ATTDEF
 
Constructor Summary
XML11DTDValidator()
          Default constructor.
 
Method Summary
protected  void init()
          initialization
protected  boolean isSpace(int c)
           
 void reset(org.apache.xerces.xni.parser.XMLComponentManager manager)
          Resets the component.
 
Methods inherited from class org.apache.xerces.impl.dtd.XMLDTDValidator
addDTDDefaultAttrsAndValidate, characters, comment, doctypeDecl, emptyElement, endCDATA, endDocument, endElement, endGeneralEntity, endNamespaceScope, getDocumentHandler, getDocumentSource, getExternalEntityRefInAttrValue, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, handleEndElement, handleStartElement, hasGrammar, ignorableWhitespace, invalidStandaloneAttDef, processingInstruction, setDocumentHandler, setDocumentSource, setFeature, setProperty, startCDATA, startDocument, startElement, startGeneralEntity, startNamespaceScope, textDecl, validate, validateDTDattribute, xmlDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DTD_VALIDATOR_PROPERTY

protected static final java.lang.String DTD_VALIDATOR_PROPERTY
Constructor Detail

XML11DTDValidator

public XML11DTDValidator()
Default constructor.
Method Detail

reset

public void reset(org.apache.xerces.xni.parser.XMLComponentManager manager)
Description copied from interface: org.apache.xerces.xni.parser.XMLComponent
Resets the component. The component can query the component manager about any features and properties that affect the operation of the component.
Overrides:
reset in class XMLDTDValidator
Following copied from interface: org.apache.xerces.xni.parser.XMLComponent
Parameters:
componentManager - The component manager.
Throws:
XNIException - Thrown by component on initialization error.

isSpace

protected boolean isSpace(int c)
Overrides:
isSpace in class XMLDTDValidator

init

protected void init()
Description copied from class: XMLDTDValidator
initialization
Overrides:
init in class XMLDTDValidator


Copyright © 1999-2003 Apache XML Project. All Rights Reserved.