Pepper  3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
org.corpus_tools.pepper.util.XMLStreamWriter Class Reference

This class is just a delegator class for a XMLStreamWriter with a pretty printing possibility. More...

Inherits XMLStreamWriter.

Public Member Functions

String getIntend ()
 Returns the intend character(s) for pretty printing. More...
 
void setIntend (String intend)
 Set the intend character(s) for pretty printing. More...
 
Boolean getPrettyPrint ()
 Returns whether xml should be pretty printed. More...
 
void setPrettyPrint (Boolean prettyPrint)
 Sets whether the xml should be pretty printed. More...
 
 XMLStreamWriter (javax.xml.stream.XMLStreamWriter xmlStreamWriter)
 
void close () throws XMLStreamException
 
void flush () throws XMLStreamException
 
NamespaceContext getNamespaceContext ()
 
String getPrefix (String uri) throws XMLStreamException
 
Object getProperty (String name) throws IllegalArgumentException
 
void setDefaultNamespace (String uri) throws XMLStreamException
 
void setNamespaceContext (NamespaceContext context) throws XMLStreamException
 
void setPrefix (String prefix, String uri) throws XMLStreamException
 
void writeAttribute (String localName, String value) throws XMLStreamException
 
void writeAttribute (String namespaceURI, String localName, String value) throws XMLStreamException
 
void writeAttribute (String prefix, String namespaceURI, String localName, String value) throws XMLStreamException
 
void writeCData (String data) throws XMLStreamException
 
void writeCharacters (String text) throws XMLStreamException
 
void writeCharacters (char[] text, int start, int len) throws XMLStreamException
 
void writeComment (String data) throws XMLStreamException
 
void writeDTD (String dtd) throws XMLStreamException
 
void writeDefaultNamespace (String namespaceURI) throws XMLStreamException
 
void writeEmptyElement (String localName) throws XMLStreamException
 
void writeEmptyElement (String namespaceURI, String localName) throws XMLStreamException
 
void writeEmptyElement (String prefix, String localName, String namespaceURI) throws XMLStreamException
 
void writeEndDocument () throws XMLStreamException
 
void writeEndElement () throws XMLStreamException
 
void writeEntityRef (String name) throws XMLStreamException
 
void writeNamespace (String prefix, String namespaceURI) throws XMLStreamException
 
void writeProcessingInstruction (String target) throws XMLStreamException
 
void writeProcessingInstruction (String target, String data) throws XMLStreamException
 
void writeStartDocument () throws XMLStreamException
 
void writeStartDocument (String version) throws XMLStreamException
 
void writeStartDocument (String encoding, String version) throws XMLStreamException
 
void writeStartElement (String localName) throws XMLStreamException
 
void writeStartElement (String namespaceURI, String localName) throws XMLStreamException
 
void writeStartElement (String prefix, String localName, String namespaceURI) throws XMLStreamException
 

Detailed Description

This class is just a delegator class for a XMLStreamWriter with a pretty printing possibility.

Author
Florian Zipser

Member Function Documentation

◆ getIntend()

String org.corpus_tools.pepper.util.XMLStreamWriter.getIntend ( )

Returns the intend character(s) for pretty printing.

Default is XMLStreamWriter#INTEND.

Parameters
intend

◆ getPrettyPrint()

Boolean org.corpus_tools.pepper.util.XMLStreamWriter.getPrettyPrint ( )

Returns whether xml should be pretty printed.

Returns

◆ setIntend()

void org.corpus_tools.pepper.util.XMLStreamWriter.setIntend ( String  intend)

Set the intend character(s) for pretty printing.

Default is XMLStreamWriter#INTEND.

Parameters
intend

◆ setPrettyPrint()

void org.corpus_tools.pepper.util.XMLStreamWriter.setPrettyPrint ( Boolean  prettyPrint)

Sets whether the xml should be pretty printed.

Parameters
prettyPrint