ecologylab.xml.types.scalar
Class PatternType

java.lang.Object
  extended by ecologylab.generic.Debug
      extended by ecologylab.xml.types.scalar.ScalarType<T>
          extended by ecologylab.xml.types.scalar.ReferenceType<java.util.regex.Pattern>
              extended by ecologylab.xml.types.scalar.PatternType

public class PatternType
extends ReferenceType<java.util.regex.Pattern>

Author:
andruid

Field Summary
 
Fields inherited from class ecologylab.xml.types.scalar.ScalarType
DEFAULT_DELIMS, DEFAULT_DELIMS_TOKENIZER, DEFAULT_VALUE, DEFAULT_VALUE_STRING, MINIMAL_DELIM
 
Constructor Summary
PatternType()
           
 
Method Summary
 java.util.regex.Pattern getInstance(java.lang.String value, java.lang.String[] formatStrings, ScalarUnmarshallingContext scalarUnmarshallingContext)
          If this is a reference type, build an appropriate Object, given a String representation.
 
Methods inherited from class ecologylab.xml.types.scalar.ReferenceType
appendValue, appendValue
 
Methods inherited from class ecologylab.xml.types.scalar.ScalarType
affordsInterestExpression, allowDelimitersInTokens, allowNewLines, appendValue, appendValue, composedOfTerms, defaultValueLength, delimeters, delimitersTokenizer, fieldTypeName, getClassName, getInstance, getTypeClass, illegalChars, isDefaultValue, isDefaultValue, isFloatingPoint, isMarshallOnly, isPrimitive, isReference, marshall, needsEscaping, primaryDelimiter, setField, setField, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternType

public PatternType()
Method Detail

getInstance

public java.util.regex.Pattern getInstance(java.lang.String value,
                                           java.lang.String[] formatStrings,
                                           ScalarUnmarshallingContext scalarUnmarshallingContext)
Description copied from class: ScalarType
If this is a reference type, build an appropriate Object, given a String representation. If it is a primitive type, return a boxed value.

Specified by:
getInstance in class ScalarType<java.util.regex.Pattern>
Parameters:
value - String representation of the instance.
formatStrings - Array of formatting values.
scalarUnmarshallingContext - TODO