Push.Container, Push.Document, Push.Element| Constructor and Description |
|---|
PushToReceiver(Receiver out) |
| Modifier and Type | Method and Description |
|---|---|
Push.Document |
document(boolean wellFormed)
Start an XML document.
|
public PushToReceiver(Receiver out)
public Push.Document document(boolean wellFormed) throws SaxonApiException
Pushdocument in interface PushwellFormed - Set to true if the document is required to be well-formed;
set to false if there is no such requirement. A well-formed
document must have as its children exactly one element node
plus optionally, any number of comment and processing instruction
nodes (no text nodes are allowed); any attempt to construct a node
sequence that does not follow these rules will result in an exception.
If the document is not required to be well-formed, the children
of the document node may comprise any sequence of element, text,
comment, and processing instruction nodes.SaxonApiException - if the specified constraints are violated, or if the
implementation detects any problemsCopyright (c) 2004-2021 Saxonica Limited. All rights reserved.