Class ParserUtil

java.lang.Object
com.sun.xml.ws.config.metro.util.ParserUtil

public class ParserUtil extends Object
Author:
Fabian Ritzmann
  • Method Details

    • parseBooleanValue

      public static boolean parseBooleanValue(String value) throws jakarta.xml.ws.WebServiceException
      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".