Package org.htmlunit.cyberneko
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 org.htmlunit.cyberneko.xerces.xni.parser.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:
getFeatureDefault
in 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:
getPropertyDefault
in 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
-