|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.revusky.oreo.metadata.Field | +--com.revusky.oreo.metadata.StringField | +--com.revusky.oreo.metadata.URLField
Field descriptor that describes a field that must be a valid URL
Fields inherited from class com.revusky.oreo.metadata.StringField |
regexp, regexpString |
Fields inherited from class com.revusky.oreo.metadata.Field |
defaultValueString, properties, 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. |
java.lang.String |
normalize(java.lang.String s)
"normalize" the string passed in. |
Methods inherited from class com.revusky.oreo.metadata.StringField |
convertFromJDBC, decodeMultiLineString, encodeMultiLineString, getCopy, getJavaType, getObjectFromString, init, processProperties, valueToString |
Methods inherited from class com.revusky.oreo.metadata.Field |
defaultValue, getLocalizedName, getName, getProperty, getSQLType, hashCode, isFieldOf, isRequired, processDefaultValue, processNormalization, setDefaultValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public URLField()
Method Detail |
public void checkValidValue(Record rec, java.lang.Object value) throws java.io.IOException
FieldDescriptor
checkValidValue
in class StringField
com.revusky.oreo.FieldDescriptor
java.io.IOException
- Description of Exceptionpublic java.lang.String normalize(java.lang.String s)
FieldDescriptor
normalize
in class StringField
com.revusky.oreo.FieldDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |