public class TLcdS57ObjectClassMapDecoder extends Object implements ILcdInputStreamFactoryCapable
ACRONYM CODE ATTRIBUTES
ACRONYM
is the six-letter acronym of the object, as defined in the S-57
object catalogue. CODE
is the integer number code of the object, as
defined in the S-57 object catalogue. ATTRIBUTES
is a space-separated
list of acronyms of all attributes that are valid for this object class. Constructor and Description |
---|
TLcdS57ObjectClassMapDecoder()
Constructs a new
TLcdS57ObjectClassMapDecoder . |
TLcdS57ObjectClassMapDecoder(TLcdS57AttributeClassMap aAttributeClassMap)
Constructs a new
TLcdS57ObjectClassMapDecoder , initialized with the given
attribute class map. |
Modifier and Type | Method and Description |
---|---|
TLcdS57ObjectClassMap |
decodeS57ObjectClassMap(String aSourceName)
Decodes the given map file.
|
ILcdS57AttributeClassDescriptionMap |
getAttributeClassDescriptionMap()
Returns the attribute class description map used for retrieving display names for the data
model.
|
TLcdS57AttributeClassMap |
getAttributeClassMap()
Returns the attribute class map from which attribute class descriptors are retrieved.
|
ILcdInputStreamFactory |
getInputStreamFactory()
Returns the current input stream factory.
|
ILcdS57ObjectClassDescriptionMap |
getObjectClassDescriptionMap()
Returns the object class description map used for retrieving display names for the data model.
|
void |
setAttributeClassDescriptionMap(ILcdS57AttributeClassDescriptionMap aAttributeClassDescriptionMap)
Sets the attribute class description map used for retrieving display names for the data model.
|
void |
setAttributeClassMap(TLcdS57AttributeClassMap aAttributeClassMap)
Sets the attribute class map from which attribute class descriptors should be retrieved.
|
void |
setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
Sets the factory that will create input streams from which data can be decoded.
|
void |
setObjectClassDescriptionMap(ILcdS57ObjectClassDescriptionMap aObjectClassDescriptionMap)
Sets the object class description map used for retrieving display names for the data model.
|
public TLcdS57ObjectClassMapDecoder()
TLcdS57ObjectClassMapDecoder
.public TLcdS57ObjectClassMapDecoder(TLcdS57AttributeClassMap aAttributeClassMap)
TLcdS57ObjectClassMapDecoder
, initialized with the given
attribute class map.aAttributeClassMap
- public void setInputStreamFactory(ILcdInputStreamFactory aInputStreamFactory)
setInputStreamFactory
in interface ILcdInputStreamFactoryCapable
aInputStreamFactory
- the factory that creates an input stream based on a source name.public ILcdInputStreamFactory getInputStreamFactory()
getInputStreamFactory
in interface ILcdInputStreamFactoryCapable
public void setAttributeClassMap(TLcdS57AttributeClassMap aAttributeClassMap)
public TLcdS57AttributeClassMap getAttributeClassMap()
public ILcdS57ObjectClassDescriptionMap getObjectClassDescriptionMap()
public void setObjectClassDescriptionMap(ILcdS57ObjectClassDescriptionMap aObjectClassDescriptionMap)
aObjectClassDescriptionMap
- the object class description map used for retrieving display
names for the data model.public ILcdS57AttributeClassDescriptionMap getAttributeClassDescriptionMap()
public void setAttributeClassDescriptionMap(ILcdS57AttributeClassDescriptionMap aAttributeClassDescriptionMap)
aAttributeClassDescriptionMap
- the attribute class description map used for retrieving
display names for the data model.public TLcdS57ObjectClassMap decodeS57ObjectClassMap(String aSourceName) throws IOException
IOException