public class Time extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITime, ITime2, ITimeOffsetOperator, IXMLSerialize, IXMLVersionSupport, IClone, IPersistStream, IDocumentVersionSupportGEN, java.io.Externalizable
Description 'An object that represents a date and time value.' 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, IID30eae8e1_26b2_4e57_a3f2_8ae7c7db2455, xxDummy
IID66810d21_8de0_44ee_b26e_465ac09f161f
IID, IID7cbbb8ea_7708_464a_a6c8_96db06521b3a, 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 |
---|
Time()
Constructs a Time using ArcGIS Engine.
|
Time(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
Time theTime = (Time) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addDays(double value)
Adds the input amount of days.
|
void |
addDuration(ITimeDuration timeDuration)
Adds a time duration.
|
void |
addHours(double value)
Adds the input amount of hours.
|
void |
addMilliseconds(double value)
Adds the input amount of milliseconds.
|
void |
addMinutes(double value)
Adds the input amount of minutes.
|
boolean |
addMonths(double value,
boolean preserveEndOfMonth,
boolean goForwardOnInvalidDate)
Adds the input amount of months.
|
void |
addNanoseconds(long value)
Adds the input amount of nanoseconds.
|
void |
addSeconds(double value)
Adds the input amount of seconds.
|
void |
addWeeks(double value)
Adds the input amount of weeks.
|
boolean |
addYears(double value,
boolean preserveEndOfMonth,
boolean goForwardOnInvalidDate)
Adds the input amount of years.
|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
int |
compare(ITime otherTime)
Compares this time to the other time.
|
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.
|
short |
getDay()
The time's gregorian day.
|
short |
getDayOfWeek()
The day number of the week, starting with 1 for Sunday.
|
short |
getDayOfYear()
The day number of the year, starting with 1 for the first day of the year.
|
short |
getHour()
The time's hour.
|
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.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
short |
getMinute()
The time's minute.
|
short |
getMonth()
The time's gregorian month.
|
int |
getNanoseconds()
The time's nanoseconds.
|
short |
getSecond()
The time's second.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
short |
getWeekOfMonth(short startDayOfWeek)
The week number of the month, starting with 1 for the first week of the month.
|
short |
getWeekOfYear(short startDayOfWeek)
The week number of the year, starting with 1 for first week of the year.
|
short |
getYear()
The time's gregorian year.
|
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
|
double |
queryDayFraction()
The time's time portion as a day fraction.
|
_WKSDateTime |
queryGregorianTime()
Obtains the time as a gregorian date and time.
|
long |
queryIntegerTime(int integerTimeFormat)
Obtains the time as an integer time.
|
int |
queryJulianDayNumber()
The Time's date portion as a julian (Julius Scaliger) day number.
|
long |
queryNanosecondsSinceMidnight()
The time's time portion as the number of nanoseconds elapsed since midnight.
|
java.util.Date |
queryOleTime()
Obtains the time as an OLE automation date object.
|
long |
queryTicks()
Obtains the time as the number of ticks since January 1, 0001 AD (Anno Domini).
|
java.lang.String |
queryTimeString(int timeStringFormat)
Obtains the time as a string, based on the given time string format.
|
java.lang.String |
queryTimeStringCurrentLocale(int timeLocaleFormat)
Obtains the time as a string, based on the current locale.
|
java.lang.String |
queryTimeStringCustom(java.lang.String timeStringFormat,
int localeID,
java.lang.String amSymbol,
java.lang.String pmSymbol)
Obtains the time as a string, based on the given custom time string format, and locale properties.
|
java.lang.String |
queryXMLTimeString(ITimeReference timeReference)
Obtains the time as an XML time string.
|
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 |
setDay(short day)
The time's gregorian day.
|
void |
setDayFraction(double dayFraction)
The time's time portion as a day fraction.
|
void |
setFromCurrentLocalTime()
Writes the time to the current date and time on this machine, expressed as the local time.
|
void |
setFromCurrentUtcTime()
Writes the time to the current date and time on this machine, expressed as the Coordinated Universal Time (UTC).
|
void |
setFromGregorianTime(_WKSDateTime gregorianTime)
Obtains the time from a given gregorian date and time value.
|
void |
setFromIntegerTime(int integerTimeFormat,
long integerTime)
Writes the time from an integer time.
|
void |
setFromObject(java.lang.Object object)
Writes the time from a variant object.
|
void |
setFromOleTime(java.util.Date oleTime)
Writes the time from an OLE automation date object.
|
void |
setFromTicks(long ticks)
Writes the time from a given number of ticks since January 1, 0001 AD (Anno Domini) value.
|
void |
setFromTimeString(int timeStringFormat,
java.lang.String timeString)
Writes the time from a string, based on the given time string format.
|
void |
setFromTimeStringCurrentLocale(int timeLocaleFormat,
java.lang.String timeString)
Obtains the time from a string, based on the current locale.
|
void |
setFromTimeStringCustom(java.lang.String timeStringFormat,
int localeID,
java.lang.String amSymbol,
java.lang.String pmSymbol,
java.lang.String timeString)
Writes the time from a string, based on the given custom time string formats, and locale properties.
|
int |
setFromXMLTimeString(java.lang.String xmlTimeString)
Writes the time from an XML time string.
|
void |
setHour(short hour)
The time's hour.
|
void |
setJulianDayNumber(int julianDayNumber)
The Time's date portion as a julian (Julius Scaliger) day number.
|
void |
setMinute(short minute)
The time's minute.
|
void |
setMonth(short month)
The time's gregorian month.
|
void |
setNanoseconds(int nanoseconds)
The time's nanoseconds.
|
void |
setNanosecondsSinceMidnight(long nanosecondsSinceMidnight)
The time's time portion as the number of nanoseconds elapsed since midnight.
|
void |
setSecond(short second)
The time's second.
|
void |
setYear(short year)
The time's gregorian year.
|
void |
snapToEndOfMonth()
Adjust the day value, to the last day in the current month and year.
|
void |
subtractDuration(ITimeDuration timeDuration)
Subtracts a time duration.
|
ITimeDuration |
subtractTime(ITime time)
Subtracts a given time, and returns the time duration result.
|
void |
toLocal()
Converts the time from Coordinated Universal Time (UTC) value to local (to this machine) time.
|
void |
toUTC()
Converts the time from local (to this machine) time value to Coordinated Universal Time (UTC).
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public Time() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic Time(java.lang.Object obj) throws java.io.IOException
Time theTime = (Time) obj;
obj
to Time
.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 short getYear() throws java.io.IOException, AutomationException
getYear
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setYear(short year) throws java.io.IOException, AutomationException
setYear
in interface ITime
year
- The year (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getMonth() throws java.io.IOException, AutomationException
getMonth
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMonth(short month) throws java.io.IOException, AutomationException
setMonth
in interface ITime
month
- The month (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getDay() throws java.io.IOException, AutomationException
getDay
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDay(short day) throws java.io.IOException, AutomationException
setDay
in interface ITime
day
- The day (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getHour() throws java.io.IOException, AutomationException
getHour
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setHour(short hour) throws java.io.IOException, AutomationException
setHour
in interface ITime
hour
- The hour (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getMinute() throws java.io.IOException, AutomationException
getMinute
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMinute(short minute) throws java.io.IOException, AutomationException
setMinute
in interface ITime
minute
- The minute (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getSecond() throws java.io.IOException, AutomationException
getSecond
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSecond(short second) throws java.io.IOException, AutomationException
setSecond
in interface ITime
second
- The second (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getNanoseconds() throws java.io.IOException, AutomationException
getNanoseconds
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNanoseconds(int nanoseconds) throws java.io.IOException, AutomationException
setNanoseconds
in interface ITime
nanoseconds
- The nanoseconds (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int queryJulianDayNumber() throws java.io.IOException, AutomationException
queryJulianDayNumber
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setJulianDayNumber(int julianDayNumber) throws java.io.IOException, AutomationException
setJulianDayNumber
in interface ITime
julianDayNumber
- The julianDayNumber (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double queryDayFraction() throws java.io.IOException, AutomationException
queryDayFraction
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDayFraction(double dayFraction) throws java.io.IOException, AutomationException
setDayFraction
in interface ITime
dayFraction
- The dayFraction (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long queryNanosecondsSinceMidnight() throws java.io.IOException, AutomationException
queryNanosecondsSinceMidnight
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setNanosecondsSinceMidnight(long nanosecondsSinceMidnight) throws java.io.IOException, AutomationException
setNanosecondsSinceMidnight
in interface ITime
nanosecondsSinceMidnight
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITimeDuration subtractTime(ITime time) throws java.io.IOException, AutomationException
subtractTime
in interface ITime
time
- A reference to a com.esri.arcgis.system.ITime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void snapToEndOfMonth() throws java.io.IOException, AutomationException
snapToEndOfMonth
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void toUTC() throws java.io.IOException, AutomationException
toUTC
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void toLocal() throws java.io.IOException, AutomationException
toLocal
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeString(int timeStringFormat) throws java.io.IOException, AutomationException
queryTimeString
in interface ITime
timeStringFormat
- A com.esri.arcgis.system.esriTimeStringFormat constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromTimeString(int timeStringFormat, java.lang.String timeString) throws java.io.IOException, AutomationException
setFromTimeString
in interface ITime
timeStringFormat
- A com.esri.arcgis.system.esriTimeStringFormat constant (in)timeString
- The timeString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeStringCurrentLocale(int timeLocaleFormat) throws java.io.IOException, AutomationException
queryTimeStringCurrentLocale
in interface ITime
timeLocaleFormat
- A com.esri.arcgis.system.esriTimeLocaleFormat constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromTimeStringCurrentLocale(int timeLocaleFormat, java.lang.String timeString) throws java.io.IOException, AutomationException
setFromTimeStringCurrentLocale
in interface ITime
timeLocaleFormat
- A com.esri.arcgis.system.esriTimeLocaleFormat constant (in)timeString
- The timeString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeStringCustom(java.lang.String timeStringFormat, int localeID, java.lang.String amSymbol, java.lang.String pmSymbol) throws java.io.IOException, AutomationException
queryTimeStringCustom
in interface ITime
timeStringFormat
- The timeStringFormat (in)localeID
- The localeID (in)amSymbol
- The amSymbol (in)pmSymbol
- The pmSymbol (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromTimeStringCustom(java.lang.String timeStringFormat, int localeID, java.lang.String amSymbol, java.lang.String pmSymbol, java.lang.String timeString) throws java.io.IOException, AutomationException
setFromTimeStringCustom
in interface ITime
timeStringFormat
- The timeStringFormat (in)localeID
- The localeID (in)amSymbol
- The amSymbol (in)pmSymbol
- The pmSymbol (in)timeString
- The timeString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryXMLTimeString(ITimeReference timeReference) throws java.io.IOException, AutomationException
queryXMLTimeString
in interface ITime
timeReference
- A reference to a com.esri.arcgis.system.ITimeReference (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int setFromXMLTimeString(java.lang.String xmlTimeString) throws java.io.IOException, AutomationException
setFromXMLTimeString
in interface ITime
xmlTimeString
- The xmlTimeString (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long queryIntegerTime(int integerTimeFormat) throws java.io.IOException, AutomationException
queryIntegerTime
in interface ITime
integerTimeFormat
- A com.esri.arcgis.system.esriIntegerTimeFormat constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromIntegerTime(int integerTimeFormat, long integerTime) throws java.io.IOException, AutomationException
setFromIntegerTime
in interface ITime
integerTimeFormat
- A com.esri.arcgis.system.esriIntegerTimeFormat constant (in)integerTime
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromObject(java.lang.Object object) throws java.io.IOException, AutomationException
setFromObject
in interface ITime
object
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.util.Date queryOleTime() throws java.io.IOException, AutomationException
queryOleTime
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromOleTime(java.util.Date oleTime) throws java.io.IOException, AutomationException
setFromOleTime
in interface ITime
oleTime
- The oleTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public _WKSDateTime queryGregorianTime() throws java.io.IOException, AutomationException
queryGregorianTime
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromGregorianTime(_WKSDateTime gregorianTime) throws java.io.IOException, AutomationException
setFromGregorianTime
in interface ITime
gregorianTime
- A Structure: com.esri.arcgis.system._WKSDateTime (A com.esri.arcgis.system._WKSDateTime COM typedef) (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public long queryTicks() throws java.io.IOException, AutomationException
queryTicks
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromTicks(long ticks) throws java.io.IOException, AutomationException
setFromTicks
in interface ITime
ticks
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromCurrentLocalTime() throws java.io.IOException, AutomationException
setFromCurrentLocalTime
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setFromCurrentUtcTime() throws java.io.IOException, AutomationException
setFromCurrentUtcTime
in interface ITime
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int compare(ITime otherTime) throws java.io.IOException, AutomationException
compare
in interface ITime
otherTime
- A reference to a com.esri.arcgis.system.ITime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getDayOfWeek() throws java.io.IOException, AutomationException
getDayOfWeek
in interface ITime2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getDayOfYear() throws java.io.IOException, AutomationException
getDayOfYear
in interface ITime2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getWeekOfMonth(short startDayOfWeek) throws java.io.IOException, AutomationException
getWeekOfMonth
in interface ITime2
startDayOfWeek
- The startDayOfWeek (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public short getWeekOfYear(short startDayOfWeek) throws java.io.IOException, AutomationException
getWeekOfYear
in interface ITime2
startDayOfWeek
- The startDayOfWeek (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addDuration(ITimeDuration timeDuration) throws java.io.IOException, AutomationException
addDuration
in interface ITimeOffsetOperator
timeDuration
- A reference to a com.esri.arcgis.system.ITimeDuration (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void subtractDuration(ITimeDuration timeDuration) throws java.io.IOException, AutomationException
subtractDuration
in interface ITimeOffsetOperator
timeDuration
- A reference to a com.esri.arcgis.system.ITimeDuration (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean addYears(double value, boolean preserveEndOfMonth, boolean goForwardOnInvalidDate) throws java.io.IOException, AutomationException
addYears
in interface ITimeOffsetOperator
value
- The value (in)preserveEndOfMonth
- The preserveEndOfMonth (in)goForwardOnInvalidDate
- The goForwardOnInvalidDate (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean addMonths(double value, boolean preserveEndOfMonth, boolean goForwardOnInvalidDate) throws java.io.IOException, AutomationException
addMonths
in interface ITimeOffsetOperator
value
- The value (in)preserveEndOfMonth
- The preserveEndOfMonth (in)goForwardOnInvalidDate
- The goForwardOnInvalidDate (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addWeeks(double value) throws java.io.IOException, AutomationException
addWeeks
in interface ITimeOffsetOperator
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addDays(double value) throws java.io.IOException, AutomationException
addDays
in interface ITimeOffsetOperator
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addHours(double value) throws java.io.IOException, AutomationException
addHours
in interface ITimeOffsetOperator
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addMinutes(double value) throws java.io.IOException, AutomationException
addMinutes
in interface ITimeOffsetOperator
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addSeconds(double value) throws java.io.IOException, AutomationException
addSeconds
in interface ITimeOffsetOperator
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addMilliseconds(double value) throws java.io.IOException, AutomationException
addMilliseconds
in interface ITimeOffsetOperator
value
- The value (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addNanoseconds(long value) throws java.io.IOException, AutomationException
addNanoseconds
in interface ITimeOffsetOperator
value
- Signed 64-bit int (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