public class ServerModel extends ServerEntity
credentials, uri
Constructor and Description |
---|
ServerModel(java.net.URI uri,
UserCredentials credentials) |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getEdgeURI(java.lang.String id) |
java.util.List<java.net.URI> |
getEdgeURIs()
Gets the URL of the edges contained in a model given by the URL of this Model.
|
java.net.URI |
getNodeURI(java.lang.String id) |
java.util.List<java.net.URI> |
getNodeURIs()
Gets the URL of the nodes contained in a model given by the URL of this Model.
|
getCredentials, getRequest, getRequest, getUri, setCredentials, setUri
public ServerModel(java.net.URI uri, UserCredentials credentials)
public java.util.List<java.net.URI> getNodeURIs() throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, java.lang.Exception
java.io.IOException
javax.xml.parsers.ParserConfigurationException
java.lang.Exception
public java.util.List<java.net.URI> getEdgeURIs() throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, java.net.URISyntaxException, InvalidUserCredentialsException, XMLHttpRequestException, java.net.MalformedURLException, javax.xml.xpath.XPathExpressionException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
java.lang.Exception
java.net.URISyntaxException
InvalidUserCredentialsException
XMLHttpRequestException
java.net.MalformedURLException
javax.xml.xpath.XPathExpressionException
public java.net.URI getNodeURI(java.lang.String id) throws java.net.URISyntaxException
java.net.URISyntaxException
public java.net.URI getEdgeURI(java.lang.String id) throws java.net.URISyntaxException
java.net.URISyntaxException