Package com.luciad.wms.sld.xml
Class TLcdSLDStyledLayerDescriptorEncoder10
java.lang.Object
com.luciad.wms.sld.xml.TLcdSLDStyledLayerDescriptorEncoder10
- All Implemented Interfaces:
ILcdOutputStreamFactoryCapable
@Deprecated
public class TLcdSLDStyledLayerDescriptorEncoder10
extends Object
implements ILcdOutputStreamFactoryCapable
Deprecated.
XML Encoder for
TLcdSLDStyledLayerDescriptor
objects to documents according to version 1.0 of the
OGC Styled Layer Descriptor Implementation Specification.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeStyledLayerDescriptor
(TLcdSLDStyledLayerDescriptor aStyledLayerDescriptor, String aSourceName) Deprecated.Encodes the given Styled Layer Descriptor to the given destination.Deprecated.Returns the default XML namespace used by this encoder.Deprecated.Returns the output stream factory that is currently used for creating output streams given source names.Deprecated.Returns the prefix map used by this encoder.void
setDefaultNamespace
(String aDefaultNamespace) Deprecated.Sets the default XML namespace for the documents created by this encoder.void
setOutputStreamFactory
(ILcdOutputStreamFactory aILcdOutputStreamFactory) Deprecated.Sets the output stream factory that will be used for creating output streams given source names.void
setPrefixMap
(ILcdXMLPrefixMap aPrefixMap) Deprecated.Sets the prefix map to be used by this encoder.
-
Constructor Details
-
TLcdSLDStyledLayerDescriptorEncoder10
public TLcdSLDStyledLayerDescriptorEncoder10()Deprecated.Default constructor.
-
-
Method Details
-
setPrefixMap
Deprecated.Sets the prefix map to be used by this encoder.- Parameters:
aPrefixMap
- the prefix map to be used by this encoder.
-
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
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
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
Deprecated.Sets the output stream factory that will be used for creating output streams given source names.- Specified by:
setOutputStreamFactory
in interfaceILcdOutputStreamFactoryCapable
- Parameters:
aILcdOutputStreamFactory
- the output stream factory to be used.
-
getOutputStreamFactory
Deprecated.Returns the output stream factory that is currently used for creating output streams given source names.- Specified by:
getOutputStreamFactory
in interfaceILcdOutputStreamFactoryCapable
- 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.
-
TLcdSLDStyledLayerDescriptorEncoder