This method sets the DOM document associated with this object and optional encoding. setDocument() is used by buildDocument() to set the new document. It is done separately from the constructor to allow buildDocument() to not be called immediately.

Returns: protected void


This method gets the XMLC DOM Factory associated with this document type and DOM implementation.

Returns: protected abstract XMLCDomFactory


This method gets the actual document object. You should normally use the XMLObject methods to access the document functionality; this method is for the initialization of derived objects.

Description copied from interface: XMLObjectgetDocument()

Specified by: getDocument in interface ...

Get Enhydra XMLC™ Java™ Presentation Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.