@Override public Object validate(String content,ValidationContext context,ValidatedInfo validatedInfo) throws InvalidDatatypeValueException {
  if (context == null)   context=fEmptyContext;
  if (validatedInfo == null)   validatedInfo=new ValidatedInfo();
 else   validatedInfo.memberType=null;
  boolean needNormalize=context == null || context.needToNormalize();
  Object ob=getActualValue(content,context,validatedInfo,needNormalize);
  validate(context,validatedInfo);
  return ob;
}

@ Override public Object validate ( String content , ValidationContext context , ValidatedInfo validatedInfo ) throws InvalidDatatypeValueException { if ( context == null ) context = fEmptyContext ; if ( validatedInfo == null ) validatedInfo = new ValidatedInfo ( ) ; else validatedInfo . memberType = null ; boolean needNormalize = context == null || context . needToNormalize ( ) ; Object ob = getActualValue ( content , context , validatedInfo , needNormalize ) ; validate ( context , validatedInfo ) ; return ob ; }
validate a value , and return the compiled form
