public class XMLWriter extends Object
Constructor and Description |
---|
XMLWriter(OutputStream outputStream,
boolean prettyPrint,
String encoding) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(AttributesImpl attrs,
org.alfresco.service.namespace.QName name,
int value) |
void |
addAttribute(AttributesImpl attrs,
org.alfresco.service.namespace.QName name,
String value) |
void |
close() |
void |
endDocument() |
void |
endElement(org.alfresco.service.namespace.QName name) |
void |
endPrefixMapping(String prefix) |
void |
startDocument() |
void |
startElement(org.alfresco.service.namespace.QName name) |
void |
startElement(org.alfresco.service.namespace.QName name,
Attributes attrs) |
void |
startPrefixMapping(String prefix,
String uri) |
public XMLWriter(OutputStream outputStream, boolean prettyPrint, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public void startDocument()
public void startElement(org.alfresco.service.namespace.QName name)
public void startElement(org.alfresco.service.namespace.QName name, Attributes attrs)
public void endElement(org.alfresco.service.namespace.QName name)
public void endPrefixMapping(String prefix)
public void endDocument()
public void close() throws IOException
IOException
public void addAttribute(AttributesImpl attrs, org.alfresco.service.namespace.QName name, String value)
public void addAttribute(AttributesImpl attrs, org.alfresco.service.namespace.QName name, int value)
Copyright © 2005–2017 Alfresco Software. All rights reserved.