Package org.apache.maven.doxia.document
Class DocumentStatistic
java.lang.Object
org.apache.maven.doxia.document.DocumentStatistic
- All Implemented Interfaces:
Serializable
Statistical attributes of the document.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
The number of characters in the document.private long
The number of drawings in the document.private long
The number of frames in the document.private long
The number of images in the document.private long
The number of non-whitespace-characters in the document.private long
The number of objects in the document.private long
The number of ole-objects in the document.private long
The number of pages in the document.private long
The number of paragraphs in the document.private long
The number of rows in the document.private long
The number of sentences in the document.private long
The number of syllables in the document.private long
The number of tabels in the document.private long
The number of words in the document. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Method equals.long
Get the number of characters in the document.long
Get the number of drawings in the document.long
Get the number of frames in the document.long
Get the number of images in the document.long
Get the number of non-whitespace-characters in the document.long
Get the number of objects in the document.long
Get the number of ole-objects in the document.long
Get the number of pages in the document.long
Get the number of paragraphs in the document.long
Get the number of rows in the document.long
Get the number of sentences in the document.long
Get the number of syllables in the document.long
Get the number of tabels in the document.long
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.toString()
Method toString.
-
Field Details
-
pageCount
private long pageCountThe number of pages in the document. -
tableCount
private long tableCountThe number of tabels in the document. -
drawCount
private long drawCountThe number of drawings in the document. -
imageCount
private long imageCountThe number of images in the document. -
objectCount
private long objectCountThe number of objects in the document. -
oleObjectCount
private long oleObjectCountThe number of ole-objects in the document. -
paragraphCount
private long paragraphCountThe number of paragraphs in the document. -
wordCount
private long wordCountThe number of words in the document. -
characterCount
private long characterCountThe number of characters in the document. -
rowCount
private long rowCountThe number of rows in the document. -
frameCount
private long frameCountThe number of frames in the document. -
sentenceCount
private long sentenceCountThe number of sentences in the document. -
syllableCount
private long syllableCountThe number of syllables in the document. -
nonWhitespaceCharacterCount
private long nonWhitespaceCharacterCountThe number of non-whitespace-characters in the document.
-
-
Constructor Details
-
DocumentStatistic
public DocumentStatistic()
-
-
Method Details
-
equals
Method equals. -
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. -
setCharacterCount
public void setCharacterCount(long characterCount) Set the number of characters in the document.- Parameters:
characterCount
- a characterCount object.
-
setDrawCount
public void setDrawCount(long drawCount) Set the number of drawings in the document.- Parameters:
drawCount
- a drawCount object.
-
setFrameCount
public void setFrameCount(long frameCount) Set the number of frames in the document.- Parameters:
frameCount
- a frameCount object.
-
setImageCount
public void setImageCount(long imageCount) Set the number of images in the document.- Parameters:
imageCount
- a imageCount object.
-
setNonWhitespaceCharacterCount
public void setNonWhitespaceCharacterCount(long nonWhitespaceCharacterCount) Set the number of non-whitespace-characters in the document.- Parameters:
nonWhitespaceCharacterCount
- a nonWhitespaceCharacterCount object.
-
setObjectCount
public void setObjectCount(long objectCount) Set the number of objects in the document.- Parameters:
objectCount
- a objectCount object.
-
setOleObjectCount
public void setOleObjectCount(long oleObjectCount) Set the number of ole-objects in the document.- Parameters:
oleObjectCount
- a oleObjectCount object.
-
setPageCount
public void setPageCount(long pageCount) Set the number of pages in the document.- Parameters:
pageCount
- a pageCount object.
-
setParagraphCount
public void setParagraphCount(long paragraphCount) Set the number of paragraphs in the document.- Parameters:
paragraphCount
- a paragraphCount object.
-
setRowCount
public void setRowCount(long rowCount) Set the number of rows in the document.- Parameters:
rowCount
- a rowCount object.
-
setSentenceCount
public void setSentenceCount(long sentenceCount) Set the number of sentences in the document.- Parameters:
sentenceCount
- a sentenceCount object.
-
setSyllableCount
public void setSyllableCount(long syllableCount) Set the number of syllables in the document.- Parameters:
syllableCount
- a syllableCount object.
-
setTableCount
public void setTableCount(long tableCount) Set the number of tabels in the document.- Parameters:
tableCount
- a tableCount object.
-
setWordCount
public void setWordCount(long wordCount) Set the number of words in the document.- Parameters:
wordCount
- a wordCount object.
-
toString
Method toString.
-