public class WMSCapabilitiesReader extends Object
| Constructor and Description |
|---|
WMSCapabilitiesReader()
Constructor of the WMSCapabilitiesReader.
|
| Modifier and Type | Method and Description |
|---|---|
ByteArrayOutputStream |
getCapabilities(String location) |
ByteArrayOutputStream |
getCapabilities(String location,
nl.b3p.commons.services.B3PCredentials credentials,
String remoteAddr) |
ServiceProvider |
getProvider(ByteArrayInputStream in) |
ServiceProvider |
getProvider(String location)
Private method which validates a XML document at a given location.
|
ServiceProvider |
getProvider(String location,
nl.b3p.commons.services.B3PCredentials credentials)
Private method which validates a XML document at a given location.
|
ServiceProvider |
getProvider(String location,
nl.b3p.commons.services.B3PCredentials credentials,
String remoteAddr) |
ServiceProvider |
getProvider(String location,
String username,
String password,
String ip) |
public WMSCapabilitiesReader()
serviceProvider - ServiceProvider object in which all information has to be saved.public ByteArrayOutputStream getCapabilities(String location) throws Exception
Exceptionpublic ByteArrayOutputStream getCapabilities(String location, nl.b3p.commons.services.B3PCredentials credentials, String remoteAddr) throws Exception
Exceptionpublic ServiceProvider getProvider(String location) throws IOException, SAXException, Exception
location - String representing the location where the document can be found.IOExceptionSAXExceptionExceptionpublic ServiceProvider getProvider(String location, nl.b3p.commons.services.B3PCredentials credentials) throws IOException, SAXException, Exception
location - String representing the location where the document can be found.username - The usernamepassword - The passwordIOExceptionSAXExceptionExceptionpublic ServiceProvider getProvider(String location, String username, String password, String ip) throws IOException, SAXException, Exception
IOExceptionSAXExceptionExceptionpublic ServiceProvider getProvider(String location, nl.b3p.commons.services.B3PCredentials credentials, String remoteAddr) throws IOException, SAXException, Exception
IOExceptionSAXExceptionExceptionpublic ServiceProvider getProvider(ByteArrayInputStream in)
Copyright © 2020 B3Partners B.V.. All rights reserved.