|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.snmp.SnmpValue
javax.management.snmp.SnmpNull
com.sun.management.snmp in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Represents an SNMP null value.
| Field Summary |
| Fields inherited from interface javax.management.snmp.SnmpDataTypeEnums |
ApplFlag, BitStringTag, BooleanTag, Counter64Tag, CounterTag, CtxtFlag, errEndOfMibViewTag, errNoSuchInstanceTag, errNoSuchObjectTag, GaugeTag, IntegerTag, IpAddressTag, NsapTag, NullTag, ObjectIdentiferTag, OctetStringTag, OpaqueTag, SequenceTag, TableTag, TimeticksTag, UintegerTag, UnknownSyntaxTag |
| Constructor Summary | |
SnmpNull()
Deprecated. Constructs a new SnmpNull. |
|
SnmpNull(int t)
Deprecated. Constructs a new SnmpNull from the specified tag value. |
|
SnmpNull(String dummy)
Deprecated. Constructs a new SnmpNull. |
|
| Method Summary | |
Object |
clone()
Deprecated. Clones the SnmpNull object, making a copy of its data. |
SnmpValue |
duplicate()
Deprecated. Performs a clone action. |
int |
getTag()
Deprecated. Returns the tag value of this SnmpNull. |
String |
getTypeName()
Deprecated. Returns a textual description of the type object. |
boolean |
isEndOfMibViewValue()
Deprecated. Checks if this SnmpNull object corresponds to an endOfMibView value. |
boolean |
isNoSuchInstanceValue()
Deprecated. Checks if this SnmpNull object corresponds to a noSuchInstance value. |
boolean |
isNoSuchObjectValue()
Deprecated. Checks if this SnmpNull object corresponds to a noSuchObject value. |
SnmpOid |
toOid()
Deprecated. Converts the NULL value to its SnmpOid form. |
String |
toString()
Deprecated. Converts the NULL value to its ASN.1 String form. |
| Methods inherited from class javax.management.snmp.SnmpValue |
toAsn1String |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SnmpNull()
SnmpNull.
public SnmpNull(String dummy)
SnmpNull.
public SnmpNull(int t)
SnmpNull from the specified tag value.
t - The initialization value.| Method Detail |
public int getTag()
SnmpNull.
public String toString()
NULL value to its ASN.1 String form.
When the tag is not the universal one, it is prepended
to the String form.
String representation of the value.public SnmpOid toOid()
NULL value to its SnmpOid form.
Normally, a NULL value cannot be used as an index value,
this method triggers an exception.
toOid in class SnmpValuepublic final SnmpValue duplicate()
SnmpValue interface.
duplicate in class SnmpValuepublic final Object clone()
SnmpNull object, making a copy of its data.
public final String getTypeName()
getTypeName in class SnmpValuepublic boolean isNoSuchObjectValue()
SnmpNull object corresponds to a noSuchObject value.
isNoSuchObjectValue in class SnmpValuetrue if the tag equals SnmpDataTypeEnums.errNoSuchObjectTag,
false otherwise.public boolean isNoSuchInstanceValue()
SnmpNull object corresponds to a noSuchInstance value.
isNoSuchInstanceValue in class SnmpValuetrue if the tag equals SnmpDataTypeEnums.errNoSuchInstanceTag,
false otherwise.public boolean isEndOfMibViewValue()
SnmpNull object corresponds to an endOfMibView value.
isEndOfMibViewValue in class SnmpValuetrue if the tag equals SnmpDataTypeEnums.errEndOfMibViewTag,
false otherwise.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||