public class NetworkParser
extends java.lang.Object
Constructor and Description |
---|
NetworkParser()
Create a new instance of NetworkParser.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,org.licas_xml.abs.Element> |
parse(org.licas_xml.abs.Element networkDoc)
Parse the XML description of the network and load it onto the server.
|
org.licas_xml.abs.Element |
serialize(org.licas_xml.abs.Element serverPath,
PasswordHandler passwordHandler,
ServiceLinks serviceLinks)
Serialise the server details with relation to the network.
|
public org.licas_xml.abs.Element serialize(org.licas_xml.abs.Element serverPath, PasswordHandler passwordHandler, ServiceLinks serviceLinks) throws java.lang.Exception
serverPath
- the path description to the server.passwordHandler
- the passwords for the servers.serviceLinks
- all service links.java.lang.Exception
- any error.public java.util.HashMap<java.lang.String,org.licas_xml.abs.Element> parse(org.licas_xml.abs.Element networkDoc) throws java.lang.Exception
networkDoc
- the network with related links can be described in a single document.java.lang.Exception
- any error.