net.sf.csutils.groovy.xml
Class XmlTemplateEngineStreamWriter

java.lang.Object
  extended by net.sf.csutils.groovy.xml.XmlTemplateEngineStreamWriter
All Implemented Interfaces:
javax.xml.stream.XMLStreamWriter

public class XmlTemplateEngineStreamWriter
extends Object
implements javax.xml.stream.XMLStreamWriter


Constructor Summary
XmlTemplateEngineStreamWriter(OutputStream pStream)
           
XmlTemplateEngineStreamWriter(StreamResult pResult)
           
XmlTemplateEngineStreamWriter(Writer pWriter)
           
 
Method Summary
 void close()
           
 void declarePrefix(String pPrefix, String pNamespaceURI)
           
 void flush()
           
 NamespaceContext getNamespaceContext()
           
 String getPrefix(String arg0)
           
 Object getProperty(String arg0)
           
 QName getQName(String pName)
           
 void setDefaultNamespace(String arg0)
           
 void setNamespaceContext(NamespaceContext arg0)
           
 void setPrefix(String arg0, String arg1)
           
 void startElement()
           
 void writeAttribute(String arg0, String arg1)
           
 void writeAttribute(String arg0, String arg1, String arg2)
           
 void writeAttribute(String arg0, String arg1, String arg2, String arg3)
           
 void writeCData(String arg0)
           
 void writeCharacters(char[] arg0, int arg1, int arg2)
           
 void writeCharacters(String arg0)
           
 void writeComment(String arg0)
           
 void writeDefaultNamespace(String arg0)
           
 void writeDTD(String arg0)
           
 void writeEmptyElement(String arg0)
           
 void writeEmptyElement(String arg0, String arg1)
           
 void writeEmptyElement(String arg0, String arg1, String arg2)
           
 void writeEndDocument()
           
 void writeEndElement()
           
 void writeEntityRef(String arg0)
           
 void writeNamespace(String arg0, String arg1)
           
 void writeProcessingInstruction(String arg0)
           
 void writeProcessingInstruction(String arg0, String arg1)
           
 void writeStartDocument()
           
 void writeStartDocument(String arg0)
           
 void writeStartDocument(String arg0, String arg1)
           
 void writeStartElement(String arg0)
           
 void writeStartElement(String arg0, String arg1)
           
 void writeStartElement(String arg0, String arg1, String arg2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlTemplateEngineStreamWriter

public XmlTemplateEngineStreamWriter(OutputStream pStream)
                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

XmlTemplateEngineStreamWriter

public XmlTemplateEngineStreamWriter(Writer pWriter)
                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

XmlTemplateEngineStreamWriter

public XmlTemplateEngineStreamWriter(StreamResult pResult)
                              throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException
Method Detail

close

public void close()
           throws javax.xml.stream.XMLStreamException
Specified by:
close in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

flush

public void flush()
           throws javax.xml.stream.XMLStreamException
Specified by:
flush in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

getNamespaceContext

public NamespaceContext getNamespaceContext()
Specified by:
getNamespaceContext in interface javax.xml.stream.XMLStreamWriter

getPrefix

public String getPrefix(String arg0)
                 throws javax.xml.stream.XMLStreamException
Specified by:
getPrefix in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

getProperty

public Object getProperty(String arg0)
                   throws IllegalArgumentException
Specified by:
getProperty in interface javax.xml.stream.XMLStreamWriter
Throws:
IllegalArgumentException

setDefaultNamespace

public void setDefaultNamespace(String arg0)
                         throws javax.xml.stream.XMLStreamException
Specified by:
setDefaultNamespace in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

setNamespaceContext

public void setNamespaceContext(NamespaceContext arg0)
                         throws javax.xml.stream.XMLStreamException
Specified by:
setNamespaceContext in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

setPrefix

public void setPrefix(String arg0,
                      String arg1)
               throws javax.xml.stream.XMLStreamException
Specified by:
setPrefix in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeAttribute

public void writeAttribute(String arg0,
                           String arg1,
                           String arg2,
                           String arg3)
                    throws javax.xml.stream.XMLStreamException
Specified by:
writeAttribute in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeAttribute

public void writeAttribute(String arg0,
                           String arg1,
                           String arg2)
                    throws javax.xml.stream.XMLStreamException
Specified by:
writeAttribute in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeAttribute

public void writeAttribute(String arg0,
                           String arg1)
                    throws javax.xml.stream.XMLStreamException
Specified by:
writeAttribute in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeCData

public void writeCData(String arg0)
                throws javax.xml.stream.XMLStreamException
Specified by:
writeCData in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeCharacters

public void writeCharacters(char[] arg0,
                            int arg1,
                            int arg2)
                     throws javax.xml.stream.XMLStreamException
Specified by:
writeCharacters in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeCharacters

public void writeCharacters(String arg0)
                     throws javax.xml.stream.XMLStreamException
Specified by:
writeCharacters in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeComment

public void writeComment(String arg0)
                  throws javax.xml.stream.XMLStreamException
Specified by:
writeComment in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeDTD

public void writeDTD(String arg0)
              throws javax.xml.stream.XMLStreamException
Specified by:
writeDTD in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeDefaultNamespace

public void writeDefaultNamespace(String arg0)
                           throws javax.xml.stream.XMLStreamException
Specified by:
writeDefaultNamespace in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeEmptyElement

public void writeEmptyElement(String arg0,
                              String arg1,
                              String arg2)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeEmptyElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeEmptyElement

public void writeEmptyElement(String arg0,
                              String arg1)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeEmptyElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeEmptyElement

public void writeEmptyElement(String arg0)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeEmptyElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeEndDocument

public void writeEndDocument()
                      throws javax.xml.stream.XMLStreamException
Specified by:
writeEndDocument in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeEndElement

public void writeEndElement()
                     throws javax.xml.stream.XMLStreamException
Specified by:
writeEndElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeEntityRef

public void writeEntityRef(String arg0)
                    throws javax.xml.stream.XMLStreamException
Specified by:
writeEntityRef in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeNamespace

public void writeNamespace(String arg0,
                           String arg1)
                    throws javax.xml.stream.XMLStreamException
Specified by:
writeNamespace in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeProcessingInstruction

public void writeProcessingInstruction(String arg0,
                                       String arg1)
                                throws javax.xml.stream.XMLStreamException
Specified by:
writeProcessingInstruction in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeProcessingInstruction

public void writeProcessingInstruction(String arg0)
                                throws javax.xml.stream.XMLStreamException
Specified by:
writeProcessingInstruction in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartDocument

public void writeStartDocument()
                        throws javax.xml.stream.XMLStreamException
Specified by:
writeStartDocument in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartDocument

public void writeStartDocument(String arg0,
                               String arg1)
                        throws javax.xml.stream.XMLStreamException
Specified by:
writeStartDocument in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartDocument

public void writeStartDocument(String arg0)
                        throws javax.xml.stream.XMLStreamException
Specified by:
writeStartDocument in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartElement

public void writeStartElement(String arg0,
                              String arg1,
                              String arg2)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeStartElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartElement

public void writeStartElement(String arg0,
                              String arg1)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeStartElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

writeStartElement

public void writeStartElement(String arg0)
                       throws javax.xml.stream.XMLStreamException
Specified by:
writeStartElement in interface javax.xml.stream.XMLStreamWriter
Throws:
javax.xml.stream.XMLStreamException

startElement

public void startElement()

declarePrefix

public void declarePrefix(String pPrefix,
                          String pNamespaceURI)

getQName

public QName getQName(String pName)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2009-2010. All Rights Reserved.