public class SoaParserLinks
extends java.lang.Object
| Constructor and Description |
|---|
SoaParserLinks(SoaParserPasswords thePasswordsParser)
Create a new instance of SoaParserLinks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse(org.licas_xml.abs.Element linksElem,
java.lang.String password,
java.lang.String adminKey)
Parse the XML description of the links and add them to the related service.
|
protected void |
parseLinks(java.lang.String serviceUuid,
org.licas_xml.abs.Element linkElem,
java.lang.String password,
java.lang.String adminKey)
Parse the links element to add the defined links.
|
org.licas_xml.abs.Element |
serialize(java.lang.String password,
java.lang.String adminKey,
java.util.ArrayList serviceIDs)
Serialise the whole network into XML.
|
public SoaParserLinks(SoaParserPasswords thePasswordsParser)
thePasswordsParser - the passwords parser. This should have already been
used to parse the passwords, when they are retrieved only in this class.public org.licas_xml.abs.Element serialize(java.lang.String password,
java.lang.String adminKey,
java.util.ArrayList serviceIDs)
throws java.lang.Exception
password - the password to access the server.adminKey - the admin key for the server.serviceIDs - list of IDs of base services running on the network.java.lang.Exception - any error.public void parse(org.licas_xml.abs.Element linksElem,
java.lang.String password,
java.lang.String adminKey)
throws java.lang.Exception
linksElem - the XML description of all links for all services on the network.password - the password to access the server.adminKey - the server admin key.java.lang.Exception - any error.protected void parseLinks(java.lang.String serviceUuid,
org.licas_xml.abs.Element linkElem,
java.lang.String password,
java.lang.String adminKey)
throws java.lang.Exception
serviceUuid - the uuid of the service to add links to.linkElem - The XML description of the links.password - the server password.adminKey - the server admin key.java.lang.Exception - any error.