|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.context.WebMapContextFactory
Factory class for creating an instance of a web map Context (ViewContext). The factory is able to parse deegree specific extensions (General and Layer) as well as standard web map context documents.
Constructor Summary | |
WebMapContextFactory()
|
Method Summary | |
private static BaseURL |
createBaseURL(org.w3c.dom.Element element)
creates an instance of BaseURL that is used for |
private static GM_Point[] |
createBoundingBox(org.w3c.dom.Element element)
creates a GM_Envelope from the passed Element |
private static java.lang.String[] |
createCommonJS(org.w3c.dom.Element element)
creates a list of javascript pages (names) that contains javascript objects and methods that are used by more than one module |
private static ContactAddress |
createContactAddress(org.w3c.dom.Element element)
Creates a ContactAddress-instance according to the contents of the DOM-subtree starting at the given 'ContactAddress'-Element. |
private static ContactInformation |
createContactInformation(org.w3c.dom.Element element)
Creates a ContactInformation-instance according to the contents of the DOM-subtree starting at the given 'ContactInformation'-Element. |
private static ContactPersonPrimary |
createContactPersonPrimary(org.w3c.dom.Element element)
Creates a ContactPersonPrimary-instance according to the contents of the DOM-subtree starting at the given 'ContactPersonPrimary'-Element. |
private static DirectoryAccess |
createDirectoryAccess(org.w3c.dom.Element element,
DirectoryAccess tempDir)
|
private static FormatList |
createFormatList(org.w3c.dom.Element element)
creates an instance of a class encapsulating a list of image formats a layer offers |
private static Frontend |
createFrontend(org.w3c.dom.Element element)
creates an instance of a class encapsulating the frontend (GUI) description of a deegree map client |
private static General |
createGeneral(org.w3c.dom.Element element)
creates an instance of a class encapsulating the general context informations |
private static GeneralExtension |
createGeneralExtension(org.w3c.dom.Element element)
creates an instance of a class encapsulating the deegree specific extensions of the general section of a web map context document |
private static GUIArea |
createGUIArea(org.w3c.dom.Element element)
creates an instance of a class encapsulating the GUI description of one region of the GUI |
private static ImageURL |
createImageURL(org.w3c.dom.Element element)
creates an instance of an ImageURL that is used for |
private static IOSettings |
createIOSettings(org.w3c.dom.Element element)
creates an instance of a class encapsulating the IO setting informations |
private static java.lang.String[] |
createKeywords(org.w3c.dom.Element element)
creates an array of keywords (String) from the passed Keyword list |
private static Layer |
createLayer(org.w3c.dom.Element element)
creates an instance of a class encapsulating a web map context layer's attributes |
private static LayerExtension |
createLayerExtension(org.w3c.dom.Element element)
creates an instance of a class encapsulating the deegree specific extensions of a Layer |
private static LayerList |
createLayerList(org.w3c.dom.Element element)
creates an instance of a class encapsulating the layer list informations |
private static MapParameter |
createMapParameter(org.w3c.dom.Element element)
creates an instance of a class encapsulating informations about controlling options for a map presented to the user |
private static Module |
createModule(org.w3c.dom.Element element)
creates an instance of a class encapsulating module informations |
private static ModuleConfiguration |
createModuleConfiguration(org.w3c.dom.Element element)
creates an instance of a class encapsulating the access the configuration of Module |
private static Format[] |
createOfferedInfoFormats(org.w3c.dom.Element element)
Creates a list of the feature info formats offered by the client. |
private static MapOperationFactor[] |
createOfferedMapOperationFactors(org.w3c.dom.Element element)
returns a list of offered numerical map operation factors that can be used to determine zoom or pan levels |
private static java.net.URL |
createOnlineResource(org.w3c.dom.Element element)
creates an instance of an URL described by a |
private static Parameter |
createParameter(org.w3c.dom.Element element)
creates an instance of a class encapsulating a parameter that shall be passed to a module |
private static ParameterList |
createParameterList(org.w3c.dom.Element element)
creates an instance of a class encapsulating the layer list informations |
private static Server |
createServer(org.w3c.dom.Element element)
creates an instance of a class encapsulating informations about the server (service) a layer based on |
private static SLD |
createSLD(org.w3c.dom.Element element)
creates an instance of a class encapsulating a description of a Style based on a SLD |
private static Style |
createStyle(org.w3c.dom.Element element)
creates an instance of a class encapsulating a description of a Style |
private static StyleList |
createStyleList(org.w3c.dom.Element element)
creates an instance of a class encapsulating a list of styles available for a layer |
static ViewContext |
createViewContext(java.io.Reader reader)
creates an instance of a ViewContext from the web map context document read from the passed Reader |
static ViewContext |
createViewContext(java.lang.String fileName)
creates an instance of a ViewContext from the web map context document read from the file idenfied by the passed name |
private static java.awt.Rectangle |
createWindow(org.w3c.dom.Element element)
creates a Rectangle (Window) instance from the passed Element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebMapContextFactory()
Method Detail |
public static ViewContext createViewContext(java.lang.String fileName) throws java.io.IOException, XMLParsingException, ContextException
fileName
- name of a file containing a web map context document
java.io.IOException
ContextException
XMLParsingException
public static ViewContext createViewContext(java.io.Reader reader) throws java.io.IOException, XMLParsingException, ContextException
reader
- reader enabling access to a web map context document
java.io.IOException
ContextException
XMLParsingException
private static General createGeneral(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static java.awt.Rectangle createWindow(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static GM_Point[] createBoundingBox(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static java.lang.String[] createKeywords(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static ImageURL createImageURL(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static java.net.URL createOnlineResource(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static BaseURL createBaseURL(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static ContactInformation createContactInformation(org.w3c.dom.Element element) throws XMLParsingException
element
- the 'ContactInformation'-Element
XMLParsingException
- if a syntactic or semantic error
in the DOM-subtree is encounteredprivate static ContactPersonPrimary createContactPersonPrimary(org.w3c.dom.Element element) throws XMLParsingException
element
- the 'ContactPersonPrimary'-Element
XMLParsingException
- if a syntactic or semantic error
in the DOM-subtree is encounteredprivate static ContactAddress createContactAddress(org.w3c.dom.Element element) throws XMLParsingException
element
- the 'ContactAddress'-Element
XMLParsingException
- if a syntactic or semantic error
in the DOM-subtree is encounteredprivate static GeneralExtension createGeneralExtension(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Frontend createFrontend(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static java.lang.String[] createCommonJS(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static GUIArea createGUIArea(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Module createModule(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static ModuleConfiguration createModuleConfiguration(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static ParameterList createParameterList(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Parameter createParameter(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static MapParameter createMapParameter(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Format[] createOfferedInfoFormats(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static MapOperationFactor[] createOfferedMapOperationFactors(org.w3c.dom.Element element) throws XMLParsingException
element
- a Element that contains XMLParsingException
private static IOSettings createIOSettings(org.w3c.dom.Element element) throws XMLParsingException
element
-
XMLParsingException
private static DirectoryAccess createDirectoryAccess(org.w3c.dom.Element element, DirectoryAccess tempDir) throws XMLParsingException
element
- tempDir
-
XMLParsingException
private static LayerList createLayerList(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Layer createLayer(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Server createServer(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static FormatList createFormatList(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static StyleList createStyleList(org.w3c.dom.Element element) throws XMLParsingException
element
- XMLParsingException
private static Style createStyle(org.w3c.dom.Element element) throws XMLParsingException
element
-