Package com.luciad.format.xml.schema
Class TLcdXMLSchemaEncoder
java.lang.Object
com.luciad.format.xml.schema.TLcdXMLSchemaEncoder
- All Implemented Interfaces:
ILcdOutputStreamFactoryCapable
Deprecated.
An encoder for XML Schemas.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new schema encoder, initialized with a default output stream factory and an empty prefix map. -
Method Summary
Modifier and TypeMethodDescriptionvoidexportSchema(TLcdXMLSchema aSchema, String aDestination) Deprecated.Exports the given XML schema to the given destination.Deprecated.Returns the output stream factory that is used by this encoder.Deprecated.Returns the schema locations used for encoding.voidsetOutputStreamFactory(ILcdOutputStreamFactory aOutputStreamFactory) Deprecated.Sets the output stream factory to be used by this encoder.voidsetPrefixMap(ILcdXMLPrefixMap aPrefixMap) Deprecated.Sets the prefix map to be used by this encoder.voidsetSchemaLocationsMap(ILcdXMLSchemaLocationsMap aSchemaLocationsMap) Deprecated.Sets the locations of the schemas that are used.
-
Constructor Details
-
TLcdXMLSchemaEncoder
public TLcdXMLSchemaEncoder()Deprecated.Creates a new schema encoder, initialized with a default output stream factory and an empty prefix map.
-
-
Method Details
-
setOutputStreamFactory
Deprecated.Sets the output stream factory to be used by this encoder.- Specified by:
setOutputStreamFactoryin interfaceILcdOutputStreamFactoryCapable- Parameters:
aOutputStreamFactory- the output stream factory to be used.- Throws:
NullPointerException- ifaOutputStreamFactory == null.
-
getOutputStreamFactory
Deprecated.Returns the output stream factory that is used by this encoder.- Specified by:
getOutputStreamFactoryin interfaceILcdOutputStreamFactoryCapable- Returns:
- the output stream factory that is used by this encoder.
-
setPrefixMap
Deprecated.Sets the prefix map to be used by this encoder.- Parameters:
aPrefixMap- the prefix map to be used by this encoder.- Throws:
NullPointerException- ifaPrefixMap == null.
-
setSchemaLocationsMap
Deprecated.Sets the locations of the schemas that are used. This locations are used to lookup schema locations during the encoding ofimportelements.- Parameters:
aSchemaLocationsMap- the schema locations map to be used by this encoder.
-
getSchemaLocationsMap
Deprecated.Returns the schema locations used for encoding.- Returns:
- the schema locations used for encoding.
- See Also:
-
exportSchema
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.
-
com.format.xml.schemaAPI has been deprecated. Instead, use thecom.format.xml.bind.schemaAPI.