com.esri.arcgis.system
Class NameFactory

java.lang.Object
  extended by com.esri.arcgis.system.NameFactory
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, INameFactory, java.io.Serializable

public class NameFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INameFactory

COM Class 'NameFactory'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description 'Name Object 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.system.INameFactory
IID, IID51ad0a33_c607_11d2_9f23_00c04f6bc69e, xxDummy
 
Constructor Summary
NameFactory()
          Constructs a NameFactory using ArcGIS Engine.
NameFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NameFactory theNameFactory = (NameFactory) obj;
 
Method Summary
 IName create(java.lang.String nameString)
          Finds the correct name-string parser for the given name string, and uses it to create a new Name object.
 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.
 int hashCode()
          the hashcode for this object
 java.lang.Object packageNames(IEnumName names)
          Packages the set of names into a VARIANT (typically for initiating a drag operation).
 void release()
          Release a NameFactory.
 IEnumName unpackageNames(java.lang.Object bytesArray)
          Unpackages the given VARIANT into a set of Name objects (typically for responding to a drop operation).
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameFactory

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

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

NameFactory

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

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

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 NameFactory.

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

create

public IName create(java.lang.String nameString)
             throws java.io.IOException,
                    AutomationException
Finds the correct name-string parser for the given name string, and uses it to create a new Name object.

Specified by:
create in interface INameFactory
Parameters:
nameString - The nameString (in)
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

packageNames

public java.lang.Object packageNames(IEnumName names)
                              throws java.io.IOException,
                                     AutomationException
Packages the set of names into a VARIANT (typically for initiating a drag operation).

Specified by:
packageNames in interface INameFactory
Parameters:
names - A reference to a com.esri.arcgis.system.IEnumName (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unpackageNames

public IEnumName unpackageNames(java.lang.Object bytesArray)
                         throws java.io.IOException,
                                AutomationException
Unpackages the given VARIANT into a set of Name objects (typically for responding to a drop operation).

Specified by:
unpackageNames in interface INameFactory
Parameters:
bytesArray - A Variant (in)
Returns:
A reference to a com.esri.arcgis.system.IEnumName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.