Class AbstractMonolithicDocument

java.lang.Object
org.apache.rat.document.impl.AbstractMonolithicDocument
All Implemented Interfaces:
Document
Direct Known Subclasses:
MonolithicFileDocument

public abstract class AbstractMonolithicDocument extends Object implements Document
Abstract base class for monolithic documents.
  • Constructor Details

    • AbstractMonolithicDocument

      public AbstractMonolithicDocument(String pName)
  • Method Details

    • isComposite

      public boolean isComposite()
      Description copied from interface: Document
      Is this a composite document?
      Specified by:
      isComposite in interface Document
      Returns:
      true if composite, false otherwise
    • getName

      public String getName()
      Specified by:
      getName in interface Document
      Returns:
      the name of the current document.
    • getMetaData

      public MetaData getMetaData()
      Description copied from interface: Document
      Gets data describing this resource.
      Specified by:
      getMetaData in interface Document
      Returns:
      not null