Class TLcdSLDStyledLayerDescriptorEncoder10

java.lang.Object
com.luciad.wms.sld.xml.TLcdSLDStyledLayerDescriptorEncoder10
All Implemented Interfaces:
ILcdOutputStreamFactoryCapable

@Deprecated public class TLcdSLDStyledLayerDescriptorEncoder10 extends Object implements ILcdOutputStreamFactoryCapable
XML Encoder for TLcdSLDStyledLayerDescriptor objects to documents according to version 1.0 of the OGC Styled Layer Descriptor Implementation Specification.
  • Constructor Details

    • TLcdSLDStyledLayerDescriptorEncoder10

      public TLcdSLDStyledLayerDescriptorEncoder10()
      Deprecated.
      Default constructor.
  • Method Details

    • setPrefixMap

      public void setPrefixMap(ILcdXMLPrefixMap aPrefixMap)
      Deprecated.
      Sets the prefix map to be used by this encoder.
      Parameters:
      aPrefixMap - the prefix map to be used by this encoder.
    • getPrefixMap

      public ILcdXMLPrefixMap getPrefixMap()
      Deprecated.
      Returns the prefix map used by this encoder.

      The default prefix map contains the following values:

      • sld : http://www.opengis.net/sld
      • gml : http://www.opengis.net/gml
      • ogc : http://www.opengis.net/ogc
      • xlink : http://www.w3.org/1999/xlink
      Returns:
      the prefix map used by this encoder.
    • setDefaultNamespace

      public void setDefaultNamespace(String aDefaultNamespace)
      Deprecated.
      Sets the default XML namespace for the documents created by this encoder. This is the namespace for which no prefix will be used in the generated XML documents.
      Parameters:
      aDefaultNamespace - the default XML namespace to be used by this encoder.
    • getDefaultNamespace

      public String getDefaultNamespace()
      Deprecated.
      Returns the default XML namespace used by this encoder.

      The default value is the SLD namespace: http://www.opengis.net/sld.

      Returns:
      the default XML namespace used by this encoder..
    • setOutputStreamFactory

      public void setOutputStreamFactory(ILcdOutputStreamFactory aILcdOutputStreamFactory)
      Deprecated.
      Sets the output stream factory that will be used for creating output streams given source names.
      Specified by:
      setOutputStreamFactory in interface ILcdOutputStreamFactoryCapable
      Parameters:
      aILcdOutputStreamFactory - the output stream factory to be used.
    • getOutputStreamFactory

      public ILcdOutputStreamFactory getOutputStreamFactory()
      Deprecated.
      Returns the output stream factory that is currently used for creating output streams given source names.
      Specified by:
      getOutputStreamFactory in interface ILcdOutputStreamFactoryCapable
      Returns:
      the input stream factory that is currently used.
    • encodeStyledLayerDescriptor

      public void encodeStyledLayerDescriptor(TLcdSLDStyledLayerDescriptor aStyledLayerDescriptor, String aSourceName) throws IOException
      Deprecated.
      Encodes the given Styled Layer Descriptor to the given destination.
      Parameters:
      aStyledLayerDescriptor - a Styled Layer Descriptor.
      aSourceName - the full path to the source where the object should be written.
      Throws:
      IOException - thrown if an error occurs during the read process.