org.licas.parsers.admin

## Class ServerConfigParser

- java.lang.Object
- - org.licas.parsers.admin.ServerConfigParser

-     public class ServerConfigParser
      extends java.lang.Object

  This can parse a `ServerConfig` object that contains server configuration information.
  Author:
    Kieran Greer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerConfigParser()` Create a new instance of ServerConfigParser

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ServerConfigParser

          public ServerConfigParser()

      Create a new instance of ServerConfigParser

  - ### Method Detail

    - #### serialize

          public org.licas_xml.abs.Element serialize(ServerConfig serverConfig)
                                              throws java.lang.Exception

      Serialize the object into an XML element.
      Parameters:
        `serverConfig` - the server configuration information.
      Returns:
        the serialized object.
      Throws:
        `java.lang.Exception` - any error.

    - #### parse

          public ServerConfig parse(org.licas_xml.abs.Element toParse)
                             throws java.lang.Exception

      Parse the XML element back into the appropriate Object.
      Parameters:
        `toParse` - the element to parse.
      Returns:
        the parsed gui classname lists.
      Throws:
        `java.lang.Exception` - any error.