org.w3c.dom.Document
object. Usually represents a web page loaded by a client. Provides many useful utilities to simulate "The Browser Is The Server" approach of ItsNat like event listener registries. Is the factory of DOM utility objects and ItsNat components.
ItsNat document objects are created using a {@link ItsNatDocumentTemplate} as pattern andusually obtained calling {@link ItsNatServletRequest#getItsNatDocument()}or {@link ItsNatServletResponse#getItsNatDocument()}when a new document (page) is loading or calling {@link org.itsnat.core.event.ItsNatEvent#getItsNatDocument()}when an event is received.
Is not thread save and any object depending on this document (DOM utility objects, components etc) is not thread save too. This is not a problem because any ItsNat request/response thread synchronizes this object before calling user defined code, user defined code executed by an ItsNat request/response thread may be unaware of synchronization isues.
@author Jose Maria Arranz Santamaria
|
|