Class JPConverter.VoidConverter

    • Constructor Detail

      • VoidConverter

        public VoidConverter()
    • Method Detail

      • convert

        public GroundedValue 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
      • getItemType

        public ItemType getItemType()
        Deliberately avoid giving type information
        Specified by:
        getItemType in class JPConverter
        Returns:
        the XPath item type