Class JPConverter.FromBoolean

    • Constructor Detail

      • FromBoolean

        public FromBoolean()
    • Method Detail

      • convert

        public BooleanValue convert​(java.lang.Object object,
                                    XPathContext context)
                             throws XPathException
        Description copied from class: JPConverter
        Convert a Java object to an equivalent XPath value
        Specified by:
        convert in class JPConverter
        object - the java object to be converted
        context - the XPath dynamic evaluation context
        the XPath value resulting from the conversion
        XPathException - if the conversion is not possible or if it fails
      • getItemType

        public ItemType getItemType()
        Description copied from class: JPConverter
        Get the item type of the XPath value that will result from the conversion
        Specified by:
        getItemType in class JPConverter
        the XPath item type