Class TLcdOGCFilterReaderLibrary11

java.lang.Object
com.luciad.ogc.filter.xml.TLcdOGCFilterReaderLibrary11

@Deprecated public class TLcdOGCFilterReaderLibrary11 extends Object
Deprecated.
This class is part of the older filter decoder/encoder. Please upgrade to the new TLcdXMLEncoder and TLcdXMLDecoder.

Library that contains ILcdXMLElementReader's for OGC Filter elements according to the version 1.0 and 1.1 of the specification.

Example of usage:


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

    • TLcdOGCFilterReaderLibrary11

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