Package com.luciad.wms.sld.xml
Class TLcdSLDStyledLayerDescriptorDecoder10
java.lang.Object
com.luciad.wms.sld.xml.TLcdSLDStyledLayerDescriptorDecoder10
- All Implemented Interfaces:
ILcdInputStreamFactoryCapable
@Deprecated
public class TLcdSLDStyledLayerDescriptorDecoder10
extends Object
implements ILcdInputStreamFactoryCapable
Deprecated.
XML Decoder for documents describing Styled Layer Descriptors, structured according to version 1.0 of the OGC Styled
Layer Descriptor specification.
-
Constructor Summary
ConstructorDescriptionDeprecated.Creates a newTLcdSLDStyledLayerDescriptorDecoder10
. -
Method Summary
Modifier and TypeMethodDescriptiondecodeStyledLayerDescriptor
(String aSourceName) Deprecated.Processes the given XML source document, and returns the Styled Layer Descriptor that corresponds the root element.Deprecated.Returns the input stream factory that is currently used for creating input streams given source names.Deprecated.Returns the schema provider used by this decoder.Deprecated.Returns the element reader provider used by this decoder.Deprecated.Returns the object factory provider used by this decoder.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.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.void
setInputStreamFactory
(ILcdInputStreamFactory aInputStreamFactory) Deprecated.Sets the input stream factory that will be used for creating input streams given source names.
-
Constructor Details
-
TLcdSLDStyledLayerDescriptorDecoder10
public TLcdSLDStyledLayerDescriptorDecoder10()Deprecated.Creates a newTLcdSLDStyledLayerDescriptorDecoder10
.
-
-
Method Details
-
setInputStreamFactory
Deprecated.Sets the input stream factory that will be used for creating input streams given source names.- Specified by:
setInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Parameters:
aInputStreamFactory
- the input stream factory to be used.
-
getInputStreamFactory
Deprecated.Returns the input stream factory that is currently used for creating input streams given source names.- Specified by:
getInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Returns:
- the input stream factory that is currently used.
-
decodeStyledLayerDescriptor
public TLcdSLDStyledLayerDescriptor decodeStyledLayerDescriptor(String aSourceName) throws IOException Deprecated.Processes the given XML source document, and returns the Styled Layer Descriptor that corresponds the root element.- Parameters:
aSourceName
- the full path to the file to be decoded, including the file name.- Returns:
- the Styled Layer Descriptor 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 ofaTLcdXMLNames
- 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
Deprecated.Returns the element reader provider used by this decoder.- Returns:
- the element reader provider used by this decoder.
-
getTypedObjectFactoryProvider
Deprecated.Returns the object factory provider used by this decoder.- Returns:
- the object factory provider used by this decoder.
-
getSchemaProvider
Deprecated.Returns the schema provider used by this decoder.- Returns:
- the schema provider used by this decoder.
-
TLcdSLDStyledLayerDescriptorDecoder