javax.xml.stream
Interface XMLStreamWriter
public interface XMLStreamWriter
Method Summary |
void |
close()
|
void |
flush()
|
NamespaceContext |
getNamespaceContext()
|
String |
getPrefix(String uri)
|
Object |
getProperty(String name)
|
void |
setDefaultNamespace(String uri)
|
void |
setNamespaceContext(NamespaceContext context)
|
void |
setPrefix(String prefix,
String uri)
|
void |
writeAttribute(String localName,
String value)
|
void |
writeAttribute(String namespaceURI,
String localName,
String value)
|
void |
writeAttribute(String prefix,
String namespaceURI,
String localName,
String value)
|
void |
writeCData(String data)
|
void |
writeCharacters(char[] text,
int start,
int len)
|
void |
writeCharacters(String text)
|
void |
writeComment(String data)
|
void |
writeDefaultNamespace(String namespaceURI)
|
void |
writeDTD(String dtd)
|
void |
writeEmptyElement(String localName)
|
void |
writeEmptyElement(String namespaceURI,
String localName)
|
void |
writeEmptyElement(String prefix,
String localName,
String namespaceURI)
|
void |
writeEndDocument()
|
void |
writeEndElement()
|
void |
writeEntityRef(String name)
|
void |
writeNamespace(String prefix,
String namespaceURI)
|
void |
writeProcessingInstruction(String target)
|
void |
writeProcessingInstruction(String target,
String data)
|
void |
writeStartDocument()
|
void |
writeStartDocument(String version)
|
void |
writeStartDocument(String encoding,
String version)
|
void |
writeStartElement(String localName)
|
void |
writeStartElement(String namespaceURI,
String localName)
|
void |
writeStartElement(String prefix,
String localName,
String namespaceURI)
|
close
void close()
throws XMLStreamException
- Throws:
XMLStreamException
flush
void flush()
throws XMLStreamException
- Throws:
XMLStreamException
getNamespaceContext
NamespaceContext getNamespaceContext()
getPrefix
String getPrefix(String uri)
throws XMLStreamException
- Throws:
XMLStreamException
getProperty
Object getProperty(String name)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
setDefaultNamespace
void setDefaultNamespace(String uri)
throws XMLStreamException
- Throws:
XMLStreamException
setNamespaceContext
void setNamespaceContext(NamespaceContext context)
throws XMLStreamException
- Throws:
XMLStreamException
setPrefix
void setPrefix(String prefix,
String uri)
throws XMLStreamException
- Throws:
XMLStreamException
writeAttribute
void writeAttribute(String localName,
String value)
throws XMLStreamException
- Throws:
XMLStreamException
writeAttribute
void writeAttribute(String namespaceURI,
String localName,
String value)
throws XMLStreamException
- Throws:
XMLStreamException
writeAttribute
void writeAttribute(String prefix,
String namespaceURI,
String localName,
String value)
throws XMLStreamException
- Throws:
XMLStreamException
writeCData
void writeCData(String data)
throws XMLStreamException
- Throws:
XMLStreamException
writeCharacters
void writeCharacters(char[] text,
int start,
int len)
throws XMLStreamException
- Throws:
XMLStreamException
writeCharacters
void writeCharacters(String text)
throws XMLStreamException
- Throws:
XMLStreamException
writeComment
void writeComment(String data)
throws XMLStreamException
- Throws:
XMLStreamException
writeDefaultNamespace
void writeDefaultNamespace(String namespaceURI)
throws XMLStreamException
- Throws:
XMLStreamException
writeDTD
void writeDTD(String dtd)
throws XMLStreamException
- Throws:
XMLStreamException
writeEmptyElement
void writeEmptyElement(String localName)
throws XMLStreamException
- Throws:
XMLStreamException
writeEmptyElement
void writeEmptyElement(String namespaceURI,
String localName)
throws XMLStreamException
- Throws:
XMLStreamException
writeEmptyElement
void writeEmptyElement(String prefix,
String localName,
String namespaceURI)
throws XMLStreamException
- Throws:
XMLStreamException
writeEndDocument
void writeEndDocument()
throws XMLStreamException
- Throws:
XMLStreamException
writeEndElement
void writeEndElement()
throws XMLStreamException
- Throws:
XMLStreamException
writeEntityRef
void writeEntityRef(String name)
throws XMLStreamException
- Throws:
XMLStreamException
writeNamespace
void writeNamespace(String prefix,
String namespaceURI)
throws XMLStreamException
- Throws:
XMLStreamException
writeProcessingInstruction
void writeProcessingInstruction(String target)
throws XMLStreamException
- Throws:
XMLStreamException
writeProcessingInstruction
void writeProcessingInstruction(String target,
String data)
throws XMLStreamException
- Throws:
XMLStreamException
writeStartDocument
void writeStartDocument()
throws XMLStreamException
- Throws:
XMLStreamException
writeStartDocument
void writeStartDocument(String version)
throws XMLStreamException
- Throws:
XMLStreamException
writeStartDocument
void writeStartDocument(String encoding,
String version)
throws XMLStreamException
- Throws:
XMLStreamException
writeStartElement
void writeStartElement(String localName)
throws XMLStreamException
- Throws:
XMLStreamException
writeStartElement
void writeStartElement(String namespaceURI,
String localName)
throws XMLStreamException
- Throws:
XMLStreamException
writeStartElement
void writeStartElement(String prefix,
String localName,
String namespaceURI)
throws XMLStreamException
- Throws:
XMLStreamException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.