deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.portal.context
Class WebMapContextFactory

java.lang.Object
  extended by org.deegree.portal.context.WebMapContextFactory

public class WebMapContextFactory
extends Object

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.

Version:
$Revision: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Constructor Summary
WebMapContextFactory()
           
 
Method Summary
static ViewContext createViewContext(URL url, User user, String sessionID)
          creates an instance of a ViewContext from the web map context document read from the passed URL
static ViewContext createViewContext(XMLFragment xml, User user, String sessionID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebMapContextFactory

public WebMapContextFactory()
Method Detail

createViewContext

public static ViewContext createViewContext(URL url,
                                            User user,
                                            String sessionID)
                                     throws IOException,
                                            XMLParsingException,
                                            ContextException,
                                            SAXException,
                                            UnknownCRSException
creates an instance of a ViewContext from the web map context document read from the passed URL

Parameters:
url -
user -
sessionID -
Returns:
Throws:
IOException
XMLParsingException
ContextException
SAXException
UnknownCRSException

createViewContext

public static ViewContext createViewContext(XMLFragment xml,
                                            User user,
                                            String sessionID)
                                     throws IOException,
                                            XMLParsingException,
                                            ContextException,
                                            UnknownCRSException
Parameters:
xml -
user -
sessionID -
Returns:
Throws:
IOException
XMLParsingException
ContextException
SAXException
UnknownCRSException

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net