Jettison 1.3.1-redhat-2

org.codehaus.jettison.badgerfish
Class BadgerFishXMLStreamWriter

java.lang.Object
  extended by org.codehaus.jettison.AbstractXMLStreamWriter
      extended by org.codehaus.jettison.badgerfish.BadgerFishXMLStreamWriter
All Implemented Interfaces:
javax.xml.stream.XMLStreamWriter

public class BadgerFishXMLStreamWriter
extends AbstractXMLStreamWriter


Constructor Summary
BadgerFishXMLStreamWriter(Writer writer)
           
 
Method Summary
 void close()
           
 void flush()
           
 NamespaceContext getNamespaceContext()
           
 String getPrefix(String ns)
           
 Object getProperty(String arg0)
           
 void setDefaultNamespace(String arg0)
           
 void setNamespaceContext(NamespaceContext context)
           
 void setPrefix(String arg0, String arg1)
           
 void writeAttribute(String local, String value)
           
 void writeAttribute(String ns, String local, String value)
           
 void writeAttribute(String p, String ns, String local, String value)
           
 void writeCharacters(String text)
           
 void writeDefaultNamespace(String ns)
           
 void writeEndDocument()
           
 void writeEndElement()
           
 void writeEntityRef(String arg0)
           
 void writeNamespace(String prefix, String ns)
           
 void writeProcessingInstruction(String arg0)
           
 void writeProcessingInstruction(String arg0, String arg1)
           
 void writeStartDocument()
           
 void writeStartElement(String prefix, String local, String ns)
           
 
Methods inherited from class org.codehaus.jettison.AbstractXMLStreamWriter
getSerializedAsArrays, serializeAsArray, seriliazeAsArray, writeCData, writeCharacters, writeComment, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BadgerFishXMLStreamWriter

public BadgerFishXMLStreamWriter(Writer writer)
Method Detail

close

public void close()
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

flush

public void flush()
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getNamespaceContext

public NamespaceContext getNamespaceContext()

getPrefix

public String getPrefix(String ns)
                 throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getProperty

public Object getProperty(String arg0)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException

setDefaultNamespace

public void setDefaultNamespace(String arg0)
                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

setNamespaceContext

public void setNamespaceContext(NamespaceContext context)
                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

setPrefix

public void setPrefix(String arg0,
                      String arg1)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeAttribute

public void writeAttribute(String p,
                           String ns,
                           String local,
                           String value)
                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeAttribute

public void writeAttribute(String ns,
                           String local,
                           String value)
                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeAttribute

public void writeAttribute(String local,
                           String value)
                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeCharacters

public void writeCharacters(String text)
                     throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeDefaultNamespace

public void writeDefaultNamespace(String ns)
                           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeEndElement

public void writeEndElement()
                     throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeEntityRef

public void writeEntityRef(String arg0)
                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeNamespace

public void writeNamespace(String prefix,
                           String ns)
                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeProcessingInstruction

public void writeProcessingInstruction(String arg0,
                                       String arg1)
                                throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeProcessingInstruction

public void writeProcessingInstruction(String arg0)
                                throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeStartDocument

public void writeStartDocument()
                        throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

writeEndDocument

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

writeStartElement

public void writeStartElement(String prefix,
                              String local,
                              String ns)
                       throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

Jettison 1.3.1-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.