public class DTDManipulator extends Object
| Constructor and Description |
|---|
DTDManipulator() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
injectMathML20DTD(InputStream in)
Inject into a XML document MathML 2.0 DTD reference (
<! |
static InputStream |
injectMathML30DTD(InputStream in)
Inject into a XML document MathML 3.0 DTD reference (
<! |
static InputStream |
injectXHTML11PlusMathML20PlusSVG11DTD(InputStream in)
Inject into a XML document XHTML 1.1 plus MathML 2.0 plus SVG 1.1 DTD
reference
(
<! |
static InputStream |
removeDTD(InputStream in)
Remove any DTD reference from a XML document.
|
public static InputStream injectXHTML11PlusMathML20PlusSVG11DTD(InputStream in)
<!DOCTYPE math SYSTEM "xhtml-math11-f.dtd">). Named
MathML entities
(α ...) can be used in such a XML document.in - XML document as InputStreampublic static InputStream injectMathML20DTD(InputStream in)
<!DOCTYPE math SYSTEM "mathml2.dtd">). Named MathML
entities (
α ...) can be used in such a XML document.in - XML document as InputStreampublic static InputStream injectMathML30DTD(InputStream in)
<!DOCTYPE math SYSTEM "mathml3.dtd">). Named MathML
entities (α ...) can be used in such a XML
document.in - XML document as InputStreampublic static InputStream removeDTD(InputStream in) throws XMLStreamException
in - XML document as InputStreamXMLStreamException - an error with XML processing occursCopyright © 2015. All Rights Reserved.