|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--csm23.XMLDocument
Title: Stores a Reuters XML document information Copyright: Copyright (c) 2002 Company: University of Surrey
| Field Summary | |
java.lang.String[][] |
attributeCodes
|
java.lang.String[][] |
attributeNames
|
java.lang.String[] |
classNames
|
int[] |
classSize
|
java.util.GregorianCalendar |
dateCreated
|
int |
dimensionOfClass
|
java.lang.String |
documentPath
|
java.lang.String |
documentTitle
|
| Constructor Summary | |
XMLDocument(int dimension1)
Constructon |
|
| Method Summary | |
void |
setAttributeDimension(int length)
Sets the length of the attributes. |
void |
setLength(int dimensionno,
int length)
Specifies the number of attributes for each category. |
java.lang.String |
toString()
Returns the string representation of the document |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String[] classNames
public java.lang.String[][] attributeCodes
public java.lang.String[][] attributeNames
public java.util.GregorianCalendar dateCreated
public java.lang.String documentPath
public java.lang.String documentTitle
public int dimensionOfClass
public int[] classSize
| Constructor Detail |
public XMLDocument(int dimension1)
dimension1 - the dimension of the class (in Reuters, max:3 which are
region, industry and topic/| Method Detail |
public void setAttributeDimension(int length)
length - the maximum number of entries(attributes) associated with each category.
public void setLength(int dimensionno,
int length)
dimensionno - the category numberlength - the number of attributes for that categorypublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||