public static class AttachmentMapOverlay.MapItemAttachment extends java.lang.Object implements Exportable
Constructor and Description |
---|
MapItemAttachment(MapItem mi,
java.io.File attachment) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getAttachment() |
MapItem |
getMapItem() |
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
boolean |
isValid() |
protected Folder |
toKml() |
protected KMZFolder |
toKmz() |
static MissionPackageExportWrapper |
toMissionPackage(MapItem item) |
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
java.lang.String |
toString() |
public MapItemAttachment(MapItem mi, java.io.File attachment)
public java.io.File getAttachment()
public MapItem getMapItem()
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isSupported(java.lang.Class<?> target)
Exportable
isSupported
in interface Exportable
target
- the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target, ExportFilters filters)
Exportable
toObjectOf
in interface Exportable
target
- the target classfilters
- Allows ExportMarshal
instances to filter e.g. based
on geographic region or other criteriaprotected Folder toKml()
protected KMZFolder toKmz()
public static MissionPackageExportWrapper toMissionPackage(MapItem item)