Class Document

java.lang.Object
org.luwrain.reader.Document

public class Document extends Object
  • Field Details

    • DEFAULT_ITERATOR_INDEX_PROPERTY

      public static final String DEFAULT_ITERATOR_INDEX_PROPERTY
      See Also:
    • root

      protected final Node root
    • props

      protected final Properties props
    • title

      protected final String title
    • hrefs

      protected String[] hrefs
  • Constructor Details

    • Document

      public Document(Node root)
    • Document

      public Document(String title, Node root)
  • Method Details

    • commit

      public void commit()
    • getTitle

      public String getTitle()
    • getRoot

      public Node getRoot()
    • setProperty

      public void setProperty(String propName, String value)
    • getProperty

      public String getProperty(String propName)
    • setHrefs

      public void setHrefs(String[] hrefs)
    • getHrefs

      public String[] getHrefs()
    • getUrl

      public URL getUrl()