|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.globecore.KmlConvertor
public class KmlConvertor
COM Class 'KmlConvertor'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'
Description 'The Kml Convertor object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.globecore.IKmlConvertor |
---|
IID, IIDd91d9176_41ad_4268_9e33_9295c480307b, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IKmlConversion |
---|
IID, IIDda7f107f_ae0c_4684_90d1_68b3570560e7, xxDummy |
Constructor Summary | |
---|---|
KmlConvertor()
Constructs a KmlConvertor using ArcGIS Engine. |
|
KmlConvertor(java.lang.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(java.lang.String filename)
The Convert method. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IEnvelope |
getBBox()
The bounding box of the map. |
static java.lang.String |
getClsid()
getClsid. |
int |
getDPI()
Get DPI property. |
java.lang.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. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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. |
java.lang.String |
getLayerIDs()
Get layer ID string. |
int |
getPaletteSize()
Get PaletteSize property. |
double |
getScale()
Get Scale property. |
java.lang.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,
java.lang.String filename)
Converts a layer to KML and outputs a KMZ file. |
byte[] |
mapServerMapToArray(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
java.lang.String[] pLayerIDs)
Converts MapServer Map in server environment to KML and outputs a KMZ stream. |
void |
mapServerMapToFile(IMapServer pMapServer,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
java.lang.String[] pLayerIDs,
java.lang.String filename)
Converts MapServer Map in server environment to KML and outputs a KMZ file. |
byte[] |
mapToArray(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
java.lang.String[] pLayerIDs)
Converts Map to KML and outputs a KMZ stream. |
void |
mapToFile(IMap pMap,
IQueryFilter pQueryFilter,
IPropertySet pKmlParameters,
java.lang.String[] pLayerIDs,
java.lang.String filename)
Converts Map to KML and outputs a KMZ file. |
void |
release()
Release a KmlConvertor. |
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(java.lang.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(java.lang.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(java.lang.String pWorkingDirectory)
Get WorkingDirectory property. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KmlConvertor() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic KmlConvertor(java.lang.Object obj) throws java.io.IOException
KmlConvertor theKmlConvertor = (KmlConvertor) obj;
obj
to KmlConvertor
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setMap(IMap pMap) throws java.io.IOException, AutomationException
setMap
in interface IKmlConvertor
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapServer(IMapServer pMapServer) throws java.io.IOException, AutomationException
setMapServer
in interface IKmlConvertor
pMapServer
- A reference to a com.esri.arcgis.carto.IMapServer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getWorkingDirectory() throws java.io.IOException, AutomationException
getWorkingDirectory
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWorkingDirectory(java.lang.String pWorkingDirectory) throws java.io.IOException, AutomationException
setWorkingDirectory
in interface IKmlConvertor
pWorkingDirectory
- The pWorkingDirectory (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getBBox() throws java.io.IOException, AutomationException
getBBox
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBBox(IEnvelope pArea) throws java.io.IOException, AutomationException
setBBox
in interface IKmlConvertor
pArea
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void convertToFile(java.lang.String filename) throws java.io.IOException, AutomationException
convertToFile
in interface IKmlConvertor
filename
- The filename (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] convertToArray() throws java.io.IOException, AutomationException
convertToArray
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLayerIDs() throws java.io.IOException, AutomationException
getLayerIDs
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerIDs(java.lang.String pLayerIDs) throws java.io.IOException, AutomationException
setLayerIDs
in interface IKmlConvertor
pLayerIDs
- The pLayerIDs (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isComposite() throws java.io.IOException, AutomationException
isComposite
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setComposite(boolean pComposite) throws java.io.IOException, AutomationException
setComposite
in interface IKmlConvertor
pComposite
- The pComposite (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVectorsToRasters() throws java.io.IOException, AutomationException
isVectorsToRasters
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVectorsToRasters(boolean pVectorsToRasters) throws java.io.IOException, AutomationException
setVectorsToRasters
in interface IKmlConvertor
pVectorsToRasters
- The pVectorsToRasters (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getImageSize() throws java.io.IOException, AutomationException
getImageSize
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setImageSize(int psize) throws java.io.IOException, AutomationException
setImageSize
in interface IKmlConvertor
psize
- The psize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPaletteSize() throws java.io.IOException, AutomationException
getPaletteSize
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPaletteSize(int psize) throws java.io.IOException, AutomationException
setPaletteSize
in interface IKmlConvertor
psize
- The psize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIconSize() throws java.io.IOException, AutomationException
getIconSize
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIconSize(int psize) throws java.io.IOException, AutomationException
setIconSize
in interface IKmlConvertor
psize
- The psize (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getScale() throws java.io.IOException, AutomationException
getScale
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setScale(double pScale) throws java.io.IOException, AutomationException
setScale
in interface IKmlConvertor
pScale
- The pScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDPI() throws java.io.IOException, AutomationException
getDPI
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDPI(int pDpi) throws java.io.IOException, AutomationException
setDPI
in interface IKmlConvertor
pDpi
- The pDpi (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getEndPointUrl() throws java.io.IOException, AutomationException
getEndPointUrl
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEndPointUrl(java.lang.String pUrl) throws java.io.IOException, AutomationException
setEndPointUrl
in interface IKmlConvertor
pUrl
- The pUrl (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIgnoreScaleFactor() throws java.io.IOException, AutomationException
isIgnoreScaleFactor
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIgnoreScaleFactor(boolean pIgnoreScaleFactor) throws java.io.IOException, AutomationException
setIgnoreScaleFactor
in interface IKmlConvertor
pIgnoreScaleFactor
- The pIgnoreScaleFactor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIgnoreVisibility() throws java.io.IOException, AutomationException
isIgnoreVisibility
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIgnoreVisibility(boolean pIgnoreVisibility) throws java.io.IOException, AutomationException
setIgnoreVisibility
in interface IKmlConvertor
pIgnoreVisibility
- The pIgnoreVisibility (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFeatureLimit() throws java.io.IOException, AutomationException
getFeatureLimit
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureLimit(int pFeatureLimit) throws java.io.IOException, AutomationException
setFeatureLimit
in interface IKmlConvertor
pFeatureLimit
- The pFeatureLimit (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getKmlParameters() throws java.io.IOException, AutomationException
getKmlParameters
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKmlParameters(IPropertySet pProps) throws java.io.IOException, AutomationException
setKmlParameters
in interface IKmlConvertor
pProps
- A reference to a com.esri.arcgis.system.IPropertySet (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getIDList() throws java.io.IOException, AutomationException
getIDList
in interface IKmlConvertor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void layerToFile(ILayer pLayer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String filename) throws java.io.IOException, AutomationException
layerToFile
in interface IKmlConversion
pLayer
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] layerToArray(ILayer pLayer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters) throws java.io.IOException, AutomationException
layerToArray
in interface IKmlConversion
pLayer
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void mapToFile(IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs, java.lang.String filename) throws java.io.IOException, AutomationException
mapToFile
in interface IKmlConversion
pMap
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] mapToArray(IMap pMap, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs) throws java.io.IOException, AutomationException
mapToArray
in interface IKmlConversion
pMap
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void mapServerMapToFile(IMapServer pMapServer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs, java.lang.String filename) throws java.io.IOException, AutomationException
mapServerMapToFile
in interface IKmlConversion
pMapServer
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public byte[] mapServerMapToArray(IMapServer pMapServer, IQueryFilter pQueryFilter, IPropertySet pKmlParameters, java.lang.String[] pLayerIDs) throws java.io.IOException, AutomationException
mapServerMapToArray
in interface IKmlConversion
pMapServer
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getLayerIDListFromMap(IMap pMap) throws java.io.IOException, AutomationException
getLayerIDListFromMap
in interface IKmlConversion
pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getLayerIDListFromMapServer(IMapServer pMapServer) throws java.io.IOException, AutomationException
getLayerIDListFromMapServer
in interface IKmlConversion
pMapServer
- A reference to a com.esri.arcgis.carto.IMapServer (in)
java.io.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 |