Class TLcdSLDFeatureTypeStyleEncoder10

java.lang.Object
com.luciad.ogc.sld.xml.TLcdSLDFeatureTypeStyleEncoder10
All Implemented Interfaces:
ILcdOutputStreamFactoryCapable

@Deprecated public class TLcdSLDFeatureTypeStyleEncoder10 extends Object implements ILcdOutputStreamFactoryCapable
XML Encoder for TLcdSLDFeatureTypeStyle objects to documents according to version 1.0 of the OGC Styled Layer Descriptor Implementation Specification. Note that the files produced do not contains SLD top elements.
  • Constructor Details

    • TLcdSLDFeatureTypeStyleEncoder10

      public TLcdSLDFeatureTypeStyleEncoder10()
      Deprecated.
      Default constructor.
    • TLcdSLDFeatureTypeStyleEncoder10

      public TLcdSLDFeatureTypeStyleEncoder10(TLcdXMLSchemaProvider aSchemaProvider)
      Deprecated.
  • 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.
    • encodeFeatureTypeStyle

      public void encodeFeatureTypeStyle(TLcdSLDFeatureTypeStyle aFeatureTypeStyle, String aSourceName) throws IOException
      Deprecated.
      Encodes the given feature type style to the given destination.
      Parameters:
      aFeatureTypeStyle - the given feature type style.
      aSourceName - the full path to the source where the object should be writtten.
      Throws:
      IOException - thrown if an error occurs during the read process.
    • setSchemaLocationsMap

      public void setSchemaLocationsMap(ILcdXMLSchemaLocationsMap aSchemaLocationsMap)
      Deprecated.
      Sets the locations of the schemas that are used in the XML document.

      The schema locations will be declared in all XML document encoded by this encoder, in the xsi:schemaLocations="namespace schemaLocation ..." attribute of the root element. All previously set locations will be cleared.

      Parameters:
      aSchemaLocationsMap - the locations of the schemas.
    • getSchemaLocationsMap

      public ILcdXMLSchemaLocationsMap getSchemaLocationsMap()
      Deprecated.
      Gets the locations of the schemas.
      Returns:
      the locations of the schemas.
      See Also:
    • getElementAdapterProvider

      public ILcdXMLTypedElementAdapterProvider getElementAdapterProvider()
      Deprecated.
      Gets the element adapter provider.
      Returns:
      the element adapter provider.
    • getSchemaProvider

      public ILcdXMLEditableSchemaProvider getSchemaProvider()
      Deprecated.
      Gets the schema provider.
      Returns:
      the schema provider.
    • registerElementAdapter

      public void registerElementAdapter(TLcdXMLName aXMLName, Class aClass, ILcdXMLElementAdapter aElementAdapter)
      Deprecated.
      Registers the given reader for the given XML type, sub-elements and Java type.
      Parameters:
      aXMLName - the XML type name for which the adapter was written. Cannot be null.
      aClass - the Java class for which the adapter was written.
      aElementAdapter - the adapter to be registered.
    • registerElementAdapter

      public void registerElementAdapter(TLcdXMLName aXMLName, TLcdXMLName[] aElementNames, Class aClass, ILcdXMLElementAdapter aElementAdapter)
      Deprecated.
      Registers the given reader for the given XML type, sub-elements and Java type.
      Parameters:
      aXMLName - the XML type name for which the adapter was written. It can be null in case of a local (or anonymous) type of a global element.
      aElementNames - the sub-element names of the type. Cannot be null. Must have length > 0.
      aClass - the Java class for which the adapter was written.
      aElementAdapter - the adapter to be registered.