| java.lang.Object org.apache.catalina.util.XMLWriter
Method Summary | |
public void | sendData() Send data and reinitializes buffer. | public String | toString() Retrieve generated XML. | public void | writeData(String data) Write data. | public void | writeElement(String namespace, String name, int type) Write an element. | public void | writeElement(String namespace, String namespaceInfo, String name, int type) Write an element. | public void | writeProperty(String namespace, String namespaceInfo, String name, String value) Write property to the XML. | public void | writeProperty(String namespace, String name, String value) Write property to the XML. | public void | writeProperty(String namespace, String name) Write property to the XML. | public void | writeText(String text) Write text. | public void | writeXMLHeader() Write XML Header. |
CLOSING | final public static int CLOSING(Code) | | Closing tag.
|
NO_CONTENT | final public static int NO_CONTENT(Code) | | Element with no content.
|
OPENING | final public static int OPENING(Code) | | Opening tag.
|
XMLWriter | public XMLWriter()(Code) | | Constructor.
|
sendData | public void sendData() throws IOException(Code) | | Send data and reinitializes buffer.
|
toString | public String toString()(Code) | | Retrieve generated XML.
String containing the generated XML |
writeData | public void writeData(String data)(Code) | | Write data.
Parameters: data - Data to append |
writeElement | public void writeElement(String namespace, String name, int type)(Code) | | Write an element.
Parameters: name - Element name Parameters: namespace - Namespace abbreviation Parameters: type - Element type |
writeElement | public void writeElement(String namespace, String namespaceInfo, String name, int type)(Code) | | Write an element.
Parameters: namespace - Namespace abbreviation Parameters: namespaceInfo - Namespace info Parameters: name - Element name Parameters: type - Element type |
writeProperty | public void writeProperty(String namespace, String namespaceInfo, String name, String value)(Code) | | Write property to the XML.
Parameters: namespace - Namespace Parameters: namespaceInfo - Namespace info Parameters: name - Property name Parameters: value - Property value |
writeProperty | public void writeProperty(String namespace, String name, String value)(Code) | | Write property to the XML.
Parameters: namespace - Namespace Parameters: name - Property name Parameters: value - Property value |
writeProperty | public void writeProperty(String namespace, String name)(Code) | | Write property to the XML.
Parameters: namespace - Namespace Parameters: name - Property name |
writeText | public void writeText(String text)(Code) | | Write text.
Parameters: text - Text to append |
writeXMLHeader | public void writeXMLHeader()(Code) | | Write XML Header.
|
|
|