org.apache.rat.document.impl
Class AbstractMonolithicDocument

java.lang.Object
  extended by 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 Summary
AbstractMonolithicDocument(String pName)
           
 
Method Summary
 MetaData getMetaData()
          Gets data describing this resource.
 String getName()
           
 boolean isComposite()
          Is this a composite document?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.rat.api.Document
inputStream, reader
 

Constructor Detail

AbstractMonolithicDocument

public AbstractMonolithicDocument(String pName)
Method Detail

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

getMetaData

public MetaData getMetaData()
Description copied from interface: Document
Gets data describing this resource.

Specified by:
getMetaData in interface Document
Returns:
not null


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.