org.apache.maven.doxia.document
Class DocumentStatistic

java.lang.Object
  extended by org.apache.maven.doxia.document.DocumentStatistic
All Implemented Interfaces:
Serializable

public class DocumentStatistic
extends Object
implements Serializable

Statistical attributes of the document.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
DocumentStatistic()
           
 
Method Summary
 boolean equals(Object other)
          Method equals.
 long getCharacterCount()
          Get the number of characters in the document.
 long getDrawCount()
          Get the number of drawings in the document.
 long getFrameCount()
          Get the number of frames in the document.
 long getImageCount()
          Get the number of images in the document.
 long getNonWhitespaceCharacterCount()
          Get the number of non-whitespace-characters in the document.
 long getObjectCount()
          Get the number of objects in the document.
 long getOleObjectCount()
          Get the number of ole-objects in the document.
 long getPageCount()
          Get the number of pages in the document.
 long getParagraphCount()
          Get the number of paragraphs in the document.
 long getRowCount()
          Get the number of rows in the document.
 long getSentenceCount()
          Get the number of sentences in the document.
 long getSyllableCount()
          Get the number of syllables in the document.
 long getTableCount()
          Get the number of tabels in the document.
 long getWordCount()
          Get the number of words in the document.
 int hashCode()
          Method hashCode.
 void setCharacterCount(long characterCount)
          Set the number of characters in the document.
 void setDrawCount(long drawCount)
          Set the number of drawings in the document.
 void setFrameCount(long frameCount)
          Set the number of frames in the document.
 void setImageCount(long imageCount)
          Set the number of images in the document.
 void setNonWhitespaceCharacterCount(long nonWhitespaceCharacterCount)
          Set the number of non-whitespace-characters in the document.
 void setObjectCount(long objectCount)
          Set the number of objects in the document.
 void setOleObjectCount(long oleObjectCount)
          Set the number of ole-objects in the document.
 void setPageCount(long pageCount)
          Set the number of pages in the document.
 void setParagraphCount(long paragraphCount)
          Set the number of paragraphs in the document.
 void setRowCount(long rowCount)
          Set the number of rows in the document.
 void setSentenceCount(long sentenceCount)
          Set the number of sentences in the document.
 void setSyllableCount(long syllableCount)
          Set the number of syllables in the document.
 void setTableCount(long tableCount)
          Set the number of tabels in the document.
 void setWordCount(long wordCount)
          Set the number of words in the document.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentStatistic

public DocumentStatistic()
Method Detail

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getCharacterCount

public long getCharacterCount()
Get the number of characters in the document.

Returns:
long

getDrawCount

public long getDrawCount()
Get the number of drawings in the document.

Returns:
long

getFrameCount

public long getFrameCount()
Get the number of frames in the document.

Returns:
long

getImageCount

public long getImageCount()
Get the number of images in the document.

Returns:
long

getNonWhitespaceCharacterCount

public long getNonWhitespaceCharacterCount()
Get the number of non-whitespace-characters in the document.

Returns:
long

getObjectCount

public long getObjectCount()
Get the number of objects in the document.

Returns:
long

getOleObjectCount

public long getOleObjectCount()
Get the number of ole-objects in the document.

Returns:
long

getPageCount

public long getPageCount()
Get the number of pages in the document.

Returns:
long

getParagraphCount

public long getParagraphCount()
Get the number of paragraphs in the document.

Returns:
long

getRowCount

public long getRowCount()
Get the number of rows in the document.

Returns:
long

getSentenceCount

public long getSentenceCount()
Get the number of sentences in the document.

Returns:
long

getSyllableCount

public long getSyllableCount()
Get the number of syllables in the document.

Returns:
long

getTableCount

public long getTableCount()
Get the number of tabels in the document.

Returns:
long

getWordCount

public long getWordCount()
Get the number of words in the document.

Returns:
long

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

setCharacterCount

public void setCharacterCount(long characterCount)
Set the number of characters in the document.

Parameters:
characterCount -

setDrawCount

public void setDrawCount(long drawCount)
Set the number of drawings in the document.

Parameters:
drawCount -

setFrameCount

public void setFrameCount(long frameCount)
Set the number of frames in the document.

Parameters:
frameCount -

setImageCount

public void setImageCount(long imageCount)
Set the number of images in the document.

Parameters:
imageCount -

setNonWhitespaceCharacterCount

public void setNonWhitespaceCharacterCount(long nonWhitespaceCharacterCount)
Set the number of non-whitespace-characters in the document.

Parameters:
nonWhitespaceCharacterCount -

setObjectCount

public void setObjectCount(long objectCount)
Set the number of objects in the document.

Parameters:
objectCount -

setOleObjectCount

public void setOleObjectCount(long oleObjectCount)
Set the number of ole-objects in the document.

Parameters:
oleObjectCount -

setPageCount

public void setPageCount(long pageCount)
Set the number of pages in the document.

Parameters:
pageCount -

setParagraphCount

public void setParagraphCount(long paragraphCount)
Set the number of paragraphs in the document.

Parameters:
paragraphCount -

setRowCount

public void setRowCount(long rowCount)
Set the number of rows in the document.

Parameters:
rowCount -

setSentenceCount

public void setSentenceCount(long sentenceCount)
Set the number of sentences in the document.

Parameters:
sentenceCount -

setSyllableCount

public void setSyllableCount(long syllableCount)
Set the number of syllables in the document.

Parameters:
syllableCount -

setTableCount

public void setTableCount(long tableCount)
Set the number of tabels in the document.

Parameters:
tableCount -

setWordCount

public void setWordCount(long wordCount)
Set the number of words in the document.

Parameters:
wordCount -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.