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
ConstructorDescriptionDeprecated.Creates a new schema encoder, initialized with a default output stream factory and an empty prefix map. -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportSchema
(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.void
setOutputStreamFactory
(ILcdOutputStreamFactory aOutputStreamFactory) Deprecated.Sets the output stream factory to be used by this encoder.void
setPrefixMap
(ILcdXMLPrefixMap aPrefixMap) Deprecated.Sets the prefix map to be used by this encoder.void
setSchemaLocationsMap
(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:
setOutputStreamFactory
in 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:
getOutputStreamFactory
in 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 ofimport
elements.- 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.schema
API has been deprecated. Instead, use thecom.format.xml.bind.schema
API.