public class XMLMaker2 extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLMaker2.SALType |
| Constructor and Description |
|---|
XMLMaker2(boolean verbose) |
| Modifier and Type | Method and Description |
|---|---|
void |
addXML(Document document,
MakeXMLConfiguration.DictionaryConfiguration dictConfig,
Mapping mapping) |
Document |
createDocument(XMLMaker2.SALType salType) |
Document |
createXML(MakeXMLConfiguration config) |
void |
writeXML(StreamResult output,
Document dom)
Write the XML document to a file
|
public Document createXML(MakeXMLConfiguration config) throws ParserConfigurationException, TransformerException
public Document createDocument(XMLMaker2.SALType salType) throws ParserConfigurationException
ParserConfigurationExceptionpublic void addXML(Document document, MakeXMLConfiguration.DictionaryConfiguration dictConfig, Mapping mapping) throws IOException, ParserConfigurationException, TransformerException, ClassNotFoundException
public void writeXML(StreamResult output, Document dom) throws TransformerConfigurationException, TransformerException
output - The location to write the outputdom - The XML documentTransformerConfigurationExceptionTransformerExceptionCopyright © 2023 LSST. All rights reserved.