Package com.luciad.wms.sld.xml
Class TLcdSLDStyledLayerDescriptorReaderLibrary10
java.lang.Object
com.luciad.wms.sld.xml.TLcdSLDStyledLayerDescriptorReaderLibrary10
Deprecated.
Library that provides
ILcdXMLElementAdapter instances for OGC Styled Layer Descriptor objects according to the version 1.0 of the specification.
Example of usage :
for (int i = 0; i < TLcdSLDStyledLayerDescriptorReaderLibrary10.getXMLTypeCount(); i++) {
TLcdXMLName xmlType = TLcdSLDStyledLayerDescriptorReaderLibrary10.getXMLType(i);
TLcdXMLName[] xmlElementNames = TLcdSLDStyledLayerDescriptorReaderLibrary10.getXMLElementNames(i);
ILcdXMLElementReader elementReader = TLcdSLDStyledLayerDescriptorReaderLibrary10
.createElementReader(xmlType,
xmlElementNames,
typedElementReaderProvider,
typedObjectFactoryProvider,
schemaProvider);
typedElementReaderProvider.registerReader(xmlType, xmlElementNames, elementReader);
}
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ILcdXMLElementReadercreateElementReader(TLcdXMLName aTypeName, TLcdXMLName[] aElementNames, ILcdXMLTypedElementReaderProvider aElementReaderProvider, ILcdXMLObjectFactoryProvider aObjectFactoryProvider, ILcdXMLSchemaProvider aSchemaProvider) Deprecated.Returns a newILcdXMLElementReaderfor the given type and sub elements, initialized with the given providers.static TLcdXMLName[]getXMLElementNames(int aIndex) Deprecated.Returns the sub elements names of the XML type, supported by this provider, at the given index.static TLcdXMLNamegetXMLType(int aIndex) Deprecated.Returns the name of the XML type, supported by this provider, at the given index.static intDeprecated.Returns the number of XML types and sub elements that are supported by this provider.
-
Constructor Details
-
TLcdSLDStyledLayerDescriptorReaderLibrary10
public TLcdSLDStyledLayerDescriptorReaderLibrary10()Deprecated.
-
-
Method Details
-
createElementReader
public static ILcdXMLElementReader createElementReader(TLcdXMLName aTypeName, TLcdXMLName[] aElementNames, ILcdXMLTypedElementReaderProvider aElementReaderProvider, ILcdXMLObjectFactoryProvider aObjectFactoryProvider, ILcdXMLSchemaProvider aSchemaProvider) Deprecated.Returns a newILcdXMLElementReaderfor the given type and sub elements, initialized with the given providers.- Parameters:
aTypeName- the name of the XML type.aElementNames- the sub elements names of the XML type.aElementReaderProvider- the given element name provider.aObjectFactoryProvider- the given object factory provider.aSchemaProvider- the given schema provider.- Returns:
- a new ILcdXMLElementReader for the given type.
-
getXMLElementNames
Deprecated.Returns the sub elements names of the XML type, supported by this provider, at the given index.- Parameters:
aIndex- the given index.- Returns:
- the sub elements names of the XML type.
-
getXMLType
Deprecated.Returns the name of the XML type, supported by this provider, at the given index.- Parameters:
aIndex- the given index.- Returns:
- the name of the XML type.
-
getXMLTypeCount
public static int getXMLTypeCount()Deprecated.Returns the number of XML types and sub elements that are supported by this provider.- Returns:
- the number of XML types and sub elements.
-