Class TLcdSLDFeatureTypeStyleDecoder10

java.lang.Object
com.luciad.ogc.sld.xml.TLcdSLDFeatureTypeStyleDecoder10
All Implemented Interfaces:
ILcdInputStreamFactoryCapable

@Deprecated public class TLcdSLDFeatureTypeStyleDecoder10 extends Object implements ILcdInputStreamFactoryCapable
XML Decoder for documents describing feature type styles structured according to version 1.0 of the OGC Styled Layer Descriptor Implementation Specification. Note that these documents should have a <FeatureTypeStyle> top element.
  • Constructor Details

    • TLcdSLDFeatureTypeStyleDecoder10

      public TLcdSLDFeatureTypeStyleDecoder10()
      Deprecated.
      Default constructor.
    • TLcdSLDFeatureTypeStyleDecoder10

      public TLcdSLDFeatureTypeStyleDecoder10(TLcdXMLSchemaProvider aSchemaProvider)
      Deprecated.
      Constructs an instance with a given schema provider.
      Parameters:
      aSchemaProvider -
  • Method Details

    • setInputStreamFactory

      public void setInputStreamFactory(ILcdInputStreamFactory aILcdInputStreamFactory)
      Deprecated.
      Sets the input stream factory that will be used for creating input streams given source names.
      Specified by:
      setInputStreamFactory in interface ILcdInputStreamFactoryCapable
      Parameters:
      aILcdInputStreamFactory - the input stream factory to be used.
    • getInputStreamFactory

      public ILcdInputStreamFactory getInputStreamFactory()
      Deprecated.
      Returns the input stream factory that is currently used for creating input streams given source names.
      Specified by:
      getInputStreamFactory in interface ILcdInputStreamFactoryCapable
      Returns:
      the input stream factory that is currently used.
    • decodeFeatureTypeStyle

      public TLcdSLDFeatureTypeStyle decodeFeatureTypeStyle(String aSourceName) throws IOException
      Deprecated.
      Processes the given XML source document, and returns the feature type style that corresponds the root element.
      Parameters:
      aSourceName - the full path to the file to be decoded, including the file name.
      Returns:
      the feature type style that corresponds the root element.
      Throws:
      IOException - thrown if an error occurs during the read process.
    • registerReader

      public void registerReader(TLcdXMLName aXMLName, TLcdXMLName[] aTLcdXMLNames, ILcdXMLElementReader aILcdXMLElementReader)
      Deprecated.
      Registers the given reader for the XML type, identified by the element name stack that is contained in the given XML type.
      Parameters:
      aXMLName - The XML type name from which the specified element name stack is part of
      aTLcdXMLNames - The element name stack, identifying the XML type within the provided XML type.
      aILcdXMLElementReader - A reader to process the given element.
    • registerFactory

      public void registerFactory(TLcdXMLName aXMLName, TLcdXMLName[] aTLcdXMLNames, ILcdXMLObjectFactory aILcdXMLObjectFactory)
      Deprecated.
      Registers the given factory for the XML type, identified by the element name stack that is contained in the given XML type.
      Parameters:
      aXMLName - The XML type name from which the specified element name stack is part of.
      aTLcdXMLNames - The element name stack, identifying the XML type within the provided XML type.
      aILcdXMLObjectFactory - A factory to register the specified type.
    • getTypedElementReaderProvider

      public ILcdXMLTypedElementReaderProvider getTypedElementReaderProvider()
      Deprecated.
      Returns the element reader provider used by this decoder.
      Returns:
      the element reader provider used by this decoder.
    • getTypedObjectFactoryProvider

      public ILcdXMLObjectFactoryProvider getTypedObjectFactoryProvider()
      Deprecated.
      Returns the object factory provider used by this decoder.
      Returns:
      the object factory provider used by this decoder.
    • getSchemaProvider

      public ILcdXMLSchemaProvider getSchemaProvider()
      Deprecated.
      Returns the schema provider used by this decoder.
      Returns:
      the schema provider used by this decoder.