Class dstc.kalimantan.inspect.BoringInspector
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dstc.kalimantan.inspect.BoringInspector

java.lang.Object
   |
   +----dstc.kalimantan.inspect.Inspector
           |
           +----dstc.kalimantan.inspect.BoringInspector

public class BoringInspector
extends Inspector
An inspector on a trivial object, currently only used for null.
See Also:
Inspector

Constructor Index

 o BoringInspector(String, String)

Method Index

 o getClassName()
Returns the name of the target's class
 o getInspector(int)
This should never be called
 o getNames()
Returns an empty array of Strings - boring objects have no slots
 o getTarget()
Returns a string representing the target
 o getValue(int)
This should never be called

Constructors

 o BoringInspector
  public BoringInspector(String cname,
                         String value)

Methods

 o getClassName
  public String getClassName()
Returns the name of the target's class
Overrides:
getClassName in class Inspector
 o getTarget
  public String getTarget()
Returns a string representing the target
Overrides:
getTarget in class Inspector
 o getNames
  public String[] getNames()
Returns an empty array of Strings - boring objects have no slots
Overrides:
getNames in class Inspector
 o getValue
  public String getValue(int index)
This should never be called
Overrides:
getValue in class Inspector
 o getInspector
  public Inspector getInspector(int index)
This should never be called
Overrides:
getInspector in class Inspector

All Packages  Class Hierarchy  This Package  Previous  Next  Index