Class CleanTimeValues

java.lang.Object
org.htmlcleaner.CleanTimeValues

class CleanTimeValues extends Object
This class is for thread-safe handling of private instance variables from HtmlCleaner
  • Field Details

    • _headOpened

      boolean _headOpened
    • _bodyOpened

      boolean _bodyOpened
    • _headTags

      Set _headTags
    • allTags

      Set allTags
    • nestingStates

      transient Stack<NestingState> nestingStates
    • htmlNode

      TagNode htmlNode
    • bodyNode

      TagNode bodyNode
    • headNode

      TagNode headNode
    • rootNode

      TagNode rootNode
    • pruneTagSet

      Set<ITagNodeCondition> pruneTagSet
    • pruneNodeSet

      Set<TagNode> pruneNodeSet
    • allowTagSet

      Set<ITagNodeCondition> allowTagSet
    • namespace

      transient Stack<String> namespace
      A stack of namespaces for currently open tags. Every xmlns declaration on a tag adds another namespace to the stack, which is removed when the tag is closed. In this way you can keep track of what namespace a tag belongs to.
    • namespaceMap

      transient HashMap<String,String> namespaceMap
      A map of all the namespace prefixes and URIs declared within the document. We use this to check whether any prefixes remain undeclared.
  • Constructor Details

    • CleanTimeValues

      CleanTimeValues()