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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleangetFeatureDefault(java.lang.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.java.lang.ObjectgetPropertyDefault(java.lang.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
java.lang.Boolean getFeatureDefault(java.lang.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
java.lang.Object getPropertyDefault(java.lang.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
-
-