Package | Description |
---|---|
org.tanjakostic.jcleancim.xml |
Modifier and Type | Method and Description |
---|---|
static XmlString |
JaxpHelper.asPrettyXml(org.w3c.dom.Node documentOrElement,
java.io.File xmlFile)
Returns
documentOrElement as pretty-print XML string and saves it to
xmlFile if not null. |
static XmlString |
JaxpHelper.asPrettyXml(XmlString xmlText,
java.io.File xmlFile)
Returns
xmlText as pretty-print string and saves to xmlFile if not
null. |
static XmlString |
JaxpHelper.asXml(org.w3c.dom.Node documentOrElement,
java.io.File xmlFile)
Returns
documentOrElement as XML string and saves it to xmlFile if
not null. |
XmlString |
WellformedDOM.asXmlString() |
Modifier and Type | Method and Description |
---|---|
static XmlString |
JaxpHelper.asPrettyXml(XmlString xmlText,
java.io.File xmlFile)
Returns
xmlText as pretty-print string and saves to xmlFile if not
null. |
static org.w3c.dom.Document |
JaxpHelper.parseAsDocument(XmlString xmlText)
Parses
xmlText and returns DOM document containing it on success, null on
failure or if xmlText is null. |
static org.w3c.dom.DocumentFragment |
JaxpHelper.parseAsFragment(XmlString xmlText)
Parses
xmlText and returns DOM document fragment on success, null on failure or
if xmlText is null. |
org.w3c.dom.Document |
ConfiguredDOMBuilder.readAndValidate(XmlString xmlText)
Reads and validates
xmlText and returns it as DOM document. |
org.w3c.dom.Document |
AbstractConfiguredDOMBuilder.readAndValidate(XmlString xmlText) |
static org.xml.sax.InputSource |
XmlUtil.xmlAsInputSource(XmlString xmlText)
Returns input source with "UTF-8" encoding for XML content.
|
static java.io.InputStream |
XmlUtil.xmlAsInputStream(XmlString xmlText)
Returns input stream for XML content.
|
Constructor and Description |
---|
WellformedDOM(java.lang.String filePath,
XmlString content) |
XmlSchemaDOM(XmlString schemaContent)
Constructs schema document from the string content
schemaContent ;
WellformedDOM.getFile() will return null. |
Copyright 2009-2016 Tatjana (Tanja) Kostic