|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.types.scalar.ScalarType<T>
ecologylab.xml.types.scalar.ReferenceType<java.lang.String>
ecologylab.xml.types.scalar.StringType
public class StringType
Type system entry for String. A very simple case.
| Field Summary |
|---|
| Fields inherited from class ecologylab.xml.types.scalar.ScalarType |
|---|
DEFAULT_DELIMS, DEFAULT_VALUE, DEFAULT_VALUE_STRING |
| Constructor Summary | |
|---|---|
StringType()
This constructor should only be called once per session, through a static initializer, typically in TypeRegistry. |
|
| Method Summary | |
|---|---|
void |
appendValue(java.lang.String instance,
java.lang.Appendable appendable,
boolean needsEscaping)
Append the String directly, unless it needs escaping, in which case, call escapeXML. |
void |
appendValue(java.lang.String instance,
java.lang.StringBuilder buffy,
boolean needsEscaping)
Append the String directly, unless it needs escaping, in which case, call escapeXML. |
java.lang.String |
getInstance(java.lang.String value)
Just return the value itself. |
java.lang.String |
marshall(java.lang.String instance)
Get a String representation of the instance, which is simply this. |
| Methods inherited from class ecologylab.xml.types.scalar.ScalarType |
|---|
affordsInterestExpression, allowDelimitersInTokens, allowNewLines, appendValue, appendValue, composedOfTerms, defaultValue, defaultValueLength, defaultValueString, delimeters, getClassName, getTypeClass, illegalChars, isDefaultValue, isDefaultValue, isFloatingPoint, isPrimitive, isReference, 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 |
|---|
public StringType()
To get the instance of this type object for use in translations, call
TypeRegistry.get("java.lang.String").
| Method Detail |
|---|
public java.lang.String getInstance(java.lang.String value)
getInstance in class ScalarType<java.lang.String>value - String representation of the instance.ScalarType.getInstance(java.lang.String)public java.lang.String marshall(java.lang.String instance)
marshall in class ScalarType<java.lang.String>instance -
public void appendValue(java.lang.String instance,
java.lang.StringBuilder buffy,
boolean needsEscaping)
appendValue in class ReferenceType<java.lang.String>instance - buffy - needsEscaping -
public void appendValue(java.lang.String instance,
java.lang.Appendable appendable,
boolean needsEscaping)
throws java.io.IOException
appendValue in class ReferenceType<java.lang.String>instance - appendable - needsEscaping -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||