public class XMLFlags extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IXMLFlags
Description 'A collection of XML flags.' 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, IID647f4c09_3699_4868_a74c_108122a968dc, xxDummy
Constructor and Description |
---|
XMLFlags()
Constructs a XMLFlags using ArcGIS Engine.
|
XMLFlags(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XMLFlags theXMLFlags = (XMLFlags) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCount()
Number of flags.
|
boolean |
getFlag(java.lang.String name)
Indicates whether XML flag is set.
|
java.lang.String |
getFlagName(int index)
Flag name by index.
|
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
|
boolean |
isFlagValue(int index)
Indicates whether the flag has value by index.
|
void |
release()
Release this COM object reference
|
void |
setFlag(java.lang.String name,
boolean flagValue)
Writes a flag value.
|
public XMLFlags() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic XMLFlags(java.lang.Object obj) throws java.io.IOException
XMLFlags theXMLFlags = (XMLFlags) obj;
obj
to XMLFlags
.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 void setFlag(java.lang.String name, boolean flagValue) throws java.io.IOException, AutomationException
setFlag
in interface IXMLFlags
name
- The name (in)flagValue
- The flagValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean getFlag(java.lang.String name) throws java.io.IOException, AutomationException
getFlag
in interface IXMLFlags
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IXMLFlags
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFlagName(int index) throws java.io.IOException, AutomationException
getFlagName
in interface IXMLFlags
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isFlagValue(int index) throws java.io.IOException, AutomationException
isFlagValue
in interface IXMLFlags
index
- The index (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.