com.esri.arcgis.globecore
Class GlobeServerLayerFactory

java.lang.Object
  extended by com.esri.arcgis.globecore.GlobeServerLayerFactory
All Implemented Interfaces:
ILayerFactory, IGlobeServerLayerFactory, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class GlobeServerLayerFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ILayerFactory, IGlobeServerLayerFactory, ISupportErrorInfo

COM Class 'GlobeServerLayerFactory'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGlobeCore.olb'

Description 'Provides programmatic access to a globe server layer factory.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.globecore.IGlobeServerLayerFactory
IID, IID0ab3f65a_35e8_4702_aca3_f0440ca7f254, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
GlobeServerLayerFactory()
          Constructs a GlobeServerLayerFactory using ArcGIS Engine.
GlobeServerLayerFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerLayerFactory theGlobeServerLayerFactory = (GlobeServerLayerFactory) obj;
 
Method Summary
 IEnumLayer create(java.lang.Object inputObject)
          Creates layer(s) based on the specified object.
 IEnumLayer createLayer(java.lang.Object pObject, IGlobeLayerInfo pLayerInfo)
          Creates a globe server layer.
 IEnumLayer createLayersFromNames(IAGSServerObjectName pSOName, java.lang.String[] layerNames)
          Creates globe server layers from layer names.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getLayerCategory()
          Category name.
 java.lang.String getPublicName()
          Public name of the factory.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isCanCreate(java.lang.Object inputObject)
          Indicates if the factory can create a layer based upon the specified object.
 IEnumLayer loadLayers()
          Loads a set of layers.
 void release()
          Release a GlobeServerLayerFactory.
 void setAnimationContainer(IGlobe rhs1)
          The container of animation tracks to be loaded from server.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobeServerLayerFactory

public GlobeServerLayerFactory()
                        throws java.io.IOException,
                               java.net.UnknownHostException
Constructs a GlobeServerLayerFactory using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GlobeServerLayerFactory

public GlobeServerLayerFactory(java.lang.Object obj)
                        throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GlobeServerLayerFactory theGlobeServerLayerFactory = (GlobeServerLayerFactory) obj;

Construct a GlobeServerLayerFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GlobeServerLayerFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GlobeServerLayerFactory.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getPublicName

public java.lang.String getPublicName()
                               throws java.io.IOException,
                                      AutomationException
Public name of the factory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getPublicName in interface ILayerFactory
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayerCategory

public java.lang.String getLayerCategory()
                                  throws java.io.IOException,
                                         AutomationException
Category name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getLayerCategory in interface ILayerFactory
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadLayers

public IEnumLayer loadLayers()
                      throws java.io.IOException,
                             AutomationException
Loads a set of layers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
loadLayers in interface ILayerFactory
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanCreate

public boolean isCanCreate(java.lang.Object inputObject)
                    throws java.io.IOException,
                           AutomationException
Indicates if the factory can create a layer based upon the specified object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
isCanCreate in interface ILayerFactory
Parameters:
inputObject - A reference to another Object (IUnknown) (in)
Returns:
The ok
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

public IEnumLayer create(java.lang.Object inputObject)
                  throws java.io.IOException,
                         AutomationException
Creates layer(s) based on the specified object.

Description

Creates a layer using the factory defined by the implementing coclass and the supplied object. This object can be a name object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
create in interface ILayerFactory
Parameters:
inputObject - A reference to another Object (IUnknown) (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createLayer

public IEnumLayer createLayer(java.lang.Object pObject,
                              IGlobeLayerInfo pLayerInfo)
                       throws java.io.IOException,
                              AutomationException
Creates a globe server layer.

Specified by:
createLayer in interface IGlobeServerLayerFactory
Parameters:
pObject - A reference to another Object (IUnknown) (in)
pLayerInfo - A reference to a com.esri.arcgis.globecore.IGlobeLayerInfo (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAnimationContainer

public void setAnimationContainer(IGlobe rhs1)
                           throws java.io.IOException,
                                  AutomationException
The container of animation tracks to be loaded from server.

Specified by:
setAnimationContainer in interface IGlobeServerLayerFactory
Parameters:
rhs1 - A reference to a com.esri.arcgis.globecore.IGlobe (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createLayersFromNames

public IEnumLayer createLayersFromNames(IAGSServerObjectName pSOName,
                                        java.lang.String[] layerNames)
                                 throws java.io.IOException,
                                        AutomationException
Creates globe server layers from layer names.

Specified by:
createLayersFromNames in interface IGlobeServerLayerFactory
Parameters:
pSOName - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
layerNames - The layerNames (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.