org.milyn.delivery.sax
Class WriterUtil

java.lang.Object
  extended by org.milyn.delivery.sax.WriterUtil

public class WriterUtil
extends Object

SAXElement writing/serialization utility class.

Author:
tom.fennelly@gmail.com

Constructor Summary
WriterUtil()
           
 
Method Summary
static void writeEmptyElement(SAXElement element, Writer writer)
           
static void writeEndElement(SAXElement element, Writer writer)
           
static void writeStartElement(SAXElement element, Writer writer)
           
static void writeText(String text, TextType textType, Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterUtil

public WriterUtil()
Method Detail

writeEmptyElement

public static void writeEmptyElement(SAXElement element,
                                     Writer writer)
                              throws IOException
Throws:
IOException

writeStartElement

public static void writeStartElement(SAXElement element,
                                     Writer writer)
                              throws IOException
Throws:
IOException

writeEndElement

public static void writeEndElement(SAXElement element,
                                   Writer writer)
                            throws IOException
Throws:
IOException

writeText

public static void writeText(String text,
                             TextType textType,
                             Writer writer)
                      throws IOException
Throws:
IOException


Copyright © 2008. All Rights Reserved.