Class JPConverter.ExternalObjectWrapper

    • Method Detail

      • convert

        public ExternalObject<java.lang.Object> 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
        Parameters:
        object - the java object to be converted
        context - the XPath dynamic evaluation context
        Returns:
        the XPath value resulting from the conversion
        Throws:
        XPathException - if the conversion is not possible or if it fails