|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.globecore.KmlConvertor
public class KmlConvertor
The Kml Convertor object.
| Constructor Summary | |
|---|---|
KmlConvertor()
Constructs a KmlConvertor using ArcGIS Engine. |
|
KmlConvertor(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. KmlConvertor theKmlConvertor = (KmlConvertor) obj; |
|
| Method Summary | |
|---|---|
byte[] |
convertToArray()
The Convert method. |
void |
convertToFile(String filename)
The Convert method. |
boolean |
equals(Object o)
Compare this object with another |
IEnvelope |
getBBox()
The bounding box of the map. |
static String |
getClsid()
getClsid. |
int |
getDPI()
Get DPI property. |
String |
getEndPointUrl()
Get EndPointUrl property. |
int |
getFeatureLimit()
Get FeatureLimit value. |
int |
getIconSize()
Get IconSize property. |
IArray |
getIDList()
Returns Layer hierarchy. |
int |
getImageSize()
Get ImageSize property. |
IPropertySet |
getKmlParameters()
Get list of verious KML parameters. |
IArray |
getLayerIDListFromMap(IMap pMap)
Get array of numerical layer IDs in hierarchical order from Map. |
IArray |
getLayerIDListFromMapServer(IMapServer pMapServer)
Get array of numerical layer IDs in hierarchical order from MapServer. |
String |
getLayerIDs()
Get layer ID string. |
int |
getPaletteSize()
Get PaletteSize property. |
double |
getScale()
Get Scale property. |
String |
getWorkingDirectory()
Get WorkingDirectory property. |
int |
hashCode()
the hashcode for this object |
boolean |
isComposite()
Get Composite property. |
boolean |
isIgnoreScaleFactor()
Get ignore scale factor property. |
boolean |
isIgnoreVisibility()
Get ignore visibility property. |
boolean |
isVectorsToRasters()
Get VectorsToRasters property. |
byte[] |
layerToArray(ILayer pLayer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters)
Converts a layer to KML and outputs a KMZ stream. |
void |
layerToFile(ILayer pLayer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String filename)
Converts a layer to KML and outputs a KMZ file. |
byte[] |
mapServerMapToArray(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs)
Converts MapServer Map in server environment to KML and outputs a KMZ stream. |
void |
mapServerMapToFile(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs,
String filename)
Converts MapServer Map in server environment to KML and outputs a KMZ file. |
byte[] |
mapToArray(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs)
Converts Map to KML and outputs a KMZ stream. |
void |
mapToFile(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs,
String filename)
Converts Map to KML and outputs a KMZ file. |
void |
setBBox(IEnvelope pArea)
The bounding box of the map. |
void |
setComposite(boolean pComposite)
Get Composite property. |
void |
setDPI(int pDpi)
Get DPI property. |
void |
setEndPointUrl(String pUrl)
Get EndPointUrl property. |
void |
setFeatureLimit(int pFeatureLimit)
Get FeatureLimit value. |
void |
setIconSize(int psize)
Get IconSize property. |
void |
setIgnoreScaleFactor(boolean pIgnoreScaleFactor)
Get ignore scale factor property. |
void |
setIgnoreVisibility(boolean pIgnoreVisibility)
Get ignore visibility property. |
void |
setImageSize(int psize)
Get ImageSize property. |
void |
setKmlParameters(IPropertySet pProps)
Get list of verious KML parameters. |
void |
setLayerIDs(String pLayerIDs)
Get layer ID string. |
void |
setMap(IMap pMap)
Intialize by IMap object. |
void |
setMapServer(IMapServer pMapServer)
Intialize by IMapServer object. |
void |
setPaletteSize(int psize)
Get PaletteSize property. |
void |
setScale(double pScale)
Get Scale property. |
void |
setVectorsToRasters(boolean pVectorsToRasters)
Get VectorsToRasters property. |
void |
setWorkingDirectory(String pWorkingDirectory)
Get WorkingDirectory property. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public KmlConvertor()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public KmlConvertor(Object obj)
throws IOException
KmlConvertor theKmlConvertor = (KmlConvertor) obj;
obj to KmlConvertor.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setMap(IMap pMap)
throws IOException,
AutomationException
setMap in interface IKmlConvertorpMap - A reference to a com.esri.arcgis.carto.IMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapServer(IMapServer pMapServer)
throws IOException,
AutomationException
setMapServer in interface IKmlConvertorpMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getWorkingDirectory()
throws IOException,
AutomationException
getWorkingDirectory in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWorkingDirectory(String pWorkingDirectory)
throws IOException,
AutomationException
setWorkingDirectory in interface IKmlConvertorpWorkingDirectory - The pWorkingDirectory (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getBBox()
throws IOException,
AutomationException
getBBox in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBBox(IEnvelope pArea)
throws IOException,
AutomationException
setBBox in interface IKmlConvertorpArea - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void convertToFile(String filename)
throws IOException,
AutomationException
convertToFile in interface IKmlConvertorfilename - The filename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] convertToArray()
throws IOException,
AutomationException
convertToArray in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getLayerIDs()
throws IOException,
AutomationException
getLayerIDs in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerIDs(String pLayerIDs)
throws IOException,
AutomationException
setLayerIDs in interface IKmlConvertorpLayerIDs - The pLayerIDs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isComposite()
throws IOException,
AutomationException
isComposite in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setComposite(boolean pComposite)
throws IOException,
AutomationException
setComposite in interface IKmlConvertorpComposite - The pComposite (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVectorsToRasters()
throws IOException,
AutomationException
isVectorsToRasters in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVectorsToRasters(boolean pVectorsToRasters)
throws IOException,
AutomationException
setVectorsToRasters in interface IKmlConvertorpVectorsToRasters - The pVectorsToRasters (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getImageSize()
throws IOException,
AutomationException
getImageSize in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setImageSize(int psize)
throws IOException,
AutomationException
setImageSize in interface IKmlConvertorpsize - The psize (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getPaletteSize()
throws IOException,
AutomationException
getPaletteSize in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPaletteSize(int psize)
throws IOException,
AutomationException
setPaletteSize in interface IKmlConvertorpsize - The psize (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getIconSize()
throws IOException,
AutomationException
getIconSize in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIconSize(int psize)
throws IOException,
AutomationException
setIconSize in interface IKmlConvertorpsize - The psize (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getScale()
throws IOException,
AutomationException
getScale in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setScale(double pScale)
throws IOException,
AutomationException
setScale in interface IKmlConvertorpScale - The pScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDPI()
throws IOException,
AutomationException
getDPI in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDPI(int pDpi)
throws IOException,
AutomationException
setDPI in interface IKmlConvertorpDpi - The pDpi (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getEndPointUrl()
throws IOException,
AutomationException
getEndPointUrl in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setEndPointUrl(String pUrl)
throws IOException,
AutomationException
setEndPointUrl in interface IKmlConvertorpUrl - The pUrl (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIgnoreScaleFactor()
throws IOException,
AutomationException
isIgnoreScaleFactor in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoreScaleFactor(boolean pIgnoreScaleFactor)
throws IOException,
AutomationException
setIgnoreScaleFactor in interface IKmlConvertorpIgnoreScaleFactor - The pIgnoreScaleFactor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isIgnoreVisibility()
throws IOException,
AutomationException
isIgnoreVisibility in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoreVisibility(boolean pIgnoreVisibility)
throws IOException,
AutomationException
setIgnoreVisibility in interface IKmlConvertorpIgnoreVisibility - The pIgnoreVisibility (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getFeatureLimit()
throws IOException,
AutomationException
getFeatureLimit in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureLimit(int pFeatureLimit)
throws IOException,
AutomationException
setFeatureLimit in interface IKmlConvertorpFeatureLimit - The pFeatureLimit (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPropertySet getKmlParameters()
throws IOException,
AutomationException
getKmlParameters in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKmlParameters(IPropertySet pProps)
throws IOException,
AutomationException
setKmlParameters in interface IKmlConvertorpProps - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getIDList()
throws IOException,
AutomationException
getIDList in interface IKmlConvertorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void layerToFile(ILayer pLayer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String filename)
throws IOException,
AutomationException
layerToFile in interface IKmlConversionpLayer - A reference to a com.esri.arcgis.carto.ILayer (in)pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)filename - The filename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] layerToArray(ILayer pLayer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters)
throws IOException,
AutomationException
layerToArray in interface IKmlConversionpLayer - A reference to a com.esri.arcgis.carto.ILayer (in)pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void mapToFile(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs,
String filename)
throws IOException,
AutomationException
mapToFile in interface IKmlConversionpMap - A reference to a com.esri.arcgis.carto.IMap (in)pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs - The pLayerIDs (in)filename - The filename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] mapToArray(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs)
throws IOException,
AutomationException
mapToArray in interface IKmlConversionpMap - A reference to a com.esri.arcgis.carto.IMap (in)pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs - The pLayerIDs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void mapServerMapToFile(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs,
String filename)
throws IOException,
AutomationException
mapServerMapToFile in interface IKmlConversionpMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs - The pLayerIDs (in)filename - The filename (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public byte[] mapServerMapToArray(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
String[] pLayerIDs)
throws IOException,
AutomationException
mapServerMapToArray in interface IKmlConversionpMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)pQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)pKmlParameters - A reference to a com.esri.arcgis.system.IPropertySet (in)pLayerIDs - The pLayerIDs (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getLayerIDListFromMap(IMap pMap)
throws IOException,
AutomationException
getLayerIDListFromMap in interface IKmlConversionpMap - A reference to a com.esri.arcgis.carto.IMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getLayerIDListFromMapServer(IMapServer pMapServer)
throws IOException,
AutomationException
getLayerIDListFromMapServer in interface IKmlConversionpMapServer - A reference to a com.esri.arcgis.carto.IMapServer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||