| java.lang.Object org.apache.cxf.aegis.util.jdom.StaxBuilder
StaxBuilder | public class StaxBuilder (Code) | | Builds a JDOM
org.jdom.Document org.jdom.Document using a
javax.xml.stream.XMLStreamReader .
version: $Revision: 527617 $, $Date: 2006-02-15 15:21:25 -0500 (Wed, 15 Feb version: 2006) $ author: Tatu Saloranta author: Bradley S. Huffman |
Field Summary | |
protected boolean | cfgIgnoreWS Whether ignorable white space should be ignored, ie not added in the
resulting JDOM tree. |
cfgIgnoreWS | protected boolean cfgIgnoreWS(Code) | | Whether ignorable white space should be ignored, ie not added in the
resulting JDOM tree. If true, it will be ignored; if false, it will be
added in the tree. Default value if false.
|
StaxBuilder | public StaxBuilder()(Code) | | Default constructor.
|
StaxBuilder | public StaxBuilder(Map namespaces)(Code) | | |
build | public Document build(XMLStreamReader r) throws XMLStreamException(Code) | | This will build a JDOM tree given a StAX stream reader.
Parameters: r - Stream reader from which input is read. Document - JDOM document object. throws: XMLStreamException - If the reader threw such exception (toindicate a parsing or I/O problem) |
getAdditionalNamespaces | public Map getAdditionalNamespaces()(Code) | | |
getFactory | public JDOMFactory getFactory()(Code) | | Returns the current
org.jdom.JDOMFactory in use, if one has been
previously set with
StaxBuilder.setFactory , otherwise null.
the factory builder will use |
setAdditionalNamespaces | public void setAdditionalNamespaces(Map additionalNamespaces)(Code) | | |
setFactory | public void setFactory(JDOMFactory f)(Code) | | |
setIgnoreWhitespace | public void setIgnoreWhitespace(boolean state)(Code) | | |
|
|