Class TLcdXMLSchemaProvider

java.lang.Object
com.luciad.format.xml.schema.TLcdXMLSchemaProvider
All Implemented Interfaces:
ILcdXMLEditableSchemaProvider, ILcdXMLSchemaProvider, ILcdInputStreamFactoryCapable

public class TLcdXMLSchemaProvider extends Object implements ILcdXMLEditableSchemaProvider, ILcdInputStreamFactoryCapable
Deprecated.
Use of the com.format.xml.schema API has been deprecated. Instead, use the com.format.xml.bind.schema API.
Default implementation of ILcdXMLSchemaProvider. It uses a TLcdXMLSchemaDecoder internally to decode new schemas.
  • Constructor Details

    • TLcdXMLSchemaProvider

      public TLcdXMLSchemaProvider()
      Deprecated.
      Creates a new schema provider.
    • TLcdXMLSchemaProvider

      public TLcdXMLSchemaProvider(ILcdXMLSchemaLocationsMap aSchemaLocationsMap)
      Deprecated.
      Creates a new schema provider, with a given schema locations map.
      Parameters:
      aSchemaLocationsMap - the schema locations map that contains the schema locations.
      Throws:
      NullPointerException - if the given schema locations map is null.
  • Method Details

    • getSchemaLocationsMap

      public ILcdXMLSchemaLocationsMap getSchemaLocationsMap()
      Deprecated.
      Returns the schema locations map that is used by this provider to retrieve schema locations.
      Returns:
      the schema locations map that is used by this provider
    • setSchemaLocationsMap

      public void setSchemaLocationsMap(ILcdXMLSchemaLocationsMap aSchemaLocationsMap)
      Deprecated.
      Sets the schema locations map to be used by this provider to retrieve its schema locations from.
      Parameters:
      aSchemaLocationsMap - the schema locations map to be used by this provider.
      Throws:
      NullPointerException - if aSchemaLocationsMap == null.
    • setInputStreamFactory

      public void setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
      Deprecated.
      Sets the input stream factory that will be used for creating input streams from which to decode schemas.
      Specified by:
      setInputStreamFactory in interface ILcdInputStreamFactoryCapable
      Parameters:
      aInputStreamFactory - the input stream factory to be used.
    • getInputStreamFactory

      public ILcdInputStreamFactory getInputStreamFactory()
      Deprecated.
      Returns the input stream factory that is currently used for creating input streams from which schemas are decoded.
      Specified by:
      getInputStreamFactory in interface ILcdInputStreamFactoryCapable
      Returns:
      the input stream factory that is currently used.
    • getSchema

      public TLcdXMLSchema getSchema(String aNameSpace)
      Deprecated.
      Description copied from interface: ILcdXMLSchemaProvider
      Returns the schema corresponding to the given namespace URI, or null if no schema is available for the given namespace URI.
      Specified by:
      getSchema in interface ILcdXMLSchemaProvider
      Parameters:
      aNameSpace - the namespace URI of the schema to be retrieved
      Returns:
      the schema with the given namespace URI, or null if no schema was available.
    • isSchemaAvailable

      public boolean isSchemaAvailable(String aNameSpace)
      Deprecated.
      Description copied from interface: ILcdXMLSchemaProvider
      Returns true if there is a schema available for the given namespace, false otherwise.
      Specified by:
      isSchemaAvailable in interface ILcdXMLSchemaProvider
      Parameters:
      aNameSpace - the namespace of the schema for which to check if it is available
      Returns:
      if the schema is available for the given namespace
    • addSchema

      public void addSchema(TLcdXMLSchema aSchema)
      Deprecated.
      Description copied from interface: ILcdXMLEditableSchemaProvider
      Adds the given schema to the schema provider's schema table.
      Specified by:
      addSchema in interface ILcdXMLEditableSchemaProvider
      Parameters:
      aSchema - the schema to be added.