Close the item and release all the resources associated with this item.
No method other than the isClosed or close method
may be called once the item is closed.
Calling close on an XQItem object that is already closed has
XQException - if there is an error during closing the item
Checks if the item is closed.
booleantrue if the item
is in a closed state, false otherwise