Class TLcdSLDStyledLayerDescriptorReaderLibrary10

java.lang.Object
com.luciad.wms.sld.xml.TLcdSLDStyledLayerDescriptorReaderLibrary10

@Deprecated public class TLcdSLDStyledLayerDescriptorReaderLibrary10 extends Object
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 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 new ILcdXMLElementReader for 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

      public static TLcdXMLName[] getXMLElementNames(int aIndex)
      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

      public static TLcdXMLName getXMLType(int aIndex)
      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.