public abstract class XMLDocumentBase extends Object
Constructor and Description |
---|
XMLDocumentBase() |
Modifier and Type | Method and Description |
---|---|
void |
endDocument()
Finishes the document.
|
javax.xml.stream.XMLStreamWriter |
getWriter()
Returns the writer object.
|
void |
setNamespaces(Map<String,String> namespaces)
Sets the namespaces for the document.
|
protected void |
setWriter(javax.xml.stream.XMLStreamWriter writer)
Sets the writer object.
|
void |
startDocument(OutputStream out,
Map<String,String> namespaces)
Starts the document and sets the namespaces.
|
void |
writeAllCustomNamespace()
Writes custom namespace declaration to the current tag.
|
public void setNamespaces(Map<String,String> namespaces) throws javax.xml.stream.XMLStreamException
public void writeAllCustomNamespace() throws javax.xml.stream.XMLStreamException
public void startDocument(OutputStream out, Map<String,String> namespaces) throws javax.xml.stream.XMLStreamException
public void endDocument() throws javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter getWriter()
protected void setWriter(javax.xml.stream.XMLStreamWriter writer)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.