Class TLcdXMLSchemaEncoder

java.lang.Object
com.luciad.format.xml.schema.TLcdXMLSchemaEncoder
All Implemented Interfaces:
ILcdOutputStreamFactoryCapable

public class TLcdXMLSchemaEncoder extends Object implements ILcdOutputStreamFactoryCapable
Deprecated.
Use of the com.format.xml.schema API has been deprecated. Instead, use the com.format.xml.bind.schema API.
An encoder for XML Schemas.
  • Constructor Details Link icon

    • TLcdXMLSchemaEncoder Link icon

      public TLcdXMLSchemaEncoder()
      Deprecated.
      Creates a new schema encoder, initialized with a default output stream factory and an empty prefix map.
  • Method Details Link icon

    • setOutputStreamFactory Link icon

      public void setOutputStreamFactory(ILcdOutputStreamFactory aOutputStreamFactory)
      Deprecated.
      Sets the output stream factory to be used by this encoder.
      Specified by:
      setOutputStreamFactory in interface ILcdOutputStreamFactoryCapable
      Parameters:
      aOutputStreamFactory - the output stream factory to be used.
      Throws:
      NullPointerException - if aOutputStreamFactory == null.
    • getOutputStreamFactory Link icon

      public ILcdOutputStreamFactory getOutputStreamFactory()
      Deprecated.
      Returns the output stream factory that is used by this encoder.
      Specified by:
      getOutputStreamFactory in interface ILcdOutputStreamFactoryCapable
      Returns:
      the output stream factory that is used by this encoder.
    • setPrefixMap Link icon

      public void setPrefixMap(ILcdXMLPrefixMap aPrefixMap)
      Deprecated.
      Sets the prefix map to be used by this encoder.
      Parameters:
      aPrefixMap - the prefix map to be used by this encoder.
      Throws:
      NullPointerException - if aPrefixMap == null.
    • setSchemaLocationsMap Link icon

      public void setSchemaLocationsMap(ILcdXMLSchemaLocationsMap aSchemaLocationsMap)
      Deprecated.
      Sets the locations of the schemas that are used. This locations are used to lookup schema locations during the encoding of import elements.
      Parameters:
      aSchemaLocationsMap - the schema locations map to be used by this encoder.
    • getSchemaLocationsMap Link icon

      public ILcdXMLSchemaLocationsMap getSchemaLocationsMap()
      Deprecated.
      Returns the schema locations used for encoding.
      Returns:
      the schema locations used for encoding.
      See Also:
    • exportSchema Link icon

      public void exportSchema(TLcdXMLSchema aSchema, String aDestination) throws IOException
      Deprecated.
      Exports the given XML schema to the given destination.
      Parameters:
      aSchema - the schema to be exported.
      aDestination - the destination to which the XML schema should be exported.
      Throws:
      IOException - if a problem occurs during the export.