This component requires the following features and properties. It know ho to set them if no one else does:from the
| Modifier and Type | Field and Description |
|---|---|
| protected static final String | BALANCE_SYNTAX_TREES
Feature identifier: balance syntax trees. |
| protected static final String | ENTITY_RESOLVER
Property identifier: entity resolver. |
| protected static final String | ERROR_HANDLER
Property identifier: error handler. |
| private boolean | fBalanceSyntaxTrees
Controls whether the DTD grammar produces balanced syntax trees. |
| protected XMLDTDScannerImpl | |
| protected XMLEntityManager | |
| protected XMLEntityResolver | fEntityResolver
Entity resolver . |
| protected Locale | |
| private boolean | |
| private static final String[] | |
| private static final String[] | LOADER_RECOGNIZED_PROPERTIES
Recognized properties. |
| protected static final String | LOCALE
Property identifier: locale. |
| protected static final String | STANDARD_URI_CONFORMANT_FEATURE
Feature identifier: standard uri conformant feature. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| pack-priv | XMLDTDLoader(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLErrorReporter errorReporter, XMLEntityResolver entityResolver)
|
| BALANCE_SYNTAX_TREES | back to summary |
|---|---|
| protected static final String BALANCE_SYNTAX_TREES Feature identifier: balance syntax trees. | |
| ENTITY_RESOLVER | back to summary |
|---|---|
| protected static final String ENTITY_RESOLVER Property identifier: entity resolver. | |
| ERROR_HANDLER | back to summary |
|---|---|
| protected static final String ERROR_HANDLER Property identifier: error handler. | |
| fBalanceSyntaxTrees | back to summary |
|---|---|
| private boolean fBalanceSyntaxTrees Controls whether the DTD grammar produces balanced syntax trees. | |
| fDTDScanner | back to summary |
|---|---|
| protected XMLDTDScannerImpl fDTDScanner | |
| fEntityManager | back to summary |
|---|---|
| protected XMLEntityManager fEntityManager | |
| fEntityResolver | back to summary |
|---|---|
| protected XMLEntityResolver fEntityResolver Entity resolver . | |
| fLocale | back to summary |
|---|---|
| protected Locale fLocale | |
| fStrictURI | back to summary |
|---|---|
| private boolean fStrictURI | |
| LOADER_RECOGNIZED_FEATURES | back to summary |
|---|---|
| private static final String[] LOADER_RECOGNIZED_FEATURES | |
| LOADER_RECOGNIZED_PROPERTIES | back to summary |
|---|---|
| private static final String[] LOADER_RECOGNIZED_PROPERTIES Recognized properties. | |
| LOCALE | back to summary |
|---|---|
| protected static final String LOCALE Property identifier: locale. | |
| STANDARD_URI_CONFORMANT_FEATURE | back to summary |
|---|---|
| protected static final String STANDARD_URI_CONFORMANT_FEATURE Feature identifier: standard uri conformant feature. | |
| XMLDTDLoader | back to summary |
|---|---|
| public XMLDTDLoader() Deny default construction; we need a SymtolTable! | |
| XMLDTDLoader | back to summary |
|---|---|
| public XMLDTDLoader(SymbolTable symbolTable) | |
| XMLDTDLoader | back to summary |
|---|---|
| public XMLDTDLoader(SymbolTable symbolTable, XMLGrammarPool grammarPool) | |
| XMLDTDLoader | back to summary |
|---|---|
| pack-priv XMLDTDLoader(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLErrorReporter errorReporter, XMLEntityResolver entityResolver) | |
| createDTDScanner | back to summary |
|---|---|
| protected XMLDTDScannerImpl createDTDScanner(SymbolTable symbolTable, XMLErrorReporter errorReporter, XMLEntityManager entityManager) | |
| getEntityResolver | back to summary |
|---|---|
| public XMLEntityResolver getEntityResolver() Implements org. Returns the registered entity resolver. | |
| getErrorHandler | back to summary |
|---|---|
| public XMLErrorHandler getErrorHandler() Implements org. Returns the registered error handler. | |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String featureId) throws XMLConfigurationException Implements org. Returns the state of a feature.
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Implements org. Return the Locale the XMLGrammarLoader is using. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String propertyId) throws XMLConfigurationException Implements org. Returns the state of a property.
| |
| getRecognizedFeatures | back to summary |
|---|---|
| public String[] getRecognizedFeatures() Overrides org. Implements org. Returns a list of feature identifiers that are recognized by this component. This method may return null if no features are recognized by this component. | |
| getRecognizedProperties | back to summary |
|---|---|
| public String[] getRecognizedProperties() Overrides org. Implements org. Returns a list of property identifiers that are recognized by this component. This method may return null if no properties are recognized by this component. | |
| getScannerVersion | back to summary |
|---|---|
| protected short getScannerVersion() | |
| loadGrammar | back to summary |
|---|---|
| public Grammar loadGrammar(XMLInputSource source) throws IOException, XNIException Implements org. Returns a Grammar object by parsing the contents of the entity pointed to by source.
| |
| loadGrammarWithContext | back to summary |
|---|---|
| public void loadGrammarWithContext(XMLDTDValidator validator, String rootName, String publicId, String systemId, String baseSystemId, String internalSubset) throws IOException, XNIException Parse a DTD internal and/or external subset and insert the content into the existing DTD grammar owned by the given DTDValidator. | |
| reset | back to summary |
|---|---|
| protected void reset() | |
| setEntityResolver | back to summary |
|---|---|
| public void setEntityResolver(XMLEntityResolver entityResolver) Implements org. Sets the entity resolver.
| |
| setErrorHandler | back to summary |
|---|---|
| public void setErrorHandler(XMLErrorHandler errorHandler) Implements org. Sets the error handler.
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(String featureId, boolean state) throws XMLConfigurationException Overrides org. Implements org. Sets the state of a feature. This method is called by the component manager any time after reset when a feature changes state. Note Components should silently ignore features that do not affect the operation of the component.
| |
| setLocale | back to summary |
|---|---|
| public void setLocale(Locale locale) Implements org. Set the locale to use for messages.
| |
| setProperty | back to summary |
|---|---|
| public void setProperty(String propertyId, Object value) throws XMLConfigurationException Overrides org. Implements org. Sets the value of a property. This method is called by the component manager any time after reset when a property changes value. Note Components should silently ignore properties that do not affect the operation of the component.
| |