Package org.apache.abdera.writer
Interface StreamWriter
-
- All Superinterfaces:
java.lang.Appendable
,java.lang.AutoCloseable
,java.io.Closeable
,NamedItem
- All Known Implementing Classes:
AbstractStreamWriter
,StreamBuilder
@Deprecated(since="2021-07-29") public interface StreamWriter extends NamedItem, java.lang.Appendable, java.io.Closeable
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.The StreamWriter interface provides a for producing Atom documents based on a streaming api. This approach provides a lightweight alternative to building up an object model. The StreamWriter is NOT synchronized and is NOT threadsafe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StreamWriter
endAuthor()
Deprecated.End the atom:author elementStreamWriter
endCategories()
Deprecated.End the app:categories elementStreamWriter
endCategory()
Deprecated.End the atom:categoryStreamWriter
endCollection()
Deprecated.End an app:collection elementStreamWriter
endContent()
Deprecated.End the atom:content elementStreamWriter
endContributor()
Deprecated.End an atom:contributor elementStreamWriter
endControl()
Deprecated.End the app:control elementStreamWriter
endDocument()
Deprecated.End the documentStreamWriter
endElement()
Deprecated.End the elementStreamWriter
endEntry()
Deprecated.End the atom:entry elementStreamWriter
endFeed()
Deprecated.End the atom:feed elementStreamWriter
endGenerator()
Deprecated.End the atom:generator elementStreamWriter
endLink()
Deprecated.End the atom:linkStreamWriter
endPerson()
Deprecated.End the person elementStreamWriter
endService()
Deprecated.End an app:service elementStreamWriter
endSource()
Deprecated.End the atom:sourceStreamWriter
endWorkspace()
Deprecated.End an app:workspace elementStreamWriter
flush()
Deprecated.StreamWriter
indent()
Deprecated.Write a new line and indentStreamWriter
setAutoclose(boolean auto)
Deprecated.True if the StreamWriter should autoclose the buffer after calling endDocumentStreamWriter
setAutoflush(boolean auto)
Deprecated.True if the StreamWriter should autoflush the bufferStreamWriter
setAutoIndent(boolean indent)
Deprecated.True to enable automatic indentingStreamWriter
setChannel(java.nio.channels.WritableByteChannel channel)
Deprecated.Set the target WritableByteChannelStreamWriter
setChannel(java.nio.channels.WritableByteChannel channel, java.lang.String charset)
Deprecated.Set the target WritableByteChannelStreamWriter
setOutputStream(java.io.OutputStream out)
Deprecated.Set the target java.io.OutputStreamStreamWriter
setOutputStream(java.io.OutputStream out, java.lang.String charset)
Deprecated.Set the target java.io.OutputStreamStreamWriter
setPrefix(java.lang.String prefix, java.lang.String uri)
Deprecated.Specify the namespace prefixStreamWriter
setWriter(java.io.Writer writer)
Deprecated.Set the target java.io.WriterStreamWriter
startAuthor()
Deprecated.Start an atom:author elementStreamWriter
startCategories()
Deprecated.Start an app:categories elementStreamWriter
startCategories(boolean fixed)
Deprecated.Start an app:categories elementStreamWriter
startCategories(boolean fixed, java.lang.String scheme)
Deprecated.Start an app:categories elementStreamWriter
startCategory(java.lang.String term)
Deprecated.Start an atom:category elementStreamWriter
startCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Start an atom:category elementStreamWriter
startCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Start an atom:category elementStreamWriter
startCollection(java.lang.String href)
Deprecated.Start an app:collection elementStreamWriter
startContent(java.lang.String type)
Deprecated.Start an atom:content elementStreamWriter
startContent(java.lang.String type, java.lang.String src)
Deprecated.Start an atom:content elementStreamWriter
startContent(Content.Type type)
Deprecated.Start an atom:content elementStreamWriter
startContent(Content.Type type, java.lang.String src)
Deprecated.Start an atom:content elementStreamWriter
startContributor()
Deprecated.Start an atom:contributor elementStreamWriter
startControl()
Deprecated.Start the app:control elementStreamWriter
startDocument()
Deprecated.Start the documentStreamWriter
startDocument(java.lang.String xmlversion)
Deprecated.Start the documentStreamWriter
startDocument(java.lang.String xmlversion, java.lang.String charset)
Deprecated.Start the documentStreamWriter
startElement(java.lang.String name)
Deprecated.Start an elementStreamWriter
startElement(java.lang.String name, java.lang.String namespace)
Deprecated.Start an elementStreamWriter
startElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Start an elementStreamWriter
startElement(javax.xml.namespace.QName qname)
Deprecated.Start an elementStreamWriter
startEntry()
Deprecated.Start an atom:entry elementStreamWriter
startFeed()
Deprecated.Start an atom:feed elementStreamWriter
startGenerator(java.lang.String version, java.lang.String uri)
Deprecated.Start an atom:generator elementStreamWriter
startLink(java.lang.String iri)
Deprecated.Start an atom:link elementStreamWriter
startLink(java.lang.String iri, java.lang.String rel)
Deprecated.Start an atom:link elementStreamWriter
startLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Start an atom:link elementStreamWriter
startLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
Deprecated.Start an atom:link elementStreamWriter
startPerson(java.lang.String name)
Deprecated.Start a person elementStreamWriter
startPerson(java.lang.String name, java.lang.String namespace)
Deprecated.Start a person elementStreamWriter
startPerson(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Start a person elementStreamWriter
startPerson(javax.xml.namespace.QName qname)
Deprecated.Start a person elementStreamWriter
startService()
Deprecated.Start an app:service elementStreamWriter
startSource()
Deprecated.Start an atom:source elementStreamWriter
startText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type)
Deprecated.Start a Text elementStreamWriter
startText(java.lang.String name, java.lang.String namespace, Text.Type type)
Deprecated.Start a Text elementStreamWriter
startText(java.lang.String name, Text.Type type)
Deprecated.Start a Text elementStreamWriter
startText(javax.xml.namespace.QName qname, Text.Type type)
Deprecated.Start a Text elementStreamWriter
startWorkspace()
Deprecated.Start an app:workspace elementStreamWriter
writeAccepts(java.lang.String... accepts)
Deprecated.Writes app:accept elementsStreamWriter
writeAcceptsEntry()
Deprecated.Writes an app:accept element indicating that entries are acceptedStreamWriter
writeAcceptsNothing()
Deprecated.Writes an app:accept element indicating that nothing is acceptedStreamWriter
writeAttribute(java.lang.String name, double value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, int value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, long value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, double value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, int value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, long value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, double value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, int value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, long value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.lang.String namespace, java.util.Date value)
Deprecated.Write an attributeStreamWriter
writeAttribute(java.lang.String name, java.util.Date value)
Deprecated.Write an attributeStreamWriter
writeAttribute(javax.xml.namespace.QName qname, double value)
Deprecated.Write an attributeStreamWriter
writeAttribute(javax.xml.namespace.QName qname, int value)
Deprecated.Write an attributeStreamWriter
writeAttribute(javax.xml.namespace.QName qname, long value)
Deprecated.Write an attributeStreamWriter
writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
Deprecated.Write an attributeStreamWriter
writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
Deprecated.Write an attributeStreamWriter
writeAuthor(java.lang.String name)
Deprecated.Write an atom:author elementStreamWriter
writeAuthor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write an atom:author elementStreamWriter
writeBase(java.lang.String iri)
Deprecated.Write the xml:base attributeStreamWriter
writeBase(IRI iri)
Deprecated.Write the xml:base attributeStreamWriter
writeCategory(java.lang.String term)
Deprecated.Write an atom:category elementStreamWriter
writeCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Write an atom:category elementStreamWriter
writeCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Write an atom:category elementStreamWriter
writeComment(java.lang.String value)
Deprecated.Write an XML commentStreamWriter
writeContent(java.lang.String type, java.lang.String value)
Deprecated.Write an atom:content elementStreamWriter
writeContent(Content.Type type, java.io.InputStream value)
Deprecated.Write an atom:content elementStreamWriter
writeContent(Content.Type type, java.lang.String value)
Deprecated.Write an atom:content elementStreamWriter
writeContent(Content.Type type, javax.activation.DataHandler value)
Deprecated.Write an atom:content elementStreamWriter
writeContributor(java.lang.String name)
Deprecated.Write an atom:contributor elementStreamWriter
writeContributor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write an atom:contributor elementStreamWriter
writeDate(java.lang.String name, java.lang.String date)
Deprecated.Write a Date elementStreamWriter
writeDate(java.lang.String name, java.lang.String namespace, java.lang.String date)
Deprecated.Write a Date elementStreamWriter
writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String date)
Deprecated.Write a Date elementStreamWriter
writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date date)
Deprecated.Write a Date elementStreamWriter
writeDate(java.lang.String name, java.lang.String namespace, java.util.Date date)
Deprecated.Write a Date elementStreamWriter
writeDate(java.lang.String name, java.util.Date date)
Deprecated.Write a Date elementStreamWriter
writeDate(javax.xml.namespace.QName qname, java.lang.String date)
Deprecated.Write a Date elementStreamWriter
writeDate(javax.xml.namespace.QName qname, java.util.Date date)
Deprecated.Write a Date elementStreamWriter
writeDraft(boolean draft)
Deprecated.Write an app:draft elementStreamWriter
writeEdited(java.lang.String date)
Deprecated.Write an atom:edited elementStreamWriter
writeEdited(java.util.Date date)
Deprecated.Write an atom:edited elementStreamWriter
writeElementText(double value)
Deprecated.Write element textStreamWriter
writeElementText(int value)
Deprecated.Write element textStreamWriter
writeElementText(long value)
Deprecated.Write element textStreamWriter
writeElementText(java.io.InputStream in)
Deprecated.Write element textStreamWriter
writeElementText(java.lang.String value)
Deprecated.Write element textStreamWriter
writeElementText(java.lang.String format, java.lang.Object... params)
Deprecated.Write element text using FormatterStreamWriter
writeElementText(java.util.Date value)
Deprecated.Write element textStreamWriter
writeElementText(javax.activation.DataHandler datahandler)
Deprecated.Write element textStreamWriter
writeGenerator(java.lang.String version, java.lang.String uri, java.lang.String value)
Deprecated.Write an atom:generator elementStreamWriter
writeIcon(java.lang.String iri)
Deprecated.Write an atom:icon elementStreamWriter
writeIcon(IRI iri)
Deprecated.Write an atom:icon elementStreamWriter
writeId()
Deprecated.Write an atom:id element with a new IRI valueStreamWriter
writeId(java.lang.String iri)
Deprecated.Write an atom:id elementStreamWriter
writeId(IRI iri)
Deprecated.Write an atom:id elementStreamWriter
writeIRIElement(java.lang.String name, java.lang.String iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, IRI iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(java.lang.String name, java.lang.String namespace, IRI iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(java.lang.String name, IRI iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(javax.xml.namespace.QName qname, java.lang.String iri)
Deprecated.Write an IRI elementStreamWriter
writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
Deprecated.Write an IRI elementStreamWriter
writeLanguage(java.lang.String lang)
Deprecated.Write the xml:lang attributeStreamWriter
writeLanguage(java.util.Locale locale)
Deprecated.Write the xml:lang attributeStreamWriter
writeLanguage(Lang lang)
Deprecated.Write the xml:lang attributeStreamWriter
writeLink(java.lang.String iri)
Deprecated.Write an atom:link elementStreamWriter
writeLink(java.lang.String iri, java.lang.String rel)
Deprecated.Write an atom:link elementStreamWriter
writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Write an atom:link elementStreamWriter
writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
Deprecated.Write an atom:link elementStreamWriter
writeLogo(java.lang.String iri)
Deprecated.Write an atom:logo elementStreamWriter
writeLogo(IRI iri)
Deprecated.Write an atom:logo elementStreamWriter
writeNamespace(java.lang.String prefix, java.lang.String uri)
Deprecated.Write a namespace declarationStreamWriter
writePerson(java.lang.String localname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person elementStreamWriter
writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person elementStreamWriter
writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String prefix, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person elementStreamWriter
writePerson(javax.xml.namespace.QName qname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person elementStreamWriter
writePersonEmail(java.lang.String email)
Deprecated.Write a person emailStreamWriter
writePersonName(java.lang.String name)
Deprecated.Write a person nameStreamWriter
writePersonUri(java.lang.String uri)
Deprecated.Write a person uriStreamWriter
writePI(java.lang.String value)
Deprecated.Write an XML Processing InstructionStreamWriter
writePI(java.lang.String value, java.lang.String target)
Deprecated.Write an XML Processing InstructionStreamWriter
writePublished(java.lang.String date)
Deprecated.Write an atom:published elementStreamWriter
writePublished(java.util.Date date)
Deprecated.Write an atom:published elementStreamWriter
writeRights(java.lang.String value)
Deprecated.Write an atom:rights elementStreamWriter
writeRights(Text.Type type, java.lang.String value)
Deprecated.Write an atom:rights elementStreamWriter
writeSubtitle(java.lang.String value)
Deprecated.Write an atom:subtitle elementStreamWriter
writeSubtitle(Text.Type type, java.lang.String value)
Deprecated.Write an atom:subtitle elementStreamWriter
writeSummary(java.lang.String value)
Deprecated.Write an atom:summary elementStreamWriter
writeSummary(Text.Type type, java.lang.String value)
Deprecated.Write an atom:summary elementStreamWriter
writeText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamWriter
writeText(java.lang.String name, java.lang.String namespace, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamWriter
writeText(java.lang.String name, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamWriter
writeText(javax.xml.namespace.QName qname, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamWriter
writeTitle(java.lang.String value)
Deprecated.Write an atom:title elementStreamWriter
writeTitle(Text.Type type, java.lang.String value)
Deprecated.Write an atom:title elementStreamWriter
writeUpdated(java.lang.String date)
Deprecated.Write an atom:updated elementStreamWriter
writeUpdated(java.util.Date date)
Deprecated.Write an atom:updated element
-
-
-
Method Detail
-
flush
StreamWriter flush()
Deprecated.
-
setAutoclose
StreamWriter setAutoclose(boolean auto)
Deprecated.True if the StreamWriter should autoclose the buffer after calling endDocument
-
setAutoflush
StreamWriter setAutoflush(boolean auto)
Deprecated.True if the StreamWriter should autoflush the buffer
-
setWriter
StreamWriter setWriter(java.io.Writer writer)
Deprecated.Set the target java.io.Writer
-
setOutputStream
StreamWriter setOutputStream(java.io.OutputStream out)
Deprecated.Set the target java.io.OutputStream
-
setOutputStream
StreamWriter setOutputStream(java.io.OutputStream out, java.lang.String charset)
Deprecated.Set the target java.io.OutputStream
-
setChannel
StreamWriter setChannel(java.nio.channels.WritableByteChannel channel)
Deprecated.Set the target WritableByteChannel
-
setChannel
StreamWriter setChannel(java.nio.channels.WritableByteChannel channel, java.lang.String charset)
Deprecated.Set the target WritableByteChannel
-
startDocument
StreamWriter startDocument(java.lang.String xmlversion, java.lang.String charset)
Deprecated.Start the document- Parameters:
xmlversion
- The XML versioncharset
- the Character Encoding
-
startDocument
StreamWriter startDocument(java.lang.String xmlversion)
Deprecated.Start the document- Parameters:
xmlversion
- The XML version
-
startDocument
StreamWriter startDocument()
Deprecated.Start the document
-
endDocument
StreamWriter endDocument()
Deprecated.End the document
-
startFeed
StreamWriter startFeed()
Deprecated.Start an atom:feed element
-
endFeed
StreamWriter endFeed()
Deprecated.End the atom:feed element
-
startEntry
StreamWriter startEntry()
Deprecated.Start an atom:entry element
-
endEntry
StreamWriter endEntry()
Deprecated.End the atom:entry element
-
writeId
StreamWriter writeId(java.lang.String iri)
Deprecated.Write an atom:id element- Parameters:
iri
- The value
-
writeIcon
StreamWriter writeIcon(java.lang.String iri)
Deprecated.Write an atom:icon element- Parameters:
iri
- The value
-
writeLogo
StreamWriter writeLogo(java.lang.String iri)
Deprecated.Write an atom:logo element- Parameters:
iri
- The value
-
writeIRIElement
StreamWriter writeIRIElement(javax.xml.namespace.QName qname, java.lang.String iri)
Deprecated.Write an IRI element- Parameters:
iri
- The value
-
writeIRIElement
StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String iri)
Deprecated.Write an IRI element- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to write
-
writeIRIElement
StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String iri)
Deprecated.Write an IRI element- Parameters:
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to write
-
writeIRIElement
StreamWriter writeIRIElement(java.lang.String name, java.lang.String iri)
Deprecated.Write an IRI element- Parameters:
name
- The element localnameiri
- the IRI to write
-
writeId
StreamWriter writeId(IRI iri)
Deprecated.Write an atom:id element- Parameters:
iri
- The value
-
writeIcon
StreamWriter writeIcon(IRI iri)
Deprecated.Write an atom:icon element- Parameters:
iri
- The value
-
writeLogo
StreamWriter writeLogo(IRI iri)
Deprecated.Write an atom:logo element- Parameters:
iri
- The value
-
writeIRIElement
StreamWriter writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
Deprecated.Write an IRI element- Parameters:
iri
- The value
-
writeIRIElement
StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, IRI iri)
Deprecated.Write an IRI element- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to write
-
writeIRIElement
StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, IRI iri)
Deprecated.Write an IRI element- Parameters:
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to write
-
writeIRIElement
StreamWriter writeIRIElement(java.lang.String name, IRI iri)
Deprecated.Write an IRI element- Parameters:
name
- The element localnameiri
- the IRI to write
-
writeId
StreamWriter writeId()
Deprecated.Write an atom:id element with a new IRI value- Parameters:
iri
- The value
-
writeUpdated
StreamWriter writeUpdated(java.util.Date date)
Deprecated.Write an atom:updated element- Parameters:
date
- The date value
-
writePublished
StreamWriter writePublished(java.util.Date date)
Deprecated.Write an atom:published element- Parameters:
date
- The date value
-
writeEdited
StreamWriter writeEdited(java.util.Date date)
Deprecated.Write an atom:edited element- Parameters:
date
- The date value
-
writeDate
StreamWriter writeDate(javax.xml.namespace.QName qname, java.util.Date date)
Deprecated.Write a Date element- Parameters:
qname
- The element qnamedate
- The date value
-
writeDate
StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date date)
Deprecated.Write a Date element- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date value
-
writeDate
StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.util.Date date)
Deprecated.Write a Date element- Parameters:
name
- The element localnamenamespace
- The element namespacedate
- The date value
-
writeDate
StreamWriter writeDate(java.lang.String name, java.util.Date date)
Deprecated.Write a Date element- Parameters:
name
- The element localnamedate
- The date value
-
writeUpdated
StreamWriter writeUpdated(java.lang.String date)
Deprecated.Write an atom:updated element- Parameters:
date
- The date value
-
writePublished
StreamWriter writePublished(java.lang.String date)
Deprecated.Write an atom:published element- Parameters:
date
- The date value
-
writeEdited
StreamWriter writeEdited(java.lang.String date)
Deprecated.Write an atom:edited element- Parameters:
date
- The date value
-
writeDate
StreamWriter writeDate(javax.xml.namespace.QName qname, java.lang.String date)
Deprecated.Write a Date element- Parameters:
qname
- The element qnamedate
- The date value
-
writeDate
StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String date)
Deprecated.Write a Date element- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date value
-
writeDate
StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String date)
Deprecated.Write a Date element- Parameters:
name
- The element localnamenamespace
- The element namespacedate
- The date value
-
writeDate
StreamWriter writeDate(java.lang.String name, java.lang.String date)
Deprecated.Write a Date element- Parameters:
name
- The element localnamedate
- The date value
-
endPerson
StreamWriter endPerson()
Deprecated.End the person element
-
endLink
StreamWriter endLink()
Deprecated.End the atom:link
-
writeLink
StreamWriter writeLink(java.lang.String iri)
Deprecated.Write an atom:link element- Parameters:
iri
- The href value
-
writeLink
StreamWriter writeLink(java.lang.String iri, java.lang.String rel)
Deprecated.Write an atom:link element- Parameters:
iri
- The href valuerel
- The rel value
-
writeLink
StreamWriter writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Write an atom:link element- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type value
-
writeLink
StreamWriter writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
Deprecated.Write an atom:link element- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link length
-
startLink
StreamWriter startLink(java.lang.String iri)
Deprecated.Start an atom:link element- Parameters:
iri
- The href value
-
startLink
StreamWriter startLink(java.lang.String iri, java.lang.String rel)
Deprecated.Start an atom:link element- Parameters:
iri
- The href valuerel
- The rel value
-
startLink
StreamWriter startLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Start an atom:link element- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type value
-
startLink
StreamWriter startLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
Deprecated.Start an atom:link element- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link length
-
endCategory
StreamWriter endCategory()
Deprecated.End the atom:category
-
writeCategory
StreamWriter writeCategory(java.lang.String term)
Deprecated.Write an atom:category element- Parameters:
term
- The term value
-
writeCategory
StreamWriter writeCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Write an atom:category element- Parameters:
term
- The term valuescheme
- The term value
-
writeCategory
StreamWriter writeCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Write an atom:category element- Parameters:
term
- The term valuescheme
- The term valuelabel
- The term value
-
startCategory
StreamWriter startCategory(java.lang.String term)
Deprecated.Start an atom:category element- Parameters:
term
- The term value
-
startCategory
StreamWriter startCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Start an atom:category element- Parameters:
term
- The term valuescheme
- The term value
-
startCategory
StreamWriter startCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Start an atom:category element- Parameters:
term
- The term valuescheme
- The term valuelabel
- The term value
-
startSource
StreamWriter startSource()
Deprecated.Start an atom:source element
-
endSource
StreamWriter endSource()
Deprecated.End the atom:source
-
writeText
StreamWriter writeText(javax.xml.namespace.QName qname, Text.Type type, java.lang.String value)
Deprecated.Write a Text element- Parameters:
qname
- The element qnametype
- The text typevalue
- The text value
-
writeText
StreamWriter writeText(java.lang.String name, Text.Type type, java.lang.String value)
Deprecated.Write a Text element- Parameters:
name
- The element nametype
- The text typevalue
- The text value
-
writeText
StreamWriter writeText(java.lang.String name, java.lang.String namespace, Text.Type type, java.lang.String value)
Deprecated.Write a Text element- Parameters:
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text value
-
writeText
StreamWriter writeText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type, java.lang.String value)
Deprecated.Write a Text element- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text value
-
startText
StreamWriter startText(javax.xml.namespace.QName qname, Text.Type type)
Deprecated.Start a Text element- Parameters:
qname
- The element qnametype
- The text type
-
startText
StreamWriter startText(java.lang.String name, Text.Type type)
Deprecated.Start a Text element- Parameters:
name
- The element nametype
- The text typevalue
- The text value
-
startText
StreamWriter startText(java.lang.String name, java.lang.String namespace, Text.Type type)
Deprecated.Start a Text element- Parameters:
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text value
-
startText
StreamWriter startText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type)
Deprecated.Start a Text element- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text value
-
endContent
StreamWriter endContent()
Deprecated.End the atom:content element
-
writeContent
StreamWriter writeContent(Content.Type type, java.lang.String value)
Deprecated.Write an atom:content element- Parameters:
type
- The text typevalue
- The text value
-
writeContent
StreamWriter writeContent(Content.Type type, java.io.InputStream value) throws java.io.IOException
Deprecated.Write an atom:content element- Parameters:
type
- The text typevalue
- The text value- Throws:
java.io.IOException
-
writeContent
StreamWriter writeContent(Content.Type type, javax.activation.DataHandler value) throws java.io.IOException
Deprecated.Write an atom:content element- Parameters:
type
- The text typevalue
- The text value- Throws:
java.io.IOException
-
writeContent
StreamWriter writeContent(java.lang.String type, java.lang.String value)
Deprecated.Write an atom:content element- Parameters:
type
- The text typevalue
- The text value
-
startContent
StreamWriter startContent(Content.Type type)
Deprecated.Start an atom:content element- Parameters:
type
- The text type
-
startContent
StreamWriter startContent(java.lang.String type)
Deprecated.Start an atom:content element- Parameters:
type
- The text type
-
startContent
StreamWriter startContent(Content.Type type, java.lang.String src)
Deprecated.Start an atom:content element- Parameters:
type
- The text typesrc
- The src value
-
startContent
StreamWriter startContent(java.lang.String type, java.lang.String src)
Deprecated.Start an atom:content element- Parameters:
type
- The text typesrc
- The src value
-
startElement
StreamWriter startElement(javax.xml.namespace.QName qname)
Deprecated.Start an element- Parameters:
qname
- Element qname
-
startElement
StreamWriter startElement(java.lang.String name)
Deprecated.Start an element
-
startElement
StreamWriter startElement(java.lang.String name, java.lang.String namespace)
Deprecated.Start an element
-
startElement
StreamWriter startElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Start an element
-
writeElementText
StreamWriter writeElementText(java.lang.String format, java.lang.Object... params)
Deprecated.Write element text using Formatter- Parameters:
format
-params
-
-
writeElementText
StreamWriter writeElementText(java.lang.String value)
Deprecated.Write element text- Parameters:
value
- The text value
-
writeElementText
StreamWriter writeElementText(javax.activation.DataHandler datahandler) throws java.io.IOException
Deprecated.Write element text- Parameters:
datahandler
- The text value- Throws:
java.io.IOException
-
writeElementText
StreamWriter writeElementText(java.io.InputStream in) throws java.io.IOException
Deprecated.Write element text- Parameters:
in
- The text value- Throws:
java.io.IOException
-
writeElementText
StreamWriter writeElementText(java.util.Date value)
Deprecated.Write element text- Parameters:
value
- The text value
-
writeElementText
StreamWriter writeElementText(int value)
Deprecated.Write element text- Parameters:
value
- The text value
-
writeElementText
StreamWriter writeElementText(long value)
Deprecated.Write element text- Parameters:
value
- The text value
-
writeElementText
StreamWriter writeElementText(double value)
Deprecated.Write element text- Parameters:
value
- The text value
-
endElement
StreamWriter endElement()
Deprecated.End the element
-
writeTitle
StreamWriter writeTitle(java.lang.String value)
Deprecated.Write an atom:title element- Parameters:
value
- The text value
-
writeTitle
StreamWriter writeTitle(Text.Type type, java.lang.String value)
Deprecated.Write an atom:title element- Parameters:
type
- The text typevalue
- The text value
-
writeSubtitle
StreamWriter writeSubtitle(java.lang.String value)
Deprecated.Write an atom:subtitle element- Parameters:
value
- The text value
-
writeSubtitle
StreamWriter writeSubtitle(Text.Type type, java.lang.String value)
Deprecated.Write an atom:subtitle element- Parameters:
type
- The text typevalue
- The text value
-
writeSummary
StreamWriter writeSummary(java.lang.String value)
Deprecated.Write an atom:summary element- Parameters:
value
- The text value
-
writeSummary
StreamWriter writeSummary(Text.Type type, java.lang.String value)
Deprecated.Write an atom:summary element- Parameters:
type
- The text typevalue
- The text value
-
writeRights
StreamWriter writeRights(java.lang.String value)
Deprecated.Write an atom:rights element- Parameters:
value
- The text value
-
writeRights
StreamWriter writeRights(Text.Type type, java.lang.String value)
Deprecated.Write an atom:rights element- Parameters:
type
- The text typevalue
- The text value
-
writePerson
StreamWriter writePerson(javax.xml.namespace.QName qname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person element- Parameters:
qname
- the element qnamename
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
StreamWriter writePerson(java.lang.String localname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person element- Parameters:
localhost
- the element namename
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
StreamWriter writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person element- Parameters:
localhost
- the element namenamespace
- the element namespacename
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
StreamWriter writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String prefix, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person element- Parameters:
localhost
- the element namenamespace
- the element namespaceprefix
- the element prefixname
- The person nameemail
- The person emailuri
- The person uri
-
startPerson
StreamWriter startPerson(javax.xml.namespace.QName qname)
Deprecated.Start a person element- Parameters:
qname
- The element qname
-
startPerson
StreamWriter startPerson(java.lang.String name)
Deprecated.Start a person element- Parameters:
name
- The element name
-
startPerson
StreamWriter startPerson(java.lang.String name, java.lang.String namespace)
Deprecated.Start a person element- Parameters:
name
- The element namenamespace
- The element namespace
-
startPerson
StreamWriter startPerson(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Start a person element- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefix
-
writePersonName
StreamWriter writePersonName(java.lang.String name)
Deprecated.Write a person name- Parameters:
name
- The person name
-
writePersonEmail
StreamWriter writePersonEmail(java.lang.String email)
Deprecated.Write a person email- Parameters:
email
- The person email
-
writePersonUri
StreamWriter writePersonUri(java.lang.String uri)
Deprecated.Write a person uri- Parameters:
uri
- The person uri
-
writeAuthor
StreamWriter writeAuthor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write an atom:author element- Parameters:
name
- The person nameemail
- The person emailuri
- The person uri
-
writeAuthor
StreamWriter writeAuthor(java.lang.String name)
Deprecated.Write an atom:author element- Parameters:
name
- The person name
-
startAuthor
StreamWriter startAuthor()
Deprecated.Start an atom:author element
-
endAuthor
StreamWriter endAuthor()
Deprecated.End the atom:author element
-
writeContributor
StreamWriter writeContributor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write an atom:contributor element- Parameters:
name
- The person nameemail
- The person emailuri
- The person uri
-
writeContributor
StreamWriter writeContributor(java.lang.String name)
Deprecated.Write an atom:contributor element- Parameters:
name
- The person name
-
startContributor
StreamWriter startContributor()
Deprecated.Start an atom:contributor element
-
endContributor
StreamWriter endContributor()
Deprecated.End an atom:contributor element
-
writeGenerator
StreamWriter writeGenerator(java.lang.String version, java.lang.String uri, java.lang.String value)
Deprecated.Write an atom:generator element- Parameters:
version
- The version valueuri
- The uri valuevalue
- The text value
-
startGenerator
StreamWriter startGenerator(java.lang.String version, java.lang.String uri)
Deprecated.Start an atom:generator element- Parameters:
version
- The version valueuri
- The uri value
-
endGenerator
StreamWriter endGenerator()
Deprecated.End the atom:generator element
-
writeComment
StreamWriter writeComment(java.lang.String value)
Deprecated.Write an XML comment
-
writePI
StreamWriter writePI(java.lang.String value)
Deprecated.Write an XML Processing Instruction
-
writePI
StreamWriter writePI(java.lang.String value, java.lang.String target)
Deprecated.Write an XML Processing Instruction
-
startService
StreamWriter startService()
Deprecated.Start an app:service element
-
endService
StreamWriter endService()
Deprecated.End an app:service element
-
startWorkspace
StreamWriter startWorkspace()
Deprecated.Start an app:workspace element
-
endWorkspace
StreamWriter endWorkspace()
Deprecated.End an app:workspace element
-
startCollection
StreamWriter startCollection(java.lang.String href)
Deprecated.Start an app:collection element- Parameters:
href
- The href value
-
endCollection
StreamWriter endCollection()
Deprecated.End an app:collection element
-
writeAccepts
StreamWriter writeAccepts(java.lang.String... accepts)
Deprecated.Writes app:accept elements- Parameters:
accepts
- accept element values
-
writeAcceptsEntry
StreamWriter writeAcceptsEntry()
Deprecated.Writes an app:accept element indicating that entries are accepted
-
writeAcceptsNothing
StreamWriter writeAcceptsNothing()
Deprecated.Writes an app:accept element indicating that nothing is accepted
-
startCategories
StreamWriter startCategories()
Deprecated.Start an app:categories element
-
startCategories
StreamWriter startCategories(boolean fixed)
Deprecated.Start an app:categories element- Parameters:
fixed
- True if the app:categories element is fixed
-
startCategories
StreamWriter startCategories(boolean fixed, java.lang.String scheme)
Deprecated.Start an app:categories element- Parameters:
fixed
- True if the app:categories element is fixedscheme
- The scheme value
-
endCategories
StreamWriter endCategories()
Deprecated.End the app:categories element
-
startControl
StreamWriter startControl()
Deprecated.Start the app:control element
-
endControl
StreamWriter endControl()
Deprecated.End the app:control element
-
writeDraft
StreamWriter writeDraft(boolean draft)
Deprecated.Write an app:draft element- Parameters:
draft
- true if app:draft=yes
-
writeAttribute
StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.util.Date value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.util.Date value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(javax.xml.namespace.QName qname, int value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, int value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, int value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, int value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(javax.xml.namespace.QName qname, long value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, long value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, long value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, long value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(javax.xml.namespace.QName qname, double value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, double value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, double value)
Deprecated.Write an attribute
-
writeAttribute
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, double value)
Deprecated.Write an attribute
-
indent
StreamWriter indent()
Deprecated.Write a new line and indent
-
setAutoIndent
StreamWriter setAutoIndent(boolean indent)
Deprecated.True to enable automatic indenting
-
writeBase
StreamWriter writeBase(java.lang.String iri)
Deprecated.Write the xml:base attribute
-
writeBase
StreamWriter writeBase(IRI iri)
Deprecated.Write the xml:base attribute
-
writeLanguage
StreamWriter writeLanguage(java.lang.String lang)
Deprecated.Write the xml:lang attribute
-
writeLanguage
StreamWriter writeLanguage(Lang lang)
Deprecated.Write the xml:lang attribute
-
writeLanguage
StreamWriter writeLanguage(java.util.Locale locale)
Deprecated.Write the xml:lang attribute
-
setPrefix
StreamWriter setPrefix(java.lang.String prefix, java.lang.String uri)
Deprecated.Specify the namespace prefix
-
writeNamespace
StreamWriter writeNamespace(java.lang.String prefix, java.lang.String uri)
Deprecated.Write a namespace declaration
-
-