- Direct Known Subclasses:
public abstract class Closable extends java.lang.ObjectThis class represents the common ability of many XQJ classes to be closed. Note that closing an object serves no useful purpose in the Saxon implementation; this complex machinery is provided merely to satisfy the XQJ interface, which is designed to accommodate a client-server implementation.
Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
close()Close this object
isClosed()Ask whether this object has been closed.
setClosableContainer(Closable container)Set the container of this closable object.
public final void setClosableContainer(Closable container)Set the container of this closable object. Closing the container causes this object to be treated as closed itself
container- the container of this closable object
public final void close()Close this object
public final boolean isClosed()Ask whether this object has been closed.
- true if either the object itself or its container has been closed