//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.06.11 at 10:34:07 AM PDT
//
/*
TODO:
reorganize classes into appropriate packages.
to reflect the fact that some of the classes in
the marshaller package are used for both marshalling
and validation.
In particular, the MarshallingContext interface should be
renamed. It is not only for marshalling.
(something like "Serializer", maybe).
*/
/**
* Validator implementation of JAXB RI.
*/
{
/** Validation errors will be reported to this object. */
// initialize datatype converter with ours
jaxbContext = c;
}
/**
* We need to know whether an validation error was detected or not.
* For this purpose, we set up the validation so that this interceptor
* will "intercept" errors before the application receives it.
*/
}
private boolean hadError = false;
/** event will be passed to this component. */
hadError = true;
boolean result;
// pass it to the application
try {
} catch( RuntimeException re ) {
// if the client event handler causes a RuntimeException,
// then we have to return false
result = false;
}
} else {
// if no error handler was specified, there is no point
// in continuing the validation.
result = false;
}
return result;
}
};
if( o == null ) {
throw new IllegalArgumentException(
}
return validate(o,true);
}
if( o == null ) {
throw new IllegalArgumentException(
}
return validate(o,false);
}
throws ValidationException {
try {
//ValidatableObject vo = Util.toValidatableObject(o);
throw new ValidationException(
} catch( SAXException e ) {
// we need a consistent mechanism to convert SAXException into JAXBException
throw new ValidationException( nested );
} else {
throw new ValidationException( e );
}
//return false;
}
}
return eventHandler;
}
} else {
}
}
/**
* There are no required properties, so simply throw an exception. Other
* providers may have support for properties on Validator, but the RI doesn't
*/
throws PropertyException {
throw new IllegalArgumentException(
}
}
/**
* There are no required properties, so simply throw an exception. Other
* providers may have support for properties on Validator, but the RI doesn't
*/
throws PropertyException {
throw new IllegalArgumentException(
}
throw new PropertyException(name);
}
}