| java.lang.Object org.vfny.geoserver.global.xml.WriterHelper
WriterHelper | public class WriterHelper (Code) | | WriterUtils purpose.
Used to provide assitance writing xml to a Writer.
author: dzwiers, Refractions Research, Inc. version: $Id: WriterHelper.java 8482 2008-02-29 04:59:42Z arneke $ |
indent | protected int indent(Code) | | |
WriterHelper | protected WriterHelper()(Code) | | WriterUtils constructor.
Should never be called.
|
WriterHelper | public WriterHelper(Writer writer)(Code) | | WriterUtils constructor.
Stores the specified writer to use for output.
Parameters: writer - the writer which will be used for outputing the xml. |
attrTag | public void attrTag(String tagName, Map attributes) throws ConfigurationException(Code) | | attrTag purpose.
Writes an xml tag with the name and attributes specified to the stored
output writer.
Parameters: tagName - The tag name to write. Parameters: attributes - The tag attributes to write. throws: ConfigurationException - When an IO exception occurs. |
closeTag | public void closeTag(String tagName) throws ConfigurationException(Code) | | closeTag purpose.
Writes an close xml tag with the name specified to the stored output
writer.
Parameters: tagName - The tag name to write. throws: ConfigurationException - When an IO exception occurs. |
comment | public void comment(String comment) throws ConfigurationException(Code) | | comment purpose.
Writes an xml comment with the text specified to the stored output
writer.
Parameters: comment - The comment text to write. throws: ConfigurationException - When an IO exception occurs. |
openTag | public void openTag(String tagName, Map attributes) throws ConfigurationException(Code) | | openTag purpose.
Writes an open xml tag with the name and attributes specified to the
stored output writer.
Parameters: tagName - The tag name to write. Parameters: attributes - The tag attributes to write. throws: ConfigurationException - When an IO exception occurs. |
textTag | public void textTag(String tagName, String data) throws ConfigurationException(Code) | | textTag purpose.
Writes a text xml tag with the name and text specified to the stored
output writer.
Parameters: tagName - The tag name to write. Parameters: data - The text data to write. throws: ConfigurationException - When an IO exception occurs. |
textTag | public void textTag(String tagName, Map attributes, String data) throws ConfigurationException(Code) | | textTag purpose.
Writes an xml tag with the name, text and attributes specified to the
stored output writer.
Parameters: tagName - The tag name to write. Parameters: attributes - The tag attributes to write. Parameters: data - The tag text to write. throws: ConfigurationException - When an IO exception occurs. |
valueTag | public void valueTag(String tagName, String value) throws ConfigurationException(Code) | | valueTag purpose.
Writes an xml tag with the name and value specified to the stored output
writer.
Parameters: tagName - The tag name to write. Parameters: value - The text data to write. throws: ConfigurationException - When an IO exception occurs. |
|
|