public class NameFactory extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, INameFactory
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 =
IID, IID51ad0a33_c607_11d2_9f23_00c04f6bc69e, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
IEnumName |
unpackageNames(java.lang.Object bytesArray)
Unpackages the given VARIANT into a set of Name objects (typically for responding to a drop operation).
|
public NameFactory() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic NameFactory(java.lang.Object obj) throws java.io.IOException
NameFactory theNameFactory = (NameFactory) obj;
obj
to NameFactory
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic 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 IName create(java.lang.String nameString) throws java.io.IOException, AutomationException
create
in interface INameFactory
nameString
- The nameString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object packageNames(IEnumName names) throws java.io.IOException, AutomationException
packageNames
in interface INameFactory
names
- A reference to a com.esri.arcgis.system.IEnumName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IEnumName unpackageNames(java.lang.Object bytesArray) throws java.io.IOException, AutomationException
unpackageNames
in interface INameFactory
bytesArray
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.