|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vfny.geoserver.global.xml.WriterHelper
WriterUtils purpose.
Used to provide assitance writing xml to a Writer.
Field Summary | |
protected java.io.Writer |
writer
The output writer. |
Constructor Summary | |
protected |
WriterHelper()
WriterUtils constructor. |
|
WriterHelper(java.io.Writer writer)
WriterUtils constructor. |
Method Summary | |
void |
attrTag(java.lang.String tagName,
java.util.Map attributes)
attrTag purpose. |
void |
closeTag(java.lang.String tagName)
closeTag purpose. |
void |
comment(java.lang.String comment)
comment purpose. |
void |
openTag(java.lang.String tagName)
openTag purpose. |
void |
openTag(java.lang.String tagName,
java.util.Map attributes)
openTag purpose. |
void |
textTag(java.lang.String tagName,
java.util.Map attributes,
java.lang.String data)
textTag purpose. |
void |
textTag(java.lang.String tagName,
java.lang.String data)
textTag purpose. |
void |
valueTag(java.lang.String tagName,
java.lang.String value)
valueTag purpose. |
void |
write(java.lang.String s)
write purpose. |
void |
writeln(java.lang.String s)
writeln purpose. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.Writer writer
Constructor Detail |
protected WriterHelper()
Should never be called.
public WriterHelper(java.io.Writer writer)
Stores the specified writer to use for output.
writer
- the writer which will be used for outputing the xml.Method Detail |
public void write(java.lang.String s) throws ConfigurationException
Writes the String specified to the stored output writer.
s
- The String to write.
ConfigurationException
- When an IO exception occurs.public void writeln(java.lang.String s) throws ConfigurationException
Writes the String specified to the stored output writer.
s
- The String to write.
ConfigurationException
- When an IO exception occurs.public void openTag(java.lang.String tagName) throws ConfigurationException
Writes an open xml tag with the name specified to the stored output writer.
tagName
- The tag name to write.
ConfigurationException
- When an IO exception occurs.public void openTag(java.lang.String tagName, java.util.Map attributes) throws ConfigurationException
Writes an open xml tag with the name and attributes specified to the stored output writer.
tagName
- The tag name to write.attributes
- The tag attributes to write.
ConfigurationException
- When an IO exception occurs.public void closeTag(java.lang.String tagName) throws ConfigurationException
Writes an close xml tag with the name specified to the stored output writer.
tagName
- The tag name to write.
ConfigurationException
- When an IO exception occurs.public void textTag(java.lang.String tagName, java.lang.String data) throws ConfigurationException
Writes a text xml tag with the name and text specified to the stored output writer.
tagName
- The tag name to write.data
- The text data to write.
ConfigurationException
- When an IO exception occurs.public void valueTag(java.lang.String tagName, java.lang.String value) throws ConfigurationException
Writes an xml tag with the name and value specified to the stored output writer.
tagName
- The tag name to write.value
- The text data to write.
ConfigurationException
- When an IO exception occurs.public void attrTag(java.lang.String tagName, java.util.Map attributes) throws ConfigurationException
Writes an xml tag with the name and attributes specified to the stored output writer.
tagName
- The tag name to write.attributes
- The tag attributes to write.
ConfigurationException
- When an IO exception occurs.public void textTag(java.lang.String tagName, java.util.Map attributes, java.lang.String data) throws ConfigurationException
Writes an xml tag with the name, text and attributes specified to the stored output writer.
tagName
- The tag name to write.attributes
- The tag attributes to write.data
- The tag text to write.
ConfigurationException
- When an IO exception occurs.public void comment(java.lang.String comment) throws ConfigurationException
Writes an xml comment with the text specified to the stored output writer.
comment
- The comment text to write.
ConfigurationException
- When an IO exception occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |