com.tonbeller.wcf.format
Class RequiredStringHandler

java.lang.Object
  extended bycom.tonbeller.wcf.format.FormatHandlerSupport
      extended bycom.tonbeller.wcf.format.StringHandler
          extended bycom.tonbeller.wcf.format.RequiredStringHandler
All Implemented Interfaces:
FormatHandler

public class RequiredStringHandler
extends StringHandler

non empty string

Author:
av

Field Summary
 
Fields inherited from class com.tonbeller.wcf.format.FormatHandlerSupport
errorMessage, locale, name, pattern, patterns
 
Constructor Summary
RequiredStringHandler()
           
 
Method Summary
 java.lang.Object parse(java.lang.String object, java.lang.String userPattern)
          parse a String and create an object
 
Methods inherited from class com.tonbeller.wcf.format.StringHandler
canHandle, format, toNativeArray, toObjectArray
 
Methods inherited from class com.tonbeller.wcf.format.FormatHandlerSupport
addPattern, findPattern, getErrorMessage, getErrorMessage, getLocale, getName, getPattern, setErrorMessage, setLocale, setName, setPattern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredStringHandler

public RequiredStringHandler()
Method Detail

parse

public java.lang.Object parse(java.lang.String object,
                              java.lang.String userPattern)
Description copied from interface: FormatHandler
parse a String and create an object

Specified by:
parse in interface FormatHandler
Overrides:
parse in class StringHandler