public class XmlExporter extends Object
Constructor and Description |
---|
XmlExporter(Document doc) |
XmlExporter(Element root,
String stylesheetType,
String stylesheetUrl,
boolean createSchemaLocation) |
Modifier and Type | Method and Description |
---|---|
static Document |
createDocument(Element root,
String stylesheetType,
String stylesheetUrl,
boolean createSchemaLocation) |
static Document |
newDocument() |
void |
printDOM(File file) |
void |
printDOM(File file,
String doctypeSystemid) |
void |
printDOM(OutputStream ostr,
Document stylesheet,
HashMap<String,String> parameters,
String doctypeSystemid,
boolean binary) |
void |
printDOM(OutputStream ostr,
String doctypeSystemid) |
public XmlExporter(Document doc)
doc
- public static Document createDocument(Element root, String stylesheetType, String stylesheetUrl, boolean createSchemaLocation)
public static Document newDocument()
public void printDOM(OutputStream ostr, Document stylesheet, HashMap<String,String> parameters, String doctypeSystemid, boolean binary) throws IOException
IOException
public void printDOM(OutputStream ostr, String doctypeSystemid) throws IOException
IOException
public void printDOM(File file, String doctypeSystemid) throws IOException
IOException
public void printDOM(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2015. All rights reserved.