Package | Description |
---|---|
org.tanjakostic.jcleancim.xml |
Modifier and Type | Method and Description |
---|---|
protected void |
ExternalXsdValidatingDOMBuilder.configureBuilderFactoryWithSchema(javax.xml.parsers.DocumentBuilderFactory builderFactory) |
protected abstract void |
AbstractXsdValidatingDOMBuilder.configureBuilderFactoryWithSchema(javax.xml.parsers.DocumentBuilderFactory factory) |
org.w3c.dom.Document |
ConfiguredDOMBuilder.readAndValidate(java.io.File xmlFile)
Reads and validates
xmlFile and returns it as DOM document. |
org.w3c.dom.Document |
ConfiguredDOMBuilder.readAndValidate(org.xml.sax.InputSource source)
Reads and validates
source and returns it as DOM document. |
org.w3c.dom.Document |
ConfiguredDOMBuilder.readAndValidate(XmlString xmlText)
Reads and validates
xmlText and returns it as DOM document. |
void |
AbstractXsdValidatingDOMBuilder.validate(org.w3c.dom.Document document)
Validates existing DOM
document against XML schema. |
static java.io.InputStream |
XmlUtil.xmlAsInputStream(java.io.File xmlFile,
boolean isOnClasspath)
Returns input stream for file.
|
Constructor and Description |
---|
AbstractXsdValidatingDOMBuilder(java.io.InputStream externalSchema,
boolean saxReaderSetValidate) |
WellformedDOM(java.lang.String filePath,
XmlString content) |
XmlInstanceDOM(java.lang.String comment,
java.lang.String instancePath,
java.lang.String schemaPath)
Constructs this instance with empty qualified root element, and with reference to schema
found in
schemaPath ; the root element tag is deduced from the schema. |
XmlInstanceDOM(java.lang.String comment,
java.lang.String instancePath,
java.lang.String schemaPath,
java.lang.String rootTag)
FIXME: test
|
XmlInstanceDOM(java.lang.String comment,
java.lang.String instancePath,
XmlSchemaDOM schema)
Constructs this instance with empty qualified root element, and with
schema ,
which potentially does not have the file representation (e.g., it may have been created from
XML text, and does not exist as a file); the root element tag is deduced from the schema. |
XmlInstanceDOM(java.lang.String comment,
java.lang.String instancePath,
XmlSchemaDOM schema,
java.lang.String rootTag)
FIXME: test
|
XmlSchemaDOM(java.lang.String schemaPath)
Constructs schema document from the file
schemaPath . |
XmlSchemaDOM(XmlString schemaContent)
Constructs schema document from the string content
schemaContent ;
WellformedDOM.getFile() will return null. |
Copyright 2009-2016 Tatjana (Tanja) Kostic