public class XmlExporter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
girrHomePage
Homepage URL.
|
static String |
girrNamespace
Namespace URI
|
static String |
girrNoNamespaceSchemaLocationURL
URL for schema file, namespace-less version.
|
static String |
girrSchemaLocationURL
URL for schema file supporting name spaces.
|
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 charsetName) |
void |
printDOM(OutputStream ostr,
Document stylesheet,
HashMap<String,String> parameters,
boolean binary,
String charsetName) |
void |
printDOM(OutputStream ostr,
String charsetName) |
static void |
setDebug(boolean dbg) |
public static final String girrNamespace
public static final String girrHomePage
public static final String girrSchemaLocationURL
public static final String girrNoNamespaceSchemaLocationURL
public XmlExporter(Document doc)
doc
- public static void setDebug(boolean dbg)
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, boolean binary, String charsetName) throws IOException
IOException
public void printDOM(OutputStream ostr, String charsetName) throws IOException
IOException
public void printDOM(File file, String charsetName) throws IOException
IOException
public void printDOM(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2016. All rights reserved.