public class XMLWriter
extends java.lang.Object
| Constructor and Description |
|---|
XMLWriter(java.io.OutputStream outputStream,
boolean prettyPrint,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(org.xml.sax.helpers.AttributesImpl attrs,
org.alfresco.service.namespace.QName name,
int value) |
void |
addAttribute(org.xml.sax.helpers.AttributesImpl attrs,
org.alfresco.service.namespace.QName name,
java.lang.String value) |
void |
close() |
void |
endDocument() |
void |
endElement(org.alfresco.service.namespace.QName name) |
void |
endPrefixMapping(java.lang.String prefix) |
void |
startDocument() |
void |
startElement(org.alfresco.service.namespace.QName name) |
void |
startElement(org.alfresco.service.namespace.QName name,
org.xml.sax.Attributes attrs) |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri) |
public XMLWriter(java.io.OutputStream outputStream,
boolean prettyPrint,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingExceptionpublic void startDocument()
public void startElement(org.alfresco.service.namespace.QName name)
public void startElement(org.alfresco.service.namespace.QName name,
org.xml.sax.Attributes attrs)
public void endElement(org.alfresco.service.namespace.QName name)
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
public void endPrefixMapping(java.lang.String prefix)
public void endDocument()
public void close()
throws java.io.IOException
java.io.IOExceptionpublic void addAttribute(org.xml.sax.helpers.AttributesImpl attrs,
org.alfresco.service.namespace.QName name,
java.lang.String value)
public void addAttribute(org.xml.sax.helpers.AttributesImpl attrs,
org.alfresco.service.namespace.QName name,
int value)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.