net.sf.jameleon.function
Class DefaultValidParamType

java.lang.Object
  extended by net.sf.jameleon.function.DefaultValidParamType
All Implemented Interfaces:
ParamTypeValidatable

public class DefaultValidParamType
extends Object
implements ParamTypeValidatable

Used to as a means to support valid <param-type>'s for a specific functional point.


Constructor Summary
DefaultValidParamType()
           
 
Method Summary
 String getValidTypes()
          Since all types are supported this simply returns an empty String
 boolean isValidType(String type)
          This always returns true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValidParamType

public DefaultValidParamType()
Method Detail

isValidType

public boolean isValidType(String type)
This always returns true.

Specified by:
isValidType in interface ParamTypeValidatable
Returns:
true if the param type is supported.

getValidTypes

public String getValidTypes()
Since all types are supported this simply returns an empty String

Specified by:
getValidTypes in interface ParamTypeValidatable
Returns:
all of the valid param types concatenated into a String


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.