This method has to be called everytime after prepareInputSource calling.
It is used for closing the stream, because it is not possible to access the
underlayed stream hidden in InputSource.
It is save to call this method without opening.
createCookie
public Node.Cookie createCookie(Class clazz)(Code)
Provides node that should represent this data object. When a node for
representation in a parent is requested by a call to getNode (parent)
it is the exact copy of this node
with only parent changed. This implementation creates instance
DataNode.
This method is called only once.
the node representation for this data object See Also: DataNode
This method is used for obtaining the current source of xml document.
First try if document is in the memory. If not, provide the input from
underlayed file object.
The input source from memory or from file exception: IOException - if some problem occurs
Update the node from document. This method is called after document is changed.
Parameters: is - Input source for the document number of the line with error (document is invalid), 0 (xml document is valid)