public class ServiceSoftware extends java.lang.Object implements IXMLEncodable
FIELD_XML_ELEMENT_CONTAINER_NAME, FIELD_XML_ELEMENT_NAME, XML_ATTR_ID, XML_ATTR_LANGUAGE, XML_ATTR_VERSION
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ServiceSoftware(org.w3c.dom.Node a_element) throws XMLParseException
a_element
- The root node of the XML structure of this JAPMinVersion ('Software' node).XMLParseException
- if an error occurs while parsing the xml structurepublic ServiceSoftware(java.lang.String a_strVersion)
a_strVersion
- The software version for this service.public static java.lang.String getXmlElementName()
public org.w3c.dom.Element toXmlElement(org.w3c.dom.Document doc)
toXmlElement
in interface IXMLEncodable
doc
- The XML document, which is the environment for the created XML node.public java.lang.String getVersion()
Copyright © 2023. All rights reserved.