public class LocaleInfo extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ILocaleInfo, IXMLSerialize, IXMLVersionSupport, IClone, IPersistStream, IDocumentVersionSupportGEN, java.io.Externalizable
Description 'An object that represents a locale info.' 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 =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID53325bda_65fa_4de0_901e_2b23fffb8764, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
Constructor and Description |
---|
LocaleInfo()
Constructs a LocaleInfo using ArcGIS Engine.
|
LocaleInfo(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
LocaleInfo theLocaleInfo = (LocaleInfo) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCountryID()
Obtains country identifier.
|
java.lang.String |
getCountryName()
English name of country.
|
java.lang.String |
getDisplayName()
English display name of the locale.
|
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 |
getLanguageID()
Obtains language identifier.
|
java.lang.String |
getLanguageName()
English name of language.
|
int |
getLocaleID()
Obtains locale unique identifier.
|
java.lang.String |
getLocalizedCountryName()
Localized name of country.
|
java.lang.String |
getLocalizedDisplayName()
Localized display name of the locale.
|
java.lang.String |
getLocalizedLanguageName()
Localized name of language.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
java.lang.String |
getNativeCountryName()
Native name of country.
|
java.lang.String |
getNativeLanguageName()
Native name of language.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setCountryID(int countryID)
Obtains country identifier.
|
void |
setCountryName(java.lang.String country)
English name of country.
|
void |
setDisplayName(java.lang.String displayName)
English display name of the locale.
|
void |
setLanguageID(int languageID)
Obtains language identifier.
|
void |
setLanguageName(java.lang.String language)
English name of language.
|
void |
setLocaleID(int localeID)
Obtains locale unique identifier.
|
void |
setLocalizedCountryName(java.lang.String country)
Localized name of country.
|
void |
setLocalizedDisplayName(java.lang.String displayName)
Localized display name of the locale.
|
void |
setLocalizedLanguageName(java.lang.String language)
Localized name of language.
|
void |
setNativeCountryName(java.lang.String country)
Native name of country.
|
void |
setNativeLanguageName(java.lang.String language)
Native name of language.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public LocaleInfo() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic LocaleInfo(java.lang.Object obj) throws java.io.IOException
LocaleInfo theLocaleInfo = (LocaleInfo) obj;
obj
to LocaleInfo
.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 int getLocaleID() throws java.io.IOException, AutomationException
getLocaleID
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLocaleID(int localeID) throws java.io.IOException, AutomationException
setLocaleID
in interface ILocaleInfo
localeID
- The localeID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getLanguageID() throws java.io.IOException, AutomationException
getLanguageID
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLanguageID(int languageID) throws java.io.IOException, AutomationException
setLanguageID
in interface ILocaleInfo
languageID
- The languageID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCountryID() throws java.io.IOException, AutomationException
getCountryID
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCountryID(int countryID) throws java.io.IOException, AutomationException
setCountryID
in interface ILocaleInfo
countryID
- The countryID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLanguageName() throws java.io.IOException, AutomationException
getLanguageName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLanguageName(java.lang.String language) throws java.io.IOException, AutomationException
setLanguageName
in interface ILocaleInfo
language
- The language (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCountryName() throws java.io.IOException, AutomationException
getCountryName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setCountryName(java.lang.String country) throws java.io.IOException, AutomationException
setCountryName
in interface ILocaleInfo
country
- The country (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDisplayName() throws java.io.IOException, AutomationException
getDisplayName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDisplayName(java.lang.String displayName) throws java.io.IOException, AutomationException
setDisplayName
in interface ILocaleInfo
displayName
- The displayName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLocalizedLanguageName() throws java.io.IOException, AutomationException
getLocalizedLanguageName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLocalizedLanguageName(java.lang.String language) throws java.io.IOException, AutomationException
setLocalizedLanguageName
in interface ILocaleInfo
language
- The language (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLocalizedCountryName() throws java.io.IOException, AutomationException
getLocalizedCountryName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLocalizedCountryName(java.lang.String country) throws java.io.IOException, AutomationException
setLocalizedCountryName
in interface ILocaleInfo
country
- The country (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getLocalizedDisplayName() throws java.io.IOException, AutomationException
getLocalizedDisplayName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLocalizedDisplayName(java.lang.String displayName) throws java.io.IOException, AutomationException
setLocalizedDisplayName
in interface ILocaleInfo
displayName
- The displayName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNativeLanguageName() throws java.io.IOException, AutomationException
getNativeLanguageName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNativeLanguageName(java.lang.String language) throws java.io.IOException, AutomationException
setNativeLanguageName
in interface ILocaleInfo
language
- The language (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNativeCountryName() throws java.io.IOException, AutomationException
getNativeCountryName
in interface ILocaleInfo
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNativeCountryName(java.lang.String country) throws java.io.IOException, AutomationException
setNativeCountryName
in interface ILocaleInfo
country
- The country (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported() throws java.io.IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws java.io.IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException