Class Walker

java.lang.Object
org.apache.rat.walker.Walker
All Implemented Interfaces:
Reportable
Direct Known Subclasses:
ArchiveWalker, DirectoryWalker

public abstract class Walker extends Object implements Reportable
Abstract walker.
  • Constructor Details

    • Walker

      protected Walker(Document document)
      Creates the walker.
      Parameters:
      document - The document the walker is walking.
  • Method Details

    • getDocument

      protected Document getDocument()
      Retrieves the document from the constructor.
      Returns:
      the document from the constructor.
    • name

      public DocumentName name()
      Description copied from interface: Reportable
      Returns the DocumentName for the reportable.
      Specified by:
      name in interface Reportable
      Returns:
      the DocumentName for the reportable.