Interface SheetContext

All Known Implementing Classes:
AbstractCSSStyleSheet, BaseCSSStyleSheet, BaseDocumentCSSStyleSheet, DOMCSSStyleSheet, DOMDocumentCSSStyleSheet

public interface SheetContext
Provides a style sheet context, useful for selector serialization.
  • Method Summary

    Modifier and Type
    Method
    Description
    getNamespacePrefix(String namespaceURI)
    Get the namespace prefix corresponding to the given URI.
    boolean
    Has the style sheet a default namespace?
    boolean
    hasFactoryFlag(short flag)
    Check whether the given factory flag is set.
  • Method Details

    • hasDefaultNamespace

      boolean hasDefaultNamespace()
      Has the style sheet a default namespace?
      Returns:
      true if it has a default namespace.
    • getNamespacePrefix

      String getNamespacePrefix(String namespaceURI)
      Get the namespace prefix corresponding to the given URI.
      Parameters:
      namespaceURI - the namespace URI.
      Returns:
      the prefix.
    • hasFactoryFlag

      boolean hasFactoryFlag(short flag)
      Check whether the given factory flag is set.
      Parameters:
      flag - the flag.
      Returns:
      true if the flag is set.