public URL getNodeAsURL( OMElement context, XPath xpath, URL defaultValue ) throws XMLParsingException { URL value = defaultValue; String s = getNodeAsString( context, xpath, null ); if ( s != null ) { value = parseURL( s ); } return value; }
public URL getRequiredNodeAsURL( OMElement context, XPath xpath ) throws XMLParsingException { String s = getRequiredNodeAsString( context, xpath ); URL value = parseURL( s ); return value; }