Package com.luciad.format.xml.schema
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.
Default implementation of
ILcdXMLSchemaProvider. It uses a
TLcdXMLSchemaDecoder internally to decode new schemas.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new schema provider.TLcdXMLSchemaProvider(ILcdXMLSchemaLocationsMap aSchemaLocationsMap) Deprecated.Creates a new schema provider, with a given schema locations map. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSchema(TLcdXMLSchema aSchema) Deprecated.Adds the given schema to the schema provider's schema table.Deprecated.Returns the input stream factory that is currently used for creating input streams from which schemas are decoded.Deprecated.Returns the schema corresponding to the given namespace URI, ornullif no schema is available for the given namespace URI.Deprecated.Returns the schema locations map that is used by this provider to retrieve schema locations.booleanisSchemaAvailable(String aNameSpace) Deprecated.Returnstrueif there is a schema available for the given namespace,falseotherwise.voidsetInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory) Deprecated.Sets the input stream factory that will be used for creating input streams from which to decode schemas.voidsetSchemaLocationsMap(ILcdXMLSchemaLocationsMap aSchemaLocationsMap) Deprecated.Sets the schema locations map to be used by this provider to retrieve its schema locations from.
-
Constructor Details
-
TLcdXMLSchemaProvider
public TLcdXMLSchemaProvider()Deprecated.Creates a new schema provider. -
TLcdXMLSchemaProvider
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 isnull.
-
-
Method Details
-
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
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- ifaSchemaLocationsMap == null.
-
setInputStreamFactory
Deprecated.Sets the input stream factory that will be used for creating input streams from which to decode schemas.- Specified by:
setInputStreamFactoryin interfaceILcdInputStreamFactoryCapable- Parameters:
aInputStreamFactory- the input stream factory to be used.
-
getInputStreamFactory
Deprecated.Returns the input stream factory that is currently used for creating input streams from which schemas are decoded.- Specified by:
getInputStreamFactoryin interfaceILcdInputStreamFactoryCapable- Returns:
- the input stream factory that is currently used.
-
getSchema
Deprecated.Description copied from interface:ILcdXMLSchemaProviderReturns the schema corresponding to the given namespace URI, ornullif no schema is available for the given namespace URI.- Specified by:
getSchemain interfaceILcdXMLSchemaProvider- Parameters:
aNameSpace- the namespace URI of the schema to be retrieved- Returns:
- the schema with the given namespace URI, or
nullif no schema was available.
-
isSchemaAvailable
Deprecated.Description copied from interface:ILcdXMLSchemaProviderReturnstrueif there is a schema available for the given namespace,falseotherwise.- Specified by:
isSchemaAvailablein interfaceILcdXMLSchemaProvider- 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
Deprecated.Description copied from interface:ILcdXMLEditableSchemaProviderAdds the given schema to the schema provider's schema table.- Specified by:
addSchemain interfaceILcdXMLEditableSchemaProvider- Parameters:
aSchema- the schema to be added.
-
com.format.xml.schemaAPI has been deprecated. Instead, use thecom.format.xml.bind.schemaAPI.