atg.service.datacollection
Class FormatFieldPropertyValueParser

java.lang.Object
  extended by atg.service.datacollection.FormatFieldPropertyValueParser
All Implemented Interfaces:
atg.nucleus.PropertyValueParser

public class FormatFieldPropertyValueParser
extends java.lang.Object
implements atg.nucleus.PropertyValueParser

PropertyValueParser for a format field.

See Also:
Formatter

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static char FORMAT_STRING_INTRODUCER
          character that introduces format strings
static char FORMAT_VARIABLE_INTRODUCER
          character that indicates the field is a "special" field
static char QUOTE_CHAR
          character that begins and ends Strings
 
Constructor Summary
FormatFieldPropertyValueParser()
          Construct an empty FormatFieldParser
 
Method Summary
 java.lang.Object parsePropertyValue(java.lang.String pString, java.lang.Class pClass)
          Parse the supplied string into a FormatField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


FORMAT_VARIABLE_INTRODUCER

public static final char FORMAT_VARIABLE_INTRODUCER
character that indicates the field is a "special" field

See Also:
Constant Field Values

QUOTE_CHAR

public static final char QUOTE_CHAR
character that begins and ends Strings

See Also:
Constant Field Values

FORMAT_STRING_INTRODUCER

public static final char FORMAT_STRING_INTRODUCER
character that introduces format strings

See Also:
Constant Field Values
Constructor Detail

FormatFieldPropertyValueParser

public FormatFieldPropertyValueParser()
Construct an empty FormatFieldParser

Method Detail

parsePropertyValue

public java.lang.Object parsePropertyValue(java.lang.String pString,
                                           java.lang.Class pClass)
                                    throws atg.nucleus.PropertyValueParseException
Parse the supplied string into a FormatField

Specified by:
parsePropertyValue in interface atg.nucleus.PropertyValueParser
Parameters:
pString - the string to parse
pClass - the desired class (not used)
Throws:
atg.nucleus.PropertyValueParseException