org.licas.parsers.admin

## Class ModuleInfoParser

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

-     public class ModuleInfoParser
      extends java.lang.Object

  This can parse a `ModuleInfo` object that contains jar and class info for an external module.
  Author:
    Kieran Greer

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ModuleInfo` | `parse(org.licas_xml.abs.Element toParse)` Parse the XML element back into the appropriate Object.
    `org.licas_xml.abs.Element` | `serialize(ModuleInfo moduleInfo)` 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

    - #### ModuleInfoParser

          public ModuleInfoParser()

      Create a new instance of ModuleInfoParser

  - ### Method Detail

    - #### serialize

          public org.licas_xml.abs.Element serialize(ModuleInfo moduleInfo)
                                              throws java.lang.Exception

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

    - #### parse

          public ModuleInfo 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.