|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.management.snmp.SnmpValue
com.sun.management.snmp.SnmpNull
public class SnmpNull
Represents an SNMP null value.
| Field Summary |
|---|
| Fields inherited from interface com.sun.management.snmp.SnmpDataTypeEnums |
|---|
ApplFlag, BitStringTag, BooleanTag, Counter64Tag, CounterTag, CtxtFlag, errEndOfMibViewTag, errNoSuchInstanceTag, errNoSuchObjectTag, GaugeTag, IntegerTag, IpAddressTag, NsapTag, NullTag, ObjectIdentiferTag, ObjectIdentifierTag, OctetStringTag, OpaqueTag, SequenceTag, TableTag, TimeticksTag, UintegerTag, UnknownSyntaxTag |
| Constructor Summary | |
|---|---|
SnmpNull()
Constructs a new SnmpNull. |
|
SnmpNull(int t)
Constructs a new SnmpNull from the specified tag value. |
|
SnmpNull(String dummy)
Constructs a new SnmpNull. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clones the SnmpNull object, making a copy of its data. |
SnmpValue |
duplicate()
Performs a clone action. |
int |
getTag()
Returns the tag value of this SnmpNull. |
String |
getTypeName()
Returns a textual description of the type object. |
boolean |
isEndOfMibViewValue()
Checks if this SnmpNull object corresponds to an endOfMibView value. |
boolean |
isNoSuchInstanceValue()
Checks if this SnmpNull object corresponds to a noSuchInstance value. |
boolean |
isNoSuchObjectValue()
Checks if this SnmpNull object corresponds to a noSuchObject value. |
SnmpOid |
toOid()
Converts the NULL value to its SnmpOid form. |
String |
toString()
Converts the NULL value to its ASN.1 String form. |
| Methods inherited from class com.sun.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.
toString in class ObjectString 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.
clone in class Objectpublic 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.
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||