Class TLcdSLDFeatureTypeStyleElementReaderLibrary10

java.lang.Object
com.luciad.ogc.sld.xml.TLcdSLDFeatureTypeStyleElementReaderLibrary10

@Deprecated public class TLcdSLDFeatureTypeStyleElementReaderLibrary10 extends Object
Deprecated.
Library that provides ILcdXMLElementAdapter instances for decoding feature type styles elements according to the version 1.0 of the OGC Styled Layer Descriptor Implementation Specification.

Example of usage :


 for (int i = 0; i < TLcdSLDFeatureTypeStyleElementReaderLibrary10.getXMLTypeCount(); i++) {
   TLcdXMLName xmlType = TLcdSLDFeatureTypeStyleElementReaderLibrary10.getXMLType(i);
   TLcdXMLName[] xmlElementNames = TLcdSLDFeatureTypeStyleElementReaderLibrary10.getXMLElementNames(i);
   ILcdXMLElementReader elementReader = TLcdSLDFeatureTypeStyleElementReaderLibrary10
                                                .createElementReader(xmlType,
                                                xmlElementNames,
                                                typedElementReaderProvider,
                                                typedObjectFactoryProvider,
                                                schemaProvider);
   typedElementReaderProvider.registerReader(xmlType, xmlElementNames, elementReader);
 }
 
See Also:
  • Constructor Details

    • TLcdSLDFeatureTypeStyleElementReaderLibrary10

      public TLcdSLDFeatureTypeStyleElementReaderLibrary10()
      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.