Document Information Item
The Document Information Item is the root of the information found in an XML document. There is only one such root item.
This information item begins with the
ContentHandler.startDocument()
call and
ends with the ContentHandler.endDocument()
call. Many SAX2 event calls are used to construct its children
or constituents.
Property |
Callbacks |
Explanation |
---|---|---|
[children] |
|
See the sections for each type of Information Item: Document Type Declaration (one, if present), Element (one), processing instruction (possibly many), Comment (possibly many). |
[document element] |
|
This is the element in the [children] property. |
[notations] |
|
See the section on Notation Information Items. (Unordered.) |
[unparsed entities] |
|
See the section on Unparsed Entity Information Items. (Unordered.) |
[base URI] |
|
Locator may be used
during the Alternatively, for any parsers that don’t
provide a Locator,
applications using an XMLReader
are responsible for providing this information (if it
exists) to the |
[character encoding scheme] |
unavailable; or
|
Normally this property is unavailable; it won’t affect the interpretation of character data in Java. However, ... |
Get SAX2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.