Interface HTMLComponent

All Superinterfaces:
XMLComponent
All Known Implementing Classes:
DefaultFilter, HTMLScanner, HTMLTagBalancer, HTMLWriterFilter, NamespaceBinder

public interface HTMLComponent extends XMLComponent
This interface extends the XNI XMLComponent interface to add methods that allow the preferred default values for features and properties to be queried.
  • Method Details

    • 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:
      getFeatureDefault in interface XMLComponent
      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:
      getPropertyDefault in interface XMLComponent
      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