Class LocalRasterServerLayer

    • Constructor Detail

      • LocalRasterServerLayer

        public LocalRasterServerLayer​(AVList params)
        Constructs a layer from a list of parameters describing the layer.

        Parameter values for DATASET_NAME and DATA_CACHE_NAME are required.

        TODO: Enumerate the other required and optional parameters.

        Parameters:
        params - the parameters describing the dataset.
        Throws:
        java.lang.IllegalArgumentException - if the parameter list is null.
        java.lang.IllegalStateException - if the required parameters are missing from the parameter list.
      • LocalRasterServerLayer

        public LocalRasterServerLayer​(org.w3c.dom.Document dom,
                                      AVList params)
        Constructs a layer from an XML document description.

        Either the specified XML document or parameter list must contain values for DATASET_NAME and DATA_CACHE_NAME.

        TODO: Enumerate the other required and optional parameters.

        Parameters:
        dom - the XML document describing the dataset.
        params - a list of parameters that each override a parameter of the same name in the XML document, or that augment the definition there.
        Throws:
        java.lang.IllegalArgumentException - if the XML document reference is null.
        java.lang.IllegalStateException - if the required parameters are missing from the XML document or the parameter list.
      • LocalRasterServerLayer

        public LocalRasterServerLayer​(org.w3c.dom.Element domElement,
                                      AVList params)
        Constructs a layer from an XML document Element.

        Either the specified XML element or parameter list must contain values for DATASET_NAME and DATA_CACHE_NAME.

        TODO: Enumerate the other required and optional parameters.

        Parameters:
        domElement - the XML document describing the dataset.
        params - a list of parameters that each override a parameter of the same name in the XML document, or that augment the definition there.
        Throws:
        java.lang.IllegalArgumentException - if the XML document reference is null.
        java.lang.IllegalStateException - if the required parameters are missing from the XML element or the parameter list.
      • LocalRasterServerLayer

        public LocalRasterServerLayer​(java.lang.String restorableStateInXml)
        Constructs a layer from restorable state obtained by a call to BasicTiledImageLayer.getRestorableState() on another instance of this class.
        Parameters:
        restorableStateInXml - a string containing the restorable state.
        Throws:
        java.lang.IllegalArgumentException - if the restorable state is null or cannot be interpreted.
        java.lang.IllegalStateException - if the restorable state does not contain values for DATASET_NAME and DATA_CACHE_NAME.
    • Method Detail

      • createRasterServer

        protected void createRasterServer​(AVList params)