|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsmacs.xngr.browser.properties.ServicePropertiesXml
Handles the properties for a Service.
| Constructor Summary | |
ServicePropertiesXml(Element element)
Constructor for the service properties. |
|
ServicePropertiesXml(String name,
String description,
String iconPath,
String location,
String argument)
Constructor for the service element. |
|
| Method Summary | |
ElementTypeProperties |
addElementType(boolean isdefault,
String localname,
String namespace)
Adds an association to the service. |
String |
getArgument()
Returns the argument of the service. |
String |
getDescription()
Returns the description of the service. |
Element |
getElement()
Returns the Element representation of this services element. |
Vector |
getElementTypes()
Returns a vector of associations. |
String |
getIconLocation()
Returns the location of the icon. |
String |
getLocation()
Returns the location of the service. |
String |
getName()
Returns the name of the service. |
String[][] |
getProperties()
Gets the properties for this service. |
ServiceProperties |
newServiceProperties(Element element)
Constructor for the service properties. |
ServiceProperties |
newServiceProperties(String name,
String description,
String iconPath,
String location,
String argument)
Constructor for the service element. |
void |
removeElementType(ElementTypeProperties elementType)
Removes an association from the service. |
void |
setArgument(String argument)
Changes the argument for the service. |
void |
setDescription(String description)
Changes the description of the service. |
void |
setIconLocation(String location)
Sets the location of the icon. |
void |
setName(String name)
Changes the name of the service. |
void |
setProperties(String[][] strings)
Sets the properties for this service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServicePropertiesXml(Element element)
public ServicePropertiesXml(String name,
String description,
String iconPath,
String location,
String argument)
| Method Detail |
public ServiceProperties newServiceProperties(Element element)
ServiceProperties
newServiceProperties in interface ServiceProperties
public ServiceProperties newServiceProperties(String name,
String description,
String iconPath,
String location,
String argument)
ServiceProperties
newServiceProperties in interface ServicePropertiespublic String getName()
getName in interface ServicePropertiespublic void setName(String name)
setName in interface ServicePropertiesname - the name of the service.public String getDescription()
getDescription in interface ServicePropertiespublic void setDescription(String description)
setDescription in interface ServicePropertiesdescription - the description of the service.public String getArgument()
getArgument in interface ServicePropertiespublic void setArgument(String argument)
setArgument in interface ServicePropertiesargument - the argument for the service.public String getLocation()
getLocation in interface ServicePropertiespublic String getIconLocation()
getIconLocation in interface ServicePropertiespublic void setIconLocation(String location)
setIconLocation in interface ServicePropertieslocation - the icon location.public void setProperties(String[][] strings)
setProperties in interface ServicePropertiesstrings - the properties.public String[][] getProperties()
getProperties in interface ServicePropertiespublic Element getElement()
getElement in interface ServicePropertiespublic Vector getElementTypes()
getElementTypes in interface ServiceProperties
public ElementTypeProperties addElementType(boolean isdefault,
String localname,
String namespace)
addElementType in interface ServicePropertiesisdefault - wether this is the default association.localname - the (local) name of the element-type.namespace - the namespace (URI) of the element-type.
public void removeElementType(ElementTypeProperties elementType)
removeElementType in interface ServicePropertieselementType - the associated element.
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||