net.sf.jameleon.function
Class DefaultValidParamType
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValidParamType
public DefaultValidParamType()
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.