com.format.xml.schema
API has been deprecated. Instead, use the com.format.xml.bind.schema
API.public class TLcdXMLSchemaEncoder extends Object implements ILcdOutputStreamFactoryCapable
Constructor and Description |
---|
TLcdXMLSchemaEncoder()
Deprecated.
Creates a new schema encoder, initialized with a default output stream factory and an empty
prefix map.
|
Modifier and Type | Method and Description |
---|---|
void |
exportSchema(TLcdXMLSchema aSchema,
String aDestination)
Deprecated.
Exports the given XML schema to the given destination.
|
ILcdOutputStreamFactory |
getOutputStreamFactory()
Deprecated.
Returns the output stream factory that is used by this encoder.
|
ILcdXMLSchemaLocationsMap |
getSchemaLocationsMap()
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.
|
public TLcdXMLSchemaEncoder()
public void setOutputStreamFactory(ILcdOutputStreamFactory aOutputStreamFactory)
setOutputStreamFactory
in interface ILcdOutputStreamFactoryCapable
aOutputStreamFactory
- the output stream factory to be used.NullPointerException
- if aOutputStreamFactory == null
.public ILcdOutputStreamFactory getOutputStreamFactory()
getOutputStreamFactory
in interface ILcdOutputStreamFactoryCapable
public void setPrefixMap(ILcdXMLPrefixMap aPrefixMap)
aPrefixMap
- the prefix map to be used by this encoder.NullPointerException
- if aPrefixMap == null
.public void setSchemaLocationsMap(ILcdXMLSchemaLocationsMap aSchemaLocationsMap)
import
elements.aSchemaLocationsMap
- the schema locations map to be used by this encoder.public ILcdXMLSchemaLocationsMap getSchemaLocationsMap()
setSchemaLocationsMap(com.luciad.format.xml.schema.ILcdXMLSchemaLocationsMap)
public void exportSchema(TLcdXMLSchema aSchema, String aDestination) throws IOException
aSchema
- the schema to be exported.aDestination
- the destination to which the XML schema should be exported.IOException
- if a problem occurs during the export.