public class XMLWriterHelper extends Object
| Constructor and Description |
|---|
XMLWriterHelper(String namespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(XMLStreamWriter xmlWriter,
String name,
ParamValue value,
QName xsdType,
int resultType) |
void |
endElement(XMLStreamWriter xmlWriter) |
String |
getNamespace() |
void |
setNamespace(String namespace) |
void |
startRowElement(XMLStreamWriter xmlWriter,
String name,
int resultType,
Result result,
ExternalParamCollection params) |
void |
startWrapperElement(XMLStreamWriter xmlWriter,
String namespace,
String name,
int resultType) |
void |
writeResultElement(XMLStreamWriter xmlWriter,
String name,
ParamValue value,
QName xsdType,
int categoryType,
int resultType,
ExternalParamCollection params) |
public XMLWriterHelper(String namespace)
public String getNamespace()
public void setNamespace(String namespace)
public void startRowElement(XMLStreamWriter xmlWriter, String name, int resultType, Result result, ExternalParamCollection params) throws XMLStreamException
XMLStreamExceptionpublic void startWrapperElement(XMLStreamWriter xmlWriter, String namespace, String name, int resultType) throws XMLStreamException
XMLStreamExceptionpublic void endElement(XMLStreamWriter xmlWriter) throws XMLStreamException
XMLStreamExceptionpublic void writeResultElement(XMLStreamWriter xmlWriter, String name, ParamValue value, QName xsdType, int categoryType, int resultType, ExternalParamCollection params) throws XMLStreamException
XMLStreamExceptionpublic void addAttribute(XMLStreamWriter xmlWriter, String name, ParamValue value, QName xsdType, int resultType) throws XMLStreamException
XMLStreamExceptionCopyright © 2017 WSO2. All rights reserved.