|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.portal.owswatch.configs.OwsWatchConfigFactory
public class OwsWatchConfigFactory
This class takes the path to the config file and produce an instance of OwsWatchConfig Class
Method Summary | |
---|---|
protected static GeneralConfig |
createGeneralConfig(Element elem)
Parses the General Config section |
static OwsWatchConfig |
createOwsWatchConfig(Element root,
String webinfPath)
|
static OwsWatchConfig |
createOwsWatchConfig(String filePath,
String webinfPath)
|
protected static ServiceDescription |
createServiceConfig(Element elem,
String webinfPath)
Parses the ServiceDescription Section |
protected static ServiceRequest |
createServiceRequest(Element elem,
String webinfPath)
Parses the Request Section in Service |
protected static Map<String,Service> |
createServices(Element elem,
String webinfPath)
Parses the Services section |
protected static ServiceVersion |
createServiceVersion(Element elem,
String webinfPath)
Parses the (multiple)Service section(s) in Services |
protected static List<Integer> |
createTestIntervals(Element elem)
Parses the TestIntervals section |
protected static Map<String,User> |
createUsers(Element elem)
Parses the Users section |
static String |
getPrefix()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OwsWatchConfig createOwsWatchConfig(String filePath, String webinfPath) throws SAXException, IOException, XMLParsingException
filePath
- webinfPath
-
SAXException
IOException
XMLParsingException
public static OwsWatchConfig createOwsWatchConfig(Element root, String webinfPath) throws XMLParsingException, IOException
root
- webinfPath
-
XMLParsingException
IOException
protected static GeneralConfig createGeneralConfig(Element elem) throws XMLParsingException
elem
-
XMLParsingException
protected static ServiceDescription createServiceConfig(Element elem, String webinfPath) throws XMLParsingException, IOException
elem
- webinfPath
-
XMLParsingException
IOException
protected static Map<String,User> createUsers(Element elem) throws XMLParsingException
elem
-
XMLParsingException
protected static List<Integer> createTestIntervals(Element elem) throws XMLParsingException
elem
-
XMLParsingException
protected static Map<String,Service> createServices(Element elem, String webinfPath) throws XMLParsingException, IOException
elem
- webinfPath
-
XMLParsingException
IOException
protected static ServiceVersion createServiceVersion(Element elem, String webinfPath) throws XMLParsingException, IOException
elem
- webinfPath
-
XMLParsingException
IOException
protected static ServiceRequest createServiceRequest(Element elem, String webinfPath) throws XMLParsingException, IOException
elem
- webinfPath
-
XMLParsingException
IOException
public static String getPrefix()
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org