The SAX parser will invoke this method only once, before any other event callbacks (except for {@link #setDocumentLocator setDocumentLocator}).
@exception org.xml.sax.SAXException Any SAX exception, possiblywrapping another exception. @see #endDocumentThis method will check if it has not been called before ( {@link #_started}), will serialize the document type declaration, and will serialize all pre-root comments and PIs that were accumulated in the document (see {@link #serializePreRoot}). Pre-root will be serialized even if this is not the first root element of the document.
null
uses UTF-8 default
@param alone standalone document flag, null
if notspecified
@throws JiBXException on any error (possibly wrapping other exception)
The SAX parser will invoke this method only once, before any other event callbacks (except for {@link #setDocumentLocator setDocumentLocator}).
@throws org.xml.sax.SAXException any SAX exception, possiblywrapping another exception @see #endDocumentThe SAX parser will invoke this method only once, before any other methods in this interface or in DTDHandler (except for setDocumentLocator).
@exception org.xml.sax.SAXException Any SAX exception, possiblywrapping another exception.By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).
@exception org.xml.sax.SAXException Any SAX exception, possiblywrapping another exception. @see org.xml.sax.ContentHandler#startDocument
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|