anon.infoservice
Class ServiceSoftware

java.lang.Object
  extended by anon.infoservice.ServiceSoftware
All Implemented Interfaces:
IXMLEncodable

public class ServiceSoftware
extends java.lang.Object
implements IXMLEncodable

Holds the information about the used software of a service.


Field Summary
private  java.lang.String m_strVersion
          This is the version of the used software.
 
Fields inherited from interface anon.util.IXMLEncodable
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
 
Constructor Summary
ServiceSoftware(org.w3c.dom.Node a_element)
          Creates a new ServiceSoftware from XML description.
ServiceSoftware(java.lang.String a_strVersion)
          Creates a new ServiceSoftware from the version information.
 
Method Summary
 java.lang.String getVersion()
          Returns the version of the used software.
static java.lang.String getXmlElementName()
          Returns the name of the XML root element used by this class.
 org.w3c.dom.Element toXmlElement(org.w3c.dom.Document doc)
          Creates an XML node without signature for this ServiceSoftware.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_strVersion

private java.lang.String m_strVersion
This is the version of the used software.

Constructor Detail

ServiceSoftware

public ServiceSoftware(org.w3c.dom.Node a_element)
                throws XMLParseException
Creates a new ServiceSoftware from XML description.

Parameters:
a_element - The root node of the XML structure of this JAPMinVersion ('Software' node).
Throws:
XMLParseException - if an error occurs while parsing the xml structure

ServiceSoftware

public ServiceSoftware(java.lang.String a_strVersion)
Creates a new ServiceSoftware from the version information.

Parameters:
a_strVersion - The software version for this service.
Method Detail

getXmlElementName

public static java.lang.String getXmlElementName()
Returns the name of the XML root element used by this class.

Returns:
The name of the XML root element used by this class ('Software').

toXmlElement

public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document doc)
Creates an XML node without signature for this ServiceSoftware.

Specified by:
toXmlElement in interface IXMLEncodable
Parameters:
doc - The XML document, which is the environment for the created XML node.
Returns:
The Software XML node.

getVersion

public java.lang.String getVersion()
Returns the version of the used software.

Returns:
The version of the used software.