com.revusky.niggle.data.metadata
Class URLField

java.lang.Object
  |
  +--com.revusky.niggle.data.metadata.Field
        |
        +--com.revusky.niggle.data.metadata.StringField
              |
              +--com.revusky.niggle.data.metadata.URLField
All Implemented Interfaces:
FieldDescriptor, java.io.Serializable

public class URLField
extends StringField

Field descriptor that describes a field that must be a valid URL

Author:
Paul Murphy
See Also:
Serialized Form

Fields inherited from class com.revusky.niggle.data.metadata.Field
defaultValueString, sqlType
 
Constructor Summary
URLField()
           
 
Method Summary
 void checkValidValue(Record rec, java.lang.Object value)
          Check whether this object is a valid value for this field of the given record.
 
Methods inherited from class com.revusky.niggle.data.metadata.StringField
decodeMultiLineString, encodeMultiLineString, getCopy, getJavaType, getObjectFromString, init, normalize, valueToString
 
Methods inherited from class com.revusky.niggle.data.metadata.Field
capitalizeFirstLetter, convertFromJDBC, defaultValue, getLocalizedName, getName, getSQLType, hashCode, isFieldOf, isRequired, processDefaultValue, setDefaultValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

URLField

public URLField()
Method Detail

checkValidValue

public void checkValidValue(Record rec,
                            java.lang.Object value)
                     throws java.io.IOException
Description copied from interface: FieldDescriptor
Check whether this object is a valid value for this field of the given record. Used in the core validity checks.
Overrides:
checkValidValue in class StringField
Following copied from interface: com.revusky.niggle.data.FieldDescriptor
Throws:
java.io.IOException - Description of Exception