edu.ucla.util
Class AbstractStringifier

Object
  extended by AbstractStringifier
All Implemented Interfaces:
Stringifier, VariableStringifier

public abstract class AbstractStringifier
extends Object
implements VariableStringifier

Since:
20040520
Author:
keith cascio

Nested Class Summary
static class AbstractStringifier.DateFormatFilename
          copied from sensitivity.TestCompleteness
 
Nested classes/interfaces inherited from interface Stringifier
Stringifier.Selector
 
Field Summary
static AbstractStringifier BASICOBJECT
           
static char CHAR_MAP_PREPOSITION
           
static char CHAR_SEPARATOR
           
static char CHAR_SPACE
           
static AbstractStringifier VARIABLE_ID
           
static AbstractStringifier VARIABLE_LABEL
           
 
Constructor Summary
AbstractStringifier()
           
 
Method Summary
 String collectionToString(Collection list)
           
 String mapToString(Map map)
           
 String objectToString(Object o)
           
static Object reflect(Class clazz, String clazzName, String methodName, Class[] parameterTypes, Object thiz, Object[] args, Object defaultReturn)
           
 String variableToString(Variable var)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHAR_SEPARATOR

public static final char CHAR_SEPARATOR
See Also:
Constant Field Values

CHAR_MAP_PREPOSITION

public static final char CHAR_MAP_PREPOSITION
See Also:
Constant Field Values

CHAR_SPACE

public static final char CHAR_SPACE
See Also:
Constant Field Values

BASICOBJECT

public static final AbstractStringifier BASICOBJECT

VARIABLE_ID

public static final AbstractStringifier VARIABLE_ID

VARIABLE_LABEL

public static final AbstractStringifier VARIABLE_LABEL
Since:
20070310
Constructor Detail

AbstractStringifier

public AbstractStringifier()
Method Detail

objectToString

public String objectToString(Object o)
Specified by:
objectToString in interface Stringifier

variableToString

public String variableToString(Variable var)
Specified by:
variableToString in interface VariableStringifier

collectionToString

public String collectionToString(Collection list)
Specified by:
collectionToString in interface Stringifier

mapToString

public String mapToString(Map map)
Specified by:
mapToString in interface Stringifier

reflect

public static Object reflect(Class clazz,
                             String clazzName,
                             String methodName,
                             Class[] parameterTypes,
                             Object thiz,
                             Object[] args,
                             Object defaultReturn)
Since:
20091119


Copyright 2010 UCLA Automated Reasoning Group