|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The base interface for the category properties. It is derived from the original properties/CategoryProperties which is now an implementation of it.
| Method Summary | |
void |
addCategory(CategoryProperties properties)
Adds the category properties. |
void |
addDocument(DocumentProperties properties)
Adds the document properties to the category. |
Vector |
getCategories()
Returns the properties for the child categories. |
Vector |
getDocuments()
Returns the properties for the documents in this category. |
Element |
getElement()
Returns the dom4j Element representation of this category. |
String |
getName()
Returns the name of the category. |
CategoryProperties |
newCategoryProperties(Element element)
Constructor for the category properties. |
CategoryProperties |
newCategoryProperties(String name)
Constructor for the category properties. |
void |
removeCategory(CategoryProperties properties)
Removes a category from the parent property. |
void |
removeDocument(DocumentProperties properties)
Removes a document from the category. |
void |
setName(String name)
Sets the name of the category. |
| Method Detail |
public CategoryProperties newCategoryProperties(Element element)
public CategoryProperties newCategoryProperties(String name)
name - the name of the category.public String getName()
public void setName(String name)
public void addCategory(CategoryProperties properties)
properties - the category properties.public void removeCategory(CategoryProperties properties)
properties - the category properties.public Vector getCategories()
public void addDocument(DocumentProperties properties)
properties - the document properties.public void removeDocument(DocumentProperties properties)
properties - the document properties.public Vector getDocuments()
public Element getElement()
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||