|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsmacs.xngr.browser.properties.CategoryPropertiesXml
The base class for the category properties.
| Constructor Summary | |
CategoryPropertiesXml(Element element)
Constructor for the category properties. |
|
CategoryPropertiesXml(String name)
Constructor for the category properties. |
|
| 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. |
DocumentProperties |
newDocumentProperties(Element element)
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CategoryPropertiesXml(Element element)
public CategoryPropertiesXml(String name)
name - the name of the category.| Method Detail |
public CategoryProperties newCategoryProperties(Element element)
CategoryProperties
newCategoryProperties in interface CategoryPropertiespublic CategoryProperties newCategoryProperties(String name)
CategoryProperties
newCategoryProperties in interface CategoryPropertiesname - the name of the category.public DocumentProperties newDocumentProperties(Element element)
public String getName()
getName in interface CategoryPropertiespublic void setName(String name)
setName in interface CategoryPropertiespublic void addCategory(CategoryProperties properties)
addCategory in interface CategoryPropertiesproperties - the category properties.public void removeCategory(CategoryProperties properties)
removeCategory in interface CategoryPropertiesproperties - the category properties.public Vector getCategories()
getCategories in interface CategoryPropertiespublic void addDocument(DocumentProperties properties)
addDocument in interface CategoryPropertiesproperties - the document properties.public void removeDocument(DocumentProperties properties)
removeDocument in interface CategoryPropertiesproperties - the document properties.public Vector getDocuments()
getDocuments in interface CategoryPropertiespublic Element getElement()
getElement in interface CategoryProperties
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||