Package org.apache.jackrabbit.webdav.xml
Class ResultHelper
- java.lang.Object
-
- org.apache.jackrabbit.webdav.xml.ResultHelper
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Result
getResult(Result result)
In case the underlying XML library doesn't properly handle xmlns attributes this method creates new content handler dealing with the misbehavior and returns an new instance of SAXResult.
-
-
-
Method Detail
-
getResult
public static Result getResult(Result result) throws SAXException
In case the underlying XML library doesn't properly handle xmlns attributes this method creates new content handler dealing with the misbehavior and returns an new instance of SAXResult. Otherwise the passed result is returned back.- Parameters:
result
-- Returns:
- A instance of
Result
that properly handles xmlns attributes. - Throws:
SAXException
-
-