public class ServerConfigParser
extends java.lang.Object
ServerConfig object that contains server configuration information.| Constructor and Description |
|---|
ServerConfigParser()
Create a new instance of ServerConfigParser
|
| Modifier and Type | Method and Description |
|---|---|
ServerConfig |
parse(org.licas_xml.abs.Element toParse)
Parse the XML element back into the appropriate Object.
|
org.licas_xml.abs.Element |
serialize(ServerConfig serverConfig)
Serialize the object into an XML element.
|
public ServerConfigParser()
public org.licas_xml.abs.Element serialize(ServerConfig serverConfig) throws java.lang.Exception
serverConfig - the server configuration information.java.lang.Exception - any error.public ServerConfig parse(org.licas_xml.abs.Element toParse) throws java.lang.Exception
toParse - the element to parse.java.lang.Exception - any error.