Package org.apache.maven.doxia.document
Class DocumentStatistic
- java.lang.Object
-
- org.apache.maven.doxia.document.DocumentStatistic
-
- All Implemented Interfaces:
java.io.Serializable
public class DocumentStatistic extends java.lang.Object implements java.io.SerializableStatistical attributes of the document.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private longcharacterCountThe number of characters in the document.private longdrawCountThe number of drawings in the document.private longframeCountThe number of frames in the document.private longimageCountThe number of images in the document.private longnonWhitespaceCharacterCountThe number of non-whitespace-characters in the document.private longobjectCountThe number of objects in the document.private longoleObjectCountThe number of ole-objects in the document.private longpageCountThe number of pages in the document.private longparagraphCountThe number of paragraphs in the document.private longrowCountThe number of rows in the document.private longsentenceCountThe number of sentences in the document.private longsyllableCountThe number of syllables in the document.private longtableCountThe number of tabels in the document.private longwordCountThe number of words in the document.
-
Constructor Summary
Constructors Constructor Description DocumentStatistic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Method equals.longgetCharacterCount()Get the number of characters in the document.longgetDrawCount()Get the number of drawings in the document.longgetFrameCount()Get the number of frames in the document.longgetImageCount()Get the number of images in the document.longgetNonWhitespaceCharacterCount()Get the number of non-whitespace-characters in the document.longgetObjectCount()Get the number of objects in the document.longgetOleObjectCount()Get the number of ole-objects in the document.longgetPageCount()Get the number of pages in the document.longgetParagraphCount()Get the number of paragraphs in the document.longgetRowCount()Get the number of rows in the document.longgetSentenceCount()Get the number of sentences in the document.longgetSyllableCount()Get the number of syllables in the document.longgetTableCount()Get the number of tabels in the document.longgetWordCount()Get the number of words in the document.inthashCode()Method hashCode.voidsetCharacterCount(long characterCount)Set the number of characters in the document.voidsetDrawCount(long drawCount)Set the number of drawings in the document.voidsetFrameCount(long frameCount)Set the number of frames in the document.voidsetImageCount(long imageCount)Set the number of images in the document.voidsetNonWhitespaceCharacterCount(long nonWhitespaceCharacterCount)Set the number of non-whitespace-characters in the document.voidsetObjectCount(long objectCount)Set the number of objects in the document.voidsetOleObjectCount(long oleObjectCount)Set the number of ole-objects in the document.voidsetPageCount(long pageCount)Set the number of pages in the document.voidsetParagraphCount(long paragraphCount)Set the number of paragraphs in the document.voidsetRowCount(long rowCount)Set the number of rows in the document.voidsetSentenceCount(long sentenceCount)Set the number of sentences in the document.voidsetSyllableCount(long syllableCount)Set the number of syllables in the document.voidsetTableCount(long tableCount)Set the number of tabels in the document.voidsetWordCount(long wordCount)Set the number of words in the document.java.lang.StringtoString()Method toString.
-
-
-
Field Detail
-
pageCount
private long pageCount
The number of pages in the document.
-
tableCount
private long tableCount
The number of tabels in the document.
-
drawCount
private long drawCount
The number of drawings in the document.
-
imageCount
private long imageCount
The number of images in the document.
-
objectCount
private long objectCount
The number of objects in the document.
-
oleObjectCount
private long oleObjectCount
The number of ole-objects in the document.
-
paragraphCount
private long paragraphCount
The number of paragraphs in the document.
-
wordCount
private long wordCount
The number of words in the document.
-
characterCount
private long characterCount
The number of characters in the document.
-
rowCount
private long rowCount
The number of rows in the document.
-
frameCount
private long frameCount
The number of frames in the document.
-
sentenceCount
private long sentenceCount
The number of sentences in the document.
-
syllableCount
private long syllableCount
The number of syllables in the document.
-
nonWhitespaceCharacterCount
private long nonWhitespaceCharacterCount
The number of non-whitespace-characters in the document.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.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:
hashCodein classjava.lang.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 java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-