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
ConstructorDescriptionDeprecated.Creates a new schema provider.TLcdXMLSchemaProvider
(ILcdXMLSchemaLocationsMap aSchemaLocationsMap) Deprecated.Creates a new schema provider, with a given schema locations map. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSchema
(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, ornull
if 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.boolean
isSchemaAvailable
(String aNameSpace) Deprecated.Returnstrue
if there is a schema available for the given namespace,false
otherwise.void
setInputStreamFactory
(ILcdInputStreamFactory aInputStreamFactory) Deprecated.Sets the input stream factory that will be used for creating input streams from which to decode schemas.void
setSchemaLocationsMap
(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:
setInputStreamFactory
in 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:
getInputStreamFactory
in interfaceILcdInputStreamFactoryCapable
- Returns:
- the input stream factory that is currently used.
-
getSchema
Deprecated.Description copied from interface:ILcdXMLSchemaProvider
Returns the schema corresponding to the given namespace URI, ornull
if no schema is available for the given namespace URI.- Specified by:
getSchema
in interfaceILcdXMLSchemaProvider
- Parameters:
aNameSpace
- the namespace URI of the schema to be retrieved- Returns:
- the schema with the given namespace URI, or
null
if no schema was available.
-
isSchemaAvailable
Deprecated.Description copied from interface:ILcdXMLSchemaProvider
Returnstrue
if there is a schema available for the given namespace,false
otherwise.- Specified by:
isSchemaAvailable
in 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:ILcdXMLEditableSchemaProvider
Adds the given schema to the schema provider's schema table.- Specified by:
addSchema
in interfaceILcdXMLEditableSchemaProvider
- Parameters:
aSchema
- the schema to be added.
-
com.format.xml.schema
API has been deprecated. Instead, use thecom.format.xml.bind.schema
API.