com.luciad.format.gml2.xml
, com.luciad.format.gml31.xml
and
com.luciad.format.gml32.xml
.public class TLcdGMLSchemaDecoder extends Object implements ILcdInputStreamFactoryCapable
Constructor and Description |
---|
TLcdGMLSchemaDecoder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ILcdGMLSchema[] |
decodeSchema(String aSchemaLocation)
Deprecated.
Decodes a GML application schema.
|
ILcdInputStreamFactory |
getInputStreamFactory()
Deprecated.
Returns the current
ILcdInputStreamFactory . |
void |
setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
Deprecated.
Sets
aInputStreamFactory as ILcdInputStreamFactory
on this TLcdGMLSchemaDecoder . |
public ILcdGMLSchema[] decodeSchema(String aSchemaLocation) throws IOException
ILcdGMLSchema
objects, each of which describes one feature
type.aSchemaLocation
- The location of the schema to be decoded. May be a URL or a file name.ILcdGMLSchema
objects.IOException
- if the GML application schema cannot be decoded.public void setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
aInputStreamFactory
as ILcdInputStreamFactory
on this TLcdGMLSchemaDecoder
. aInputStreamFactory
is then used for retrieving InputStream objects when decoding a schema.
To use the default way of creating an InputStream, leave this property
unset.setInputStreamFactory
in interface ILcdInputStreamFactoryCapable
aInputStreamFactory
- the factory used to retrieve input streams from the sources.public ILcdInputStreamFactory getInputStreamFactory()
ILcdInputStreamFactory
.getInputStreamFactory
in interface ILcdInputStreamFactoryCapable
ILcdInputStreamFactory
.