| 
 | BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectweblogic.apache.xerces.impl.dtd.XMLDTDProcessor
weblogic.apache.xerces.impl.dtd.XMLDTDLoader
The DTD loader. The loader knows how to build grammars from XMLInputSources. It extends the dTD processor in order to do this; it's a separate class because DTD processors don't need to know how to talk to the outside world in their role as instance-document helpers.
This component requires the following features and properties. It know ho to set them if no one else does:from the
| Field Summary | |
| static String | ENTITY_RESOLVERDeprecated. Property identifier: entity resolver. | 
| protected static String | ERROR_HANDLERDeprecated. Property identifier: error handler. | 
| protected  XMLDTDScannerImpl | fDTDScannerDeprecated. | 
| protected  XMLEntityManager | fEntityManagerDeprecated. | 
| protected  XMLEntityResolver | fEntityResolverDeprecated. Entity resolver . | 
| protected  Locale | fLocaleDeprecated. | 
| Fields inherited from class weblogic.apache.xerces.impl.dtd.XMLDTDProcessor | 
| DTD_VALIDATOR, ERROR_REPORTER, fDTDContentModelHandler, fDTDGrammar, fDTDHandler, fDTDValidation, fErrorReporter, fGrammarBucket, fGrammarPool, fInDTDIgnore, fSymbolTable, fValidation, fValidator, fWarnDuplicateAttdef, GRAMMAR_POOL, NOTIFY_CHAR_REFS, SYMBOL_TABLE, VALIDATION, WARN_ON_DUPLICATE_ATTDEF | 
| Fields inherited from interface weblogic.apache.xerces.xni.XMLDTDHandler | 
| CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE | 
| Fields inherited from interface weblogic.apache.xerces.xni.XMLDTDContentModelHandler | 
| OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE | 
| Constructor Summary | |
| XMLDTDLoader()Deprecated. Deny default construction; we need a SymtolTable! | |
| XMLDTDLoader(SymbolTable symbolTable)Deprecated. | |
| XMLDTDLoader(SymbolTable symbolTable,
             XMLGrammarPool grammarPool)Deprecated. | |
| Method Summary | |
|  XMLEntityResolver | getEntityResolver()Deprecated. Returns the registered entity resolver. | 
|  XMLErrorHandler | getErrorHandler()Deprecated. Returns the registered error handler. | 
|  boolean | getFeature(String featureId)Deprecated. Returns the state of a feature. | 
|  Locale | getLocale()Deprecated. Return the Locale the XMLGrammarLoader is using. | 
|  Object | getProperty(String propertyId)Deprecated. Returns the state of a property. | 
|  String[] | getRecognizedProperties()Deprecated. Returns a list of property identifiers that are recognized by this component. | 
|  Grammar | loadGrammar(XMLInputSource source)Deprecated. Returns a Grammar object by parsing the contents of the entity pointed to by source. | 
|  void | setEntityResolver(XMLEntityResolver entityResolver)Deprecated. Sets the entity resolver. | 
|  void | setErrorHandler(XMLErrorHandler errorHandler)Deprecated. Sets the error handler. | 
|  void | setFeature(String featureId,
           boolean state)Deprecated. Sets the state of a feature. | 
|  void | setLocale(Locale locale)Deprecated. Set the locale to use for messages. | 
|  void | setProperty(String propertyId,
            Object value)Deprecated. Sets the value of a property. | 
| Methods inherited from class weblogic.apache.xerces.impl.dtd.XMLDTDProcessor | 
| any, attributeDecl, checkStandaloneEntityRef, comment, element, elementDecl, empty, endAttlist, endConditional, endContentModel, endDTD, endExternalSubset, endGroup, endParameterEntity, externalEntityDecl, getRecognizedFeatures, ignoredCharacters, internalEntityDecl, notationDecl, occurrence, pcdata, processingInstruction, reset, reset, separator, setDTDContentModelHandler, setDTDHandler, startAttlist, startConditional, startContentModel, startDTD, startExternalSubset, startGroup, startParameterEntity, textDecl, unparsedEntityDecl | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface weblogic.apache.xerces.xni.grammars.XMLGrammarLoader | 
| getRecognizedFeatures | 
| Field Detail | 
public static final String ENTITY_RESOLVER
protected static final String ERROR_HANDLER
protected XMLDTDScannerImpl fDTDScanner
protected XMLEntityManager fEntityManager
protected XMLEntityResolver fEntityResolver
protected Locale fLocale
| Constructor Detail | 
public XMLDTDLoader()
public XMLDTDLoader(SymbolTable symbolTable)
public XMLDTDLoader(SymbolTable symbolTable,
                    XMLGrammarPool grammarPool)
| Method Detail | 
public XMLEntityResolver getEntityResolver()
getEntityResolver in interface XMLGrammarLoaderpublic XMLErrorHandler getErrorHandler()
getErrorHandler in interface XMLGrammarLoader
public boolean getFeature(String featureId)
                   throws XMLConfigurationException
getFeature in interface XMLGrammarLoaderfeatureId - The feature identifier.
XMLConfigurationException - Thrown on configuration error.public Locale getLocale()
getLocale in interface XMLGrammarLoader
public Object getProperty(String propertyId)
                   throws XMLConfigurationException
getProperty in interface XMLGrammarLoaderpropertyId - The property identifier.
XMLConfigurationException - Thrown on configuration error.public String[] getRecognizedProperties()
getRecognizedProperties in interface XMLGrammarLoadergetRecognizedProperties in class XMLDTDProcessor
public Grammar loadGrammar(XMLInputSource source)
                    throws IOException,
                           XNIException
loadGrammar in interface XMLGrammarLoadersource - the location of the entity which forms
                          the starting point of the grammar to be constructed.
IOException - When a problem is encountered reading the entity
          XNIException    When a condition arises (such as a FatalError) that requires parsing
                              of the entity be terminated.
XNIExceptionpublic void setEntityResolver(XMLEntityResolver entityResolver)
setEntityResolver in interface XMLGrammarLoaderentityResolver - The new entity resolver.public void setErrorHandler(XMLErrorHandler errorHandler)
setErrorHandler in interface XMLGrammarLoadererrorHandler - The error handler.
public void setFeature(String featureId,
                       boolean state)
                throws XMLConfigurationException
Note: Components should silently ignore features that do not affect the operation of the component.
setFeature in interface XMLGrammarLoadersetFeature in class XMLDTDProcessorfeatureId - The feature identifier.state - The state of the feature.
SAXNotRecognizedException - The component should not throw
                                   this exception.
SAXNotSupportedException - The component should not throw
                                  this exception.
XMLConfigurationExceptionpublic void setLocale(Locale locale)
setLocale in interface XMLGrammarLoaderlocale - The locale object to use for localization of messages.
XNIException - Thrown if the parser does not support the
                         specified locale.
public void setProperty(String propertyId,
                        Object value)
                 throws XMLConfigurationException
Note: Components should silently ignore properties that do not affect the operation of the component.
setProperty in interface XMLGrammarLoadersetProperty in class XMLDTDProcessorpropertyId - The property identifier.value - The value of the property.
SAXNotRecognizedException - The component should not throw
                                   this exception.
SAXNotSupportedException - The component should not throw
                                  this exception.
XMLConfigurationException| 
 | Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||