ecologylab.xml.types.scalar
Class ReferenceType<T>

java.lang.Object
  extended by ecologylab.generic.Debug
      extended by ecologylab.xml.types.scalar.ScalarType<T>
          extended by ecologylab.xml.types.scalar.ReferenceType<T>
Direct Known Subclasses:
CoordinatesType, ParsedURLType, ScalarTypeType, StringBuilderType, StringType, URLType

public abstract class ReferenceType<T>
extends ScalarType<T>

Author:
andruid

Field Summary
 
Fields inherited from class ecologylab.xml.types.scalar.ScalarType
DEFAULT_DELIMS, DEFAULT_VALUE, DEFAULT_VALUE_STRING
 
Constructor Summary
ReferenceType(java.lang.Class<T> thatClass)
           
 
Method Summary
 void appendValue(T instance, java.lang.Appendable buffy, boolean needsEscaping)
           
 void appendValue(T instance, java.lang.StringBuilder buffy, boolean needsEscaping)
          Append the String directly, unless it needs escaping, in which case, call escapeXML.
 
Methods inherited from class ecologylab.xml.types.scalar.ScalarType
affordsInterestExpression, allowDelimitersInTokens, allowNewLines, appendValue, appendValue, composedOfTerms, defaultValue, defaultValueLength, defaultValueString, delimeters, getClassName, getInstance, getTypeClass, illegalChars, isDefaultValue, isDefaultValue, isFloatingPoint, isPrimitive, isReference, marshall, needsEscaping, setField, setFieldError, toString
 
Methods inherited from class ecologylab.generic.Debug
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReferenceType

public ReferenceType(java.lang.Class<T> thatClass)
Parameters:
thatClass -
Method Detail

appendValue

public void appendValue(T instance,
                        java.lang.StringBuilder buffy,
                        boolean needsEscaping)
Append the String directly, unless it needs escaping, in which case, call escapeXML.

Overrides:
appendValue in class ScalarType<T>
Parameters:
instance -
buffy -
needsEscaping -

appendValue

public void appendValue(T instance,
                        java.lang.Appendable buffy,
                        boolean needsEscaping)
                 throws java.io.IOException
Overrides:
appendValue in class ScalarType<T>
Throws:
java.io.IOException