Interface Atom

All Known Implementing Classes:
DelimiterAtom, TagAtom, TextAtom

public interface Atom
A unit of comparison between html files. An Atom can be equal to another while not having the same text (tag arguments). In that case the Atom will have internal identifiers that can be compared on a second level.
  • Method Details

    • getIdentifier

      String getIdentifier()
    • hasInternalIdentifiers

      boolean hasInternalIdentifiers()
    • getInternalIdentifiers

      String getInternalIdentifiers()
    • getFullText

      String getFullText()
    • isValidAtom

      boolean isValidAtom(String s)
    • equalsIdentifier

      boolean equalsIdentifier(Atom other)