Package org.htmlunit.cyberneko
Interface HTMLComponent
-
- All Superinterfaces:
XMLComponent
- All Known Implementing Classes:
DefaultFilter,HTMLScanner,HTMLTagBalancer,HTMLWriterFilter,NamespaceBinder
public interface HTMLComponent extends XMLComponent
This interface extends the XNIXMLComponentinterface to add methods that allow the preferred default values for features and properties to be queried.- Author:
- Andy Clark
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleangetFeatureDefault(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.ObjectgetPropertyDefault(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 Detail
-
getFeatureDefault
Boolean getFeatureDefault(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.- 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
Object 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.- 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
-
-