/** * Construct an XdmItem as a wrapper around an existing Saxon Item object * * @param item the Item object to be wrapped. This can be retrieved using the * {@link #getUnderlyingValue} method. * @throws NullPointerException if item is null * @since 9.5 (previously a protected constructor) */ public XdmItem(Item<?> item) { super(); setValue(item); }
/** * Construct an XdmItem as a wrapper around an existing Saxon Item object * * @param item the Item object to be wrapped. This can be retrieved using the * {@link #getUnderlyingValue} method. * @throws NullPointerException if item is null * @since 9.5 (previously a protected constructor) */ public XdmItem(Item<?> item) { super(); setValue(item); }