private static URI getDialect( org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceProperties12Draft05.QueryExpressionType queryExprElem )
{
if ( !queryExprElem.isSetDialect( ) )
{
throw new FaultException( Soap1_1Constants.FAULT_CLIENT,
"The Dialect attribute is required by the WSRF-RP QueryExpressionType." );
}
try
{
return new URI( queryExprElem.getDialect( ) );
}
catch ( URISyntaxException urise )
{
throw new FaultException( Soap1_1Constants.FAULT_CLIENT,
"The Dialect attribute of the WSRF-RP QueryExpressionType must be a valid URI." );
}
}