Modifier and Type | Field and Description |
---|---|
protected static final String | BALANCE_SYNTAX_TREES
Feature identifier: balance syntax trees. |
protected static final short | |
protected static final short | |
protected static final String | DISALLOW_DOCTYPE_DECL_FEATURE
Feature identifier: load external DTD. |
protected static final String | DTD_VALIDATOR_FACTORY_PROPERTY
Property identifier: datatype validator factory. |
protected static final String | DTD_VALIDATOR_PROPERTY
Property identifier: DTD validator. |
protected static final short | |
protected static final String | |
protected static final short | |
protected static final String | ENTITY_MANAGER
Property identifier: entity manager. |
protected static final String | ENTITY_RESOLVER
Property identifier: entity resolver. |
protected static final String | ERROR_HANDLER
Property identifier: error handler. |
protected static final String | ERROR_REPORTER
Property identifier: error reporter. |
protected List | fComponents
Components. |
protected DTDDVFactory | fCurrentDVFactory
Current Datatype validator factory. |
protected DTDDVFactory | fDatatypeValidatorFactory
The XML 1.0 Datatype validator factory. |
pack-priv XMLDocumentHandler | |
protected short | features
Normalization features |
protected final DOMErrorHandlerWrapper | |
protected XMLErrorReporter | fErrorReporter
Error reporter |
protected Locale | fLocale
Locale. |
private DOMStringList | |
private String | |
protected SymbolTable | fSymbolTable
Symbol table. |
protected ValidationManager | |
protected DTDDVFactory | fXML11DatatypeFactory
The XML 1.1 Datatype validator factory. |
protected static final String | GENERATE_SYNTHETIC_ANNOTATIONS
Feature: generate synthetic annotations |
protected static final String | GRAMMAR_POOL
Property id: Grammar pool. |
protected static final String | HONOUR_ALL_SCHEMALOCATIONS
Feature identifier: honour all schemaLocations |
protected static final short | |
protected static final short | |
protected static final short | |
protected static final String | JAXP_SCHEMA_LANGUAGE
Property identifier: JAXP schema language / DOM schema-type. |
protected static final String | JAXP_SCHEMA_SOURCE
Property identifier: JAXP schema source/ DOM schema-location. |
protected static final String | NAMESPACE_GROWTH
Feature identifier: namespace growth |
protected static final short | |
protected static final String | |
protected static final short | |
protected static final short | |
protected static final String | |
protected static final String | SCHEMA_DV_FACTORY
Property identifier: Schema DV Factory |
protected static final String | SCHEMA_ELEMENT_DEFAULT
Feature identifier: send element default value via characters() |
protected static final String | |
protected static final String | SCHEMA_LOCATION
Property identifier: schema location. |
protected static final String | SCHEMA_NONS_LOCATION
Property identifier: no namespace schema location. |
private static final String | SECURITY_MANAGER
Property identifier: Security manager. |
protected static final String | SEND_PSVI
sending psvi in the pipeline |
protected static final short | |
protected static final String | SYMBOL_TABLE
Property identifier: symbol table. |
protected static final String | |
protected static final String | USE_GRAMMAR_POOL_ONLY
Feature identifier: use grammar pool only |
protected static final short | |
protected static final String | VALIDATE_ANNOTATIONS
Feature identifier: validate annotations |
protected static final String | |
protected static final String | WARN_ON_DUPLICATE_ATTDEF
Feature identifier: warn on duplicate attribute definition. |
protected static final short | |
protected static final String | XERCES_NAMESPACES
Feature identifier: namespaces. |
protected static final String | XERCES_VALIDATION
Feature identifier: validation. |
protected static final String | |
private static final String | XML_SECURITY_PROPERTY_MANAGER
Property identifier: Security property manager. |
protected static final String | XML_STRING
Property identifier: xml string. |
Access | Constructor and Description |
---|---|
protected | |
protected | DOMConfigurationImpl(SymbolTable
The symbol table to use. symbolTable)Constructs a parser configuration using the specified symbol table. |
protected | DOMConfigurationImpl(SymbolTable
The symbol table to use. symbolTable, XMLComponentManager The parent settings. parentSettings)Constructs a parser configuration using the specified symbol table and parent settings. |
Modifier and Type | Method and Description |
---|---|
protected void | |
public boolean | Returns: true if the parameter could be successfully set to the specified value, or false if the parameter is not recognized or the requested value is not supported. This does not change the current value of the parameter itself.The name of the parameter to check. name, Object An object. if null, the returned value is true. value)Implements org. DOM Level 3 WD - Experimental. |
protected PropertyState | checkProperty(String
The unique identifier (URI) of the property
being set. propertyId)Overrides com. Check a property. |
protected ValidationManager | |
public XMLDocumentHandler | getDocumentHandler()
Implements com. Returns the registered document handler. |
public XMLDTDContentModelHandler | getDTDContentModelHandler()
Implements com. Returns the registered DTD content model handler. |
public XMLDTDHandler | getDTDHandler()
Implements com. Returns the registered DTD handler. |
public XMLEntityResolver | Returns: The current entity resolver, or null if none has been registered.Implements com. Return the current entity resolver. |
public XMLErrorHandler | Returns: The current error handler, or null if none has been registered.Implements com. Return the current error handler. |
public boolean | Returns: true if the feature is supportedThe feature identifier. featureId)Overrides com. Implements com. Returns the state of a feature. |
public Locale | getLocale()
Implements com. Returns the locale. |
public Object | getParameter(String
The name of the parameter. name)Implements org. DOM Level 3 WD - Experimental. |
public DOMStringList | getParameterNames()
Implements org. DOM Level 3 CR - Experimental. |
private static DOMException | |
private static DOMException | |
private static DOMException | |
public void | parse(XMLInputSource
The input source for the top-level of the
XML document. inputSource)Implements com. Parse an XML document. |
protected void | |
public void | setDocumentHandler(XMLDocumentHandler
The document handler. documentHandler)Implements com. Sets the document handler on the last component in the pipeline to receive information about the document. |
public void | setDTDContentModelHandler(XMLDTDContentModelHandler
The DTD content model handler. handler)Implements com. Sets the DTD content model handler. |
public void | setDTDHandler(XMLDTDHandler
The DTD handler. dtdHandler)Implements com. Sets the DTD handler. |
protected final void | |
public void | setEntityResolver(XMLEntityResolver
The new entity resolver. Passing a null value will
uninstall the currently installed resolver. resolver)Implements com. Sets the resolver used to resolve external entities. |
public void | setErrorHandler(XMLErrorHandler
The error handler. errorHandler)Implements com. Allow an application to register an error event handler. |
public void | setFeature(String
The unique identifier (URI) of the feature. featureId, boolean The requested state of the feature (true or false). state)Overrides com. Implements com. Set the state of a feature. |
public void | setLocale(Locale
The locale object to use for localization of messages. locale)Implements com. Set the locale to use for messages. |
public void | setParameter(String
The name of the parameter to set. name, Object The new value or value)null if the user wishes to
unset the parameter. While the type of the value parameter is
defined as DOMUserData , the object type must match the
type defined by the definition of the parameter. For example, if
the parameter is "error-handler", the value must be of type
DOMErrorHandler .Implements org. DOM Level 3 WD - Experimental. |
public void | setProperty(String propertyId, Object value)
Overrides com. Implements com. setProperty |
BALANCE_SYNTAX_TREES | back to summary |
---|---|
protected static final String BALANCE_SYNTAX_TREES Feature identifier: balance syntax trees. |
CDATA | back to summary |
---|---|
protected static final short CDATA |
COMMENTS | back to summary |
---|---|
protected static final short COMMENTS |
DISALLOW_DOCTYPE_DECL_FEATURE | back to summary |
---|---|
protected static final String DISALLOW_DOCTYPE_DECL_FEATURE Feature identifier: load external DTD. |
DTD_VALIDATOR_FACTORY_PROPERTY | back to summary |
---|---|
protected static final String DTD_VALIDATOR_FACTORY_PROPERTY Property identifier: datatype validator factory. |
DTD_VALIDATOR_PROPERTY | back to summary |
---|---|
protected static final String DTD_VALIDATOR_PROPERTY Property identifier: DTD validator. |
DTNORMALIZATION | back to summary |
---|---|
protected static final short DTNORMALIZATION |
DYNAMIC_VALIDATION | back to summary |
---|---|
protected static final String DYNAMIC_VALIDATION |
ENTITIES | back to summary |
---|---|
protected static final short ENTITIES |
ENTITY_MANAGER | back to summary |
---|---|
protected static final String ENTITY_MANAGER Property identifier: entity manager. |
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. |
ERROR_REPORTER | back to summary |
---|---|
protected static final String ERROR_REPORTER Property identifier: error reporter. |
fComponents | back to summary |
---|---|
protected List<XMLComponent> fComponents Components. |
fCurrentDVFactory | back to summary |
---|---|
protected DTDDVFactory fCurrentDVFactory Current Datatype validator factory. |
fDatatypeValidatorFactory | back to summary |
---|---|
protected DTDDVFactory fDatatypeValidatorFactory The XML 1.0 Datatype validator factory. |
fDocumentHandler | back to summary |
---|---|
pack-priv XMLDocumentHandler fDocumentHandler |
features | back to summary |
---|---|
protected short features Normalization features |
fErrorHandlerWrapper | back to summary |
---|---|
protected final DOMErrorHandlerWrapper fErrorHandlerWrapper |
fErrorReporter | back to summary |
---|---|
protected XMLErrorReporter fErrorReporter Error reporter |
fLocale | back to summary |
---|---|
protected Locale fLocale Locale. |
fRecognizedParameters | back to summary |
---|---|
private DOMStringList fRecognizedParameters |
fSchemaLocation | back to summary |
---|---|
private String fSchemaLocation |
fSymbolTable | back to summary |
---|---|
protected SymbolTable fSymbolTable Symbol table. |
fValidationManager | back to summary |
---|---|
protected ValidationManager fValidationManager |
fXML11DatatypeFactory | back to summary |
---|---|
protected DTDDVFactory fXML11DatatypeFactory The XML 1.1 Datatype validator factory. |
GENERATE_SYNTHETIC_ANNOTATIONS | back to summary |
---|---|
protected static final String GENERATE_SYNTHETIC_ANNOTATIONS Feature: generate synthetic annotations |
GRAMMAR_POOL | back to summary |
---|---|
protected static final String GRAMMAR_POOL Property id: Grammar pool. |
HONOUR_ALL_SCHEMALOCATIONS | back to summary |
---|---|
protected static final String HONOUR_ALL_SCHEMALOCATIONS Feature identifier: honour all schemaLocations |
INFOSET_FALSE_PARAMS | back to summary |
---|---|
protected static final short INFOSET_FALSE_PARAMS |
INFOSET_MASK | back to summary |
---|---|
protected static final short INFOSET_MASK |
INFOSET_TRUE_PARAMS | back to summary |
---|---|
protected static final short INFOSET_TRUE_PARAMS |
JAXP_SCHEMA_LANGUAGE | back to summary |
---|---|
protected static final String JAXP_SCHEMA_LANGUAGE Property identifier: JAXP schema language / DOM schema-type. |
JAXP_SCHEMA_SOURCE | back to summary |
---|---|
protected static final String JAXP_SCHEMA_SOURCE Property identifier: JAXP schema source/ DOM schema-location. |
NAMESPACE_GROWTH | back to summary |
---|---|
protected static final String NAMESPACE_GROWTH Feature identifier: namespace growth |
NAMESPACES | back to summary |
---|---|
protected static final short NAMESPACES |
NORMALIZE_DATA | back to summary |
---|---|
protected static final String NORMALIZE_DATA |
NSDECL | back to summary |
---|---|
protected static final short NSDECL |
PSVI | back to summary |
---|---|
protected static final short PSVI |
SCHEMA | back to summary |
---|---|
protected static final String SCHEMA |
SCHEMA_DV_FACTORY | back to summary |
---|---|
protected static final String SCHEMA_DV_FACTORY Property identifier: Schema DV Factory |
SCHEMA_ELEMENT_DEFAULT | back to summary |
---|---|
protected static final String SCHEMA_ELEMENT_DEFAULT Feature identifier: send element default value via characters() |
SCHEMA_FULL_CHECKING | back to summary |
---|---|
protected static final String SCHEMA_FULL_CHECKING |
SCHEMA_LOCATION | back to summary |
---|---|
protected static final String SCHEMA_LOCATION Property identifier: schema location. |
SCHEMA_NONS_LOCATION | back to summary |
---|---|
protected static final String SCHEMA_NONS_LOCATION Property identifier: no namespace schema location. |
SECURITY_MANAGER | back to summary |
---|---|
private static final String SECURITY_MANAGER Property identifier: Security manager. |
SEND_PSVI | back to summary |
---|---|
protected static final String SEND_PSVI sending psvi in the pipeline |
SPLITCDATA | back to summary |
---|---|
protected static final short SPLITCDATA |
SYMBOL_TABLE | back to summary |
---|---|
protected static final String SYMBOL_TABLE Property identifier: symbol table. |
TOLERATE_DUPLICATES | back to summary |
---|---|
protected static final String TOLERATE_DUPLICATES |
USE_GRAMMAR_POOL_ONLY | back to summary |
---|---|
protected static final String USE_GRAMMAR_POOL_ONLY Feature identifier: use grammar pool only |
VALIDATE | back to summary |
---|---|
protected static final short VALIDATE |
VALIDATE_ANNOTATIONS | back to summary |
---|---|
protected static final String VALIDATE_ANNOTATIONS Feature identifier: validate annotations |
VALIDATION_MANAGER | back to summary |
---|---|
protected static final String VALIDATION_MANAGER |
WARN_ON_DUPLICATE_ATTDEF | back to summary |
---|---|
protected static final String WARN_ON_DUPLICATE_ATTDEF Feature identifier: warn on duplicate attribute definition. |
WELLFORMED | back to summary |
---|---|
protected static final short WELLFORMED |
XERCES_NAMESPACES | back to summary |
---|---|
protected static final String XERCES_NAMESPACES Feature identifier: namespaces. |
XERCES_VALIDATION | back to summary |
---|---|
protected static final String XERCES_VALIDATION Feature identifier: validation. |
XML11_DATATYPE_VALIDATOR_FACTORY | back to summary |
---|---|
protected static final String XML11_DATATYPE_VALIDATOR_FACTORY |
XML_SECURITY_PROPERTY_MANAGER | back to summary |
---|---|
private static final String XML_SECURITY_PROPERTY_MANAGER Property identifier: Security property manager. |
XML_STRING | back to summary |
---|---|
protected static final String XML_STRING Property identifier: xml string. |
DOMConfigurationImpl | back to summary |
---|---|
protected DOMConfigurationImpl() Default Constructor. |
DOMConfigurationImpl | back to summary |
---|---|
protected DOMConfigurationImpl(SymbolTable symbolTable) Constructs a parser configuration using the specified symbol table.
|
DOMConfigurationImpl | back to summary |
---|---|
protected DOMConfigurationImpl(SymbolTable symbolTable, XMLComponentManager parentSettings) Constructs a parser configuration using the specified symbol table and parent settings.
|
addComponent | back to summary |
---|---|
protected void addComponent(XMLComponent component) |
canSetParameter | back to summary |
---|---|
public boolean canSetParameter(String name, Object value) Implements org. DOM Level 3 WD - Experimental. Check if setting a parameter to a specific value is supported.
|
checkProperty | back to summary |
---|---|
protected PropertyState checkProperty(String propertyId) throws XMLConfigurationException Overrides com. Check a property. If the property is known and supported, this method simply returns. Otherwise, the appropriate exception is thrown.
|
createValidationManager | back to summary |
---|---|
protected ValidationManager createValidationManager() |
getDocumentHandler | back to summary |
---|---|
public XMLDocumentHandler getDocumentHandler() Implements com. Returns the registered document handler. |
getDTDContentModelHandler | back to summary |
---|---|
public XMLDTDContentModelHandler getDTDContentModelHandler() Implements com. Returns the registered DTD content model handler. |
getDTDHandler | back to summary |
---|---|
public XMLDTDHandler getDTDHandler() Implements com. Returns the registered DTD handler. |
getEntityResolver | back to summary |
---|---|
public XMLEntityResolver getEntityResolver() Implements com. Return the current entity resolver.
|
getErrorHandler | back to summary |
---|---|
public XMLErrorHandler getErrorHandler() Implements com. Return the current error handler.
|
getFeature | back to summary |
---|---|
public boolean getFeature(String featureId) throws XMLConfigurationException Overrides com. Implements com. Returns the state of a feature.
|
getLocale | back to summary |
---|---|
public Locale getLocale() Implements com. Returns the locale. |
getParameter | back to summary |
---|---|
public Object getParameter(String name) throws DOMException Implements org. DOM Level 3 WD - Experimental. getParameter
|
getParameterNames | back to summary |
---|---|
public DOMStringList getParameterNames() Implements org. DOM Level 3 CR - Experimental.
The list of the parameters supported by this
|
newFeatureNotFoundError | back to summary |
---|---|
private static DOMException newFeatureNotFoundError(String name) |
newFeatureNotSupportedError | back to summary |
---|---|
private static DOMException newFeatureNotSupportedError(String name) |
newTypeMismatchError | back to summary |
---|---|
private static DOMException newTypeMismatchError(String name) |
parse | back to summary |
---|---|
public void parse(XMLInputSource inputSource) throws XNIException, IOException Implements com. Parse an XML document. The parser can use this method to instruct this configuration to begin parsing an XML document from any valid input source (a character stream, a byte stream, or a URI). Parsers may not invoke this method while a parse is in progress. Once a parse is complete, the parser may then parse another XML document. This method is synchronous: it will not return until parsing has ended. If a client application wants to terminate parsing early, it should throw an exception.
|
reset | back to summary |
---|---|
protected void reset() throws XNIException reset all components before parsing |
setDocumentHandler | back to summary |
---|---|
public void setDocumentHandler(XMLDocumentHandler documentHandler) Implements com. Sets the document handler on the last component in the pipeline to receive information about the document.
|
setDTDContentModelHandler | back to summary |
---|---|
public void setDTDContentModelHandler(XMLDTDContentModelHandler handler) Implements com. Sets the DTD content model handler.
|
setDTDHandler | back to summary |
---|---|
public void setDTDHandler(XMLDTDHandler dtdHandler) Implements com. Sets the DTD handler.
|
setDTDValidatorFactory | back to summary |
---|---|
protected final void setDTDValidatorFactory(String version) |
setEntityResolver | back to summary |
---|---|
public void setEntityResolver(XMLEntityResolver resolver) Implements com. Sets the resolver used to resolve external entities. The EntityResolver interface supports resolution of public and system identifiers.
|
setErrorHandler | back to summary |
---|---|
public void setErrorHandler(XMLErrorHandler errorHandler) Implements com. Allow an application to register an error event handler. If the application does not register an error handler, all error events reported by the SAX parser will be silently ignored; however, normal processing may not continue. It is highly recommended that all SAX applications implement an error handler to avoid unexpected bugs. Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.
|
setFeature | back to summary |
---|---|
public void setFeature(String featureId, boolean state) throws XMLConfigurationException Overrides com. Implements com. Set the state of a feature. Set the state of any feature in a SAX2 parser. The parser might not recognize the feature, and if it does recognize it, it might not be able to fulfill the request.
|
setLocale | back to summary |
---|---|
public void setLocale(Locale locale) throws XNIException Implements com. Set the locale to use for messages.
|
setParameter | back to summary |
---|---|
public void setParameter(String name, Object value) throws DOMException Implements org. DOM Level 3 WD - Experimental. setParameter
|
setProperty | back to summary |
---|---|
public void setProperty(String propertyId, Object value) throws XMLConfigurationException Overrides com. Implements com. setProperty
|