Interface HTMLComponent
- All Superinterfaces:
XMLComponent
- All Known Implementing Classes:
DefaultFilter, HTMLScanner, HTMLTagBalancer, HTMLWriterFilter, NamespaceBinder
This interface extends the XNI
XMLComponent interface
to add methods that allow the preferred default values for features
and properties to be queried.-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureDefault(String featureId) Returns the default state for a feature, or null if this component does not want to report a default value for this feature.getPropertyDefault(String propertyId) Returns the default state for a property, or null if this component does not want to report a default value for this property.Methods inherited from interface XMLComponent
getRecognizedFeatures, getRecognizedProperties, reset, setFeature, setProperty
-
Method Details
-
getFeatureDefault
Returns the default state for a feature, or null if this component does not want to report a default value for this feature.- Specified by:
getFeatureDefaultin interfaceXMLComponent- Parameters:
featureId- The feature identifier.- Returns:
- the default state for a feature, or null if this component does not want to report a default value for this feature.
-
getPropertyDefault
Returns the default state for a property, or null if this component does not want to report a default value for this property.- Specified by:
getPropertyDefaultin interfaceXMLComponent- Parameters:
propertyId- The property identifier.- Returns:
- the default state for a property, or null if this component does not want to report a default value for this property
-