Interface DomElement

All Known Implementing Classes:
ParsedElement

public interface DomElement
  • Method Details

    • id

      @Nullable @Nullable String id()
    • tagName

      @NotNull @NotNull String tagName()
    • classNames

      @NotNull @NotNull List<@NotNull String> classNames()
    • document

      @NotNull @NotNull DomDocument document()
    • children

      @NotNull @NotNull List<? extends @NotNull DomElement> children()
    • attribute

      @Nullable @Nullable String attribute(@NotNull @NotNull String name)
    • attribute

      @NotNull default @NotNull String attribute(@NotNull @NotNull String name, @NotNull @NotNull String fallback)
    • setAttribute

      void setAttribute(@NotNull @NotNull String name, @Nullable @Nullable String value)
    • parent

      @Nullable @Nullable DomElement parent()