java.lang.Object
com.sun.xml.ws.config.metro.util.ParserUtil
- Author:
- Fabian Ritzmann
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
parseBooleanValue
(String value) Return true if the value is "true" or "1".
-
Method Details
-
parseBooleanValue
Return true if the value is "true" or "1". Return false if the value is "false" or "0". Throw an exception otherwise. The test is case sensitive.- Parameters:
value
- The String representation of the value. Must not be null.- Returns:
- True if the value is "true" or "1". False if the value is "false" or "0".
- Throws:
jakarta.xml.ws.WebServiceException
- If the value is not "true", "false", "0" or "1".
-