Package org.apache.abdera.factory
Class StreamBuilder
- java.lang.Object
-
- org.apache.abdera.util.AbstractStreamWriter
-
- org.apache.abdera.factory.StreamBuilder
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.Appendable
,java.lang.AutoCloseable
,NamedItem
,StreamWriter
@Deprecated(since="2021-07-29") public class StreamBuilder extends AbstractStreamWriter
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.StreamBuilder is a special implementation of the StreamWriter interface that can be used to create Feed Object Model instances using the StreamWriter interface. StreamBuilder provides an additional method (getBase) for returning the FOM Base element that was built. The StreamWriter methods indent(), flush(), close(), setWriter(), setInputStream, setAutoclose(), setAutoflush(), setAutoIndent(), and setChannel() have no effect on this StreamWriter implementationStreamBuilder sw = new StreamBuilder(); Entry entry = sw.startElement(Constants.ENTRY).writeBase("http://example.org").writeLanguage("en-US") .writeId("http://example.org").writeTitle("testing").writeUpdated(new Date()).endElement().getBase(); entry.writeTo(System.out);
-
-
Constructor Summary
Constructors Constructor Description StreamBuilder()
Deprecated.StreamBuilder(Abdera abdera)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.StreamBuilder
endAuthor()
Deprecated.End the atom:author elementStreamBuilder
endCategories()
Deprecated.End the app:categories elementStreamBuilder
endCategory()
Deprecated.End the atom:categoryStreamBuilder
endCollection()
Deprecated.End an app:collection elementStreamBuilder
endContent()
Deprecated.End the atom:content elementStreamBuilder
endContributor()
Deprecated.End an atom:contributor elementStreamBuilder
endControl()
Deprecated.End the app:control elementStreamBuilder
endDocument()
Deprecated.End the documentStreamBuilder
endElement()
Deprecated.End the elementStreamBuilder
endEntry()
Deprecated.End the atom:entry elementStreamBuilder
endFeed()
Deprecated.End the atom:feed elementStreamBuilder
endGenerator()
Deprecated.End the atom:generator elementStreamBuilder
endLink()
Deprecated.End the atom:linkStreamBuilder
endPerson()
Deprecated.End the person elementStreamBuilder
endService()
Deprecated.End an app:service elementStreamBuilder
endSource()
Deprecated.End the atom:sourceStreamBuilder
endText()
Deprecated.StreamBuilder
endWorkspace()
Deprecated.End an app:workspace elementStreamBuilder
flush()
Deprecated.<T extends Base>
TgetBase()
Deprecated.StreamBuilder
indent()
Deprecated.Write a new line and indentStreamBuilder
setAutoclose(boolean auto)
Deprecated.True if the StreamWriter should autoclose the buffer after calling endDocumentStreamBuilder
setAutoflush(boolean auto)
Deprecated.True if the StreamWriter should autoflush the bufferStreamBuilder
setAutoIndent(boolean indent)
Deprecated.True to enable automatic indentingStreamBuilder
setChannel(java.nio.channels.WritableByteChannel channel)
Deprecated.Set the target WritableByteChannelStreamBuilder
setChannel(java.nio.channels.WritableByteChannel channel, java.lang.String charset)
Deprecated.Set the target WritableByteChannelStreamBuilder
setOutputStream(java.io.OutputStream out)
Deprecated.Set the target java.io.OutputStreamStreamBuilder
setOutputStream(java.io.OutputStream out, java.lang.String charset)
Deprecated.Set the target java.io.OutputStreamStreamBuilder
setPrefix(java.lang.String prefix, java.lang.String uri)
Deprecated.Specify the namespace prefixStreamBuilder
setWriter(java.io.Writer writer)
Deprecated.Set the target java.io.WriterStreamBuilder
startAuthor()
Deprecated.Start an atom:author elementStreamBuilder
startCategories()
Deprecated.Start an app:categories elementStreamBuilder
startCategories(boolean fixed)
Deprecated.Start an app:categories elementStreamBuilder
startCategories(boolean fixed, java.lang.String scheme)
Deprecated.Start an app:categories elementStreamBuilder
startCategory(java.lang.String term)
Deprecated.Start an atom:category elementStreamBuilder
startCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Start an atom:category elementStreamBuilder
startCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Start an atom:category elementStreamBuilder
startCollection(java.lang.String href)
Deprecated.Start an app:collection elementStreamBuilder
startContent(java.lang.String type)
Deprecated.Start an atom:content elementStreamBuilder
startContent(java.lang.String type, java.lang.String src)
Deprecated.Start an atom:content elementStreamBuilder
startContent(Content.Type type)
Deprecated.Start an atom:content elementStreamBuilder
startContent(Content.Type type, java.lang.String src)
Deprecated.Start an atom:content elementStreamBuilder
startContributor()
Deprecated.Start an atom:contributor elementStreamBuilder
startControl()
Deprecated.Start the app:control elementStreamBuilder
startDocument()
Deprecated.Start the documentStreamBuilder
startDocument(java.lang.String xmlversion)
Deprecated.Start the documentStreamBuilder
startDocument(java.lang.String xmlversion, java.lang.String charset)
Deprecated.Start the documentStreamBuilder
startElement(java.lang.String name)
Deprecated.Start an elementStreamBuilder
startElement(java.lang.String name, java.lang.String namespace)
Deprecated.Start an elementStreamBuilder
startElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Start an elementStreamBuilder
startElement(javax.xml.namespace.QName qname)
Deprecated.Start an elementStreamBuilder
startEntry()
Deprecated.Start an atom:entry elementStreamBuilder
startFeed()
Deprecated.Start an atom:feed elementStreamBuilder
startGenerator(java.lang.String version, java.lang.String uri)
Deprecated.Start an atom:generator elementStreamBuilder
startLink(java.lang.String iri)
Deprecated.Start an atom:link elementStreamBuilder
startLink(java.lang.String iri, java.lang.String rel)
Deprecated.Start an atom:link elementStreamBuilder
startLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Start an atom:link elementStreamBuilder
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 elementStreamBuilder
startPerson(java.lang.String name)
Deprecated.Start a person elementStreamBuilder
startPerson(java.lang.String name, java.lang.String namespace)
Deprecated.Start a person elementStreamBuilder
startPerson(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Start a person elementStreamBuilder
startPerson(javax.xml.namespace.QName qname)
Deprecated.Start a person elementStreamBuilder
startService()
Deprecated.Start an app:service elementStreamBuilder
startSource()
Deprecated.Start an atom:source elementStreamBuilder
startText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type)
Deprecated.Start a Text elementStreamBuilder
startText(java.lang.String name, java.lang.String namespace, Text.Type type)
Deprecated.Start a Text elementStreamBuilder
startText(java.lang.String name, Text.Type type)
Deprecated.Start a Text elementStreamBuilder
startText(javax.xml.namespace.QName qname, Text.Type type)
Deprecated.Start a Text elementStreamBuilder
startWorkspace()
Deprecated.Start an app:workspace elementStreamBuilder
writeAccepts(java.lang.String... accepts)
Deprecated.Writes app:accept elementsStreamBuilder
writeAcceptsEntry()
Deprecated.Writes an app:accept element indicating that entries are acceptedStreamBuilder
writeAcceptsNothing()
Deprecated.Writes an app:accept element indicating that nothing is acceptedStreamBuilder
writeAttribute(java.lang.String name, double value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, int value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, long value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, double value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, int value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, long value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, double value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, int value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, long value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.lang.String namespace, java.util.Date value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(java.lang.String name, java.util.Date value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(javax.xml.namespace.QName qname, double value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(javax.xml.namespace.QName qname, int value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(javax.xml.namespace.QName qname, long value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
Deprecated.Write an attributeStreamBuilder
writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
Deprecated.Write an attributeStreamBuilder
writeAuthor(java.lang.String name)
Deprecated.Write an atom:author elementStreamBuilder
writeAuthor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write an atom:author elementStreamBuilder
writeBase(java.lang.String iri)
Deprecated.Write the xml:base attributeStreamBuilder
writeBase(IRI iri)
Deprecated.Write the xml:base attributeStreamBuilder
writeCategory(java.lang.String term)
Deprecated.Write an atom:category elementStreamBuilder
writeCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Write an atom:category elementStreamBuilder
writeCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Write an atom:category elementStreamBuilder
writeComment(java.lang.String value)
Deprecated.Write an XML commentStreamBuilder
writeContent(java.lang.String type, java.lang.String value)
Deprecated.Write an atom:content elementStreamBuilder
writeContent(Content.Type type, java.io.InputStream value)
Deprecated.Write an atom:content elementStreamBuilder
writeContent(Content.Type type, java.lang.String value)
Deprecated.Write an atom:content elementStreamBuilder
writeContent(Content.Type type, javax.activation.DataHandler value)
Deprecated.Write an atom:content elementStreamBuilder
writeContributor(java.lang.String name)
Deprecated.Write an atom:contributor elementStreamBuilder
writeContributor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write an atom:contributor elementStreamBuilder
writeDate(java.lang.String name, java.lang.String date)
Deprecated.Write a Date elementStreamBuilder
writeDate(java.lang.String name, java.lang.String namespace, java.lang.String date)
Deprecated.Write a Date elementStreamBuilder
writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String date)
Deprecated.Write a Date elementStreamBuilder
writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date date)
Deprecated.Write a Date elementStreamBuilder
writeDate(java.lang.String name, java.lang.String namespace, java.util.Date date)
Deprecated.Write a Date elementStreamBuilder
writeDate(java.lang.String name, java.util.Date date)
Deprecated.Write a Date elementStreamBuilder
writeDate(javax.xml.namespace.QName qname, java.lang.String date)
Deprecated.Write a Date elementStreamBuilder
writeDate(javax.xml.namespace.QName qname, java.util.Date date)
Deprecated.Write a Date elementStreamBuilder
writeDraft(boolean draft)
Deprecated.Write an app:draft elementStreamBuilder
writeEdited(java.lang.String date)
Deprecated.Write an atom:edited elementStreamBuilder
writeEdited(java.util.Date date)
Deprecated.Write an atom:edited elementStreamBuilder
writeElementText(double value)
Deprecated.Write element textStreamBuilder
writeElementText(int value)
Deprecated.Write element textStreamBuilder
writeElementText(long value)
Deprecated.Write element textStreamBuilder
writeElementText(java.io.InputStream value)
Deprecated.Write element textStreamBuilder
writeElementText(java.lang.String value)
Deprecated.Write element textStreamBuilder
writeElementText(java.lang.String format, java.lang.Object... args)
Deprecated.Write element text using FormatterStreamBuilder
writeElementText(java.util.Date value)
Deprecated.Write element textStreamBuilder
writeElementText(javax.activation.DataHandler value)
Deprecated.Write element textStreamBuilder
writeGenerator(java.lang.String version, java.lang.String uri, java.lang.String value)
Deprecated.Write an atom:generator elementStreamBuilder
writeIcon(java.lang.String iri)
Deprecated.Write an atom:icon elementStreamBuilder
writeIcon(IRI iri)
Deprecated.Write an atom:icon elementStreamBuilder
writeId()
Deprecated.Write an atom:id element with a new IRI valueStreamBuilder
writeId(java.lang.String iri)
Deprecated.Write an atom:id elementStreamBuilder
writeId(IRI iri)
Deprecated.Write an atom:id elementStreamBuilder
writeIRIElement(java.lang.String name, java.lang.String iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, IRI iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(java.lang.String name, java.lang.String namespace, IRI iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(java.lang.String name, IRI iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(javax.xml.namespace.QName qname, java.lang.String iri)
Deprecated.Write an IRI elementStreamBuilder
writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
Deprecated.Write an IRI elementStreamBuilder
writeLanguage(java.lang.String lang)
Deprecated.Write the xml:lang attributeStreamBuilder
writeLanguage(java.util.Locale locale)
Deprecated.Write the xml:lang attributeStreamBuilder
writeLanguage(Lang lang)
Deprecated.Write the xml:lang attributeStreamBuilder
writeLink(java.lang.String iri)
Deprecated.Write an atom:link elementStreamBuilder
writeLink(java.lang.String iri, java.lang.String rel)
Deprecated.Write an atom:link elementStreamBuilder
writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Write an atom:link elementStreamBuilder
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 elementStreamBuilder
writeLogo(java.lang.String iri)
Deprecated.Write an atom:logo elementStreamBuilder
writeLogo(IRI iri)
Deprecated.Write an atom:logo elementStreamBuilder
writeNamespace(java.lang.String prefix, java.lang.String uri)
Deprecated.Write a namespace declarationStreamBuilder
writePerson(java.lang.String localname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person elementStreamBuilder
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 elementStreamBuilder
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 elementStreamBuilder
writePerson(javax.xml.namespace.QName qname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Write a person elementStreamBuilder
writePersonEmail(java.lang.String email)
Deprecated.Write a person emailStreamBuilder
writePersonName(java.lang.String name)
Deprecated.Write a person nameStreamBuilder
writePersonUri(java.lang.String uri)
Deprecated.Write a person uriStreamBuilder
writePI(java.lang.String value)
Deprecated.Write an XML Processing InstructionStreamBuilder
writePI(java.lang.String value, java.lang.String target)
Deprecated.Write an XML Processing InstructionStreamBuilder
writePublished(java.lang.String date)
Deprecated.Write an atom:published elementStreamBuilder
writePublished(java.util.Date date)
Deprecated.Write an atom:published elementStreamBuilder
writeRights(java.lang.String value)
Deprecated.Write an atom:rights elementStreamBuilder
writeRights(Text.Type type, java.lang.String value)
Deprecated.Write an atom:rights elementStreamBuilder
writeSubtitle(java.lang.String value)
Deprecated.Write an atom:subtitle elementStreamBuilder
writeSubtitle(Text.Type type, java.lang.String value)
Deprecated.Write an atom:subtitle elementStreamBuilder
writeSummary(java.lang.String value)
Deprecated.Write an atom:summary elementStreamBuilder
writeSummary(Text.Type type, java.lang.String value)
Deprecated.Write an atom:summary elementStreamBuilder
writeText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamBuilder
writeText(java.lang.String name, java.lang.String namespace, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamBuilder
writeText(java.lang.String name, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamBuilder
writeText(javax.xml.namespace.QName qname, Text.Type type, java.lang.String value)
Deprecated.Write a Text elementStreamBuilder
writeTitle(java.lang.String value)
Deprecated.Write an atom:title elementStreamBuilder
writeTitle(Text.Type type, java.lang.String value)
Deprecated.Write an atom:title elementStreamBuilder
writeUpdated(java.lang.String date)
Deprecated.Write an atom:updated elementStreamBuilder
writeUpdated(java.util.Date date)
Deprecated.Write an atom:updated element-
Methods inherited from class org.apache.abdera.util.AbstractStreamWriter
append, append, append, getName
-
-
-
-
Constructor Detail
-
StreamBuilder
public StreamBuilder()
Deprecated.
-
StreamBuilder
public StreamBuilder(Abdera abdera)
Deprecated.
-
-
Method Detail
-
getBase
public <T extends Base> T getBase()
Deprecated.
-
startDocument
public StreamBuilder startDocument(java.lang.String xmlversion, java.lang.String charset)
Deprecated.Description copied from interface:StreamWriter
Start the document- Parameters:
xmlversion
- The XML versioncharset
- the Character Encoding
-
startDocument
public StreamBuilder startDocument(java.lang.String xmlversion)
Deprecated.Description copied from interface:StreamWriter
Start the document- Parameters:
xmlversion
- The XML version
-
startElement
public StreamBuilder startElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Description copied from interface:StreamWriter
Start an element
-
endElement
public StreamBuilder endElement()
Deprecated.Description copied from interface:StreamWriter
End the element
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute
-
writeComment
public StreamBuilder writeComment(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an XML comment
-
writeElementText
public StreamBuilder writeElementText(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Parameters:
value
- The text value
-
writeId
public StreamBuilder writeId()
Deprecated.Description copied from interface:StreamWriter
Write an atom:id element with a new IRI value
-
writePI
public StreamBuilder writePI(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an XML Processing Instruction
-
writePI
public StreamBuilder writePI(java.lang.String value, java.lang.String target)
Deprecated.Description copied from interface:StreamWriter
Write an XML Processing Instruction
-
close
public void close() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
flush
public StreamBuilder flush()
Deprecated.
-
indent
public StreamBuilder indent()
Deprecated.Description copied from interface:StreamWriter
Write a new line and indent
-
setOutputStream
public StreamBuilder setOutputStream(java.io.OutputStream out)
Deprecated.Description copied from interface:StreamWriter
Set the target java.io.OutputStream
-
setOutputStream
public StreamBuilder setOutputStream(java.io.OutputStream out, java.lang.String charset)
Deprecated.Description copied from interface:StreamWriter
Set the target java.io.OutputStream
-
setWriter
public StreamBuilder setWriter(java.io.Writer writer)
Deprecated.Description copied from interface:StreamWriter
Set the target java.io.Writer
-
endAuthor
public StreamBuilder endAuthor()
Deprecated.Description copied from interface:StreamWriter
End the atom:author element- Specified by:
endAuthor
in interfaceStreamWriter
- Overrides:
endAuthor
in classAbstractStreamWriter
-
endCategories
public StreamBuilder endCategories()
Deprecated.Description copied from interface:StreamWriter
End the app:categories element- Specified by:
endCategories
in interfaceStreamWriter
- Overrides:
endCategories
in classAbstractStreamWriter
-
endCategory
public StreamBuilder endCategory()
Deprecated.Description copied from interface:StreamWriter
End the atom:category- Specified by:
endCategory
in interfaceStreamWriter
- Overrides:
endCategory
in classAbstractStreamWriter
-
endCollection
public StreamBuilder endCollection()
Deprecated.Description copied from interface:StreamWriter
End an app:collection element- Specified by:
endCollection
in interfaceStreamWriter
- Overrides:
endCollection
in classAbstractStreamWriter
-
endContent
public StreamBuilder endContent()
Deprecated.Description copied from interface:StreamWriter
End the atom:content element- Specified by:
endContent
in interfaceStreamWriter
- Overrides:
endContent
in classAbstractStreamWriter
-
endContributor
public StreamBuilder endContributor()
Deprecated.Description copied from interface:StreamWriter
End an atom:contributor element- Specified by:
endContributor
in interfaceStreamWriter
- Overrides:
endContributor
in classAbstractStreamWriter
-
endControl
public StreamBuilder endControl()
Deprecated.Description copied from interface:StreamWriter
End the app:control element- Specified by:
endControl
in interfaceStreamWriter
- Overrides:
endControl
in classAbstractStreamWriter
-
endDocument
public StreamBuilder endDocument()
Deprecated.Description copied from interface:StreamWriter
End the document- Specified by:
endDocument
in interfaceStreamWriter
- Overrides:
endDocument
in classAbstractStreamWriter
-
endEntry
public StreamBuilder endEntry()
Deprecated.Description copied from interface:StreamWriter
End the atom:entry element- Specified by:
endEntry
in interfaceStreamWriter
- Overrides:
endEntry
in classAbstractStreamWriter
-
endFeed
public StreamBuilder endFeed()
Deprecated.Description copied from interface:StreamWriter
End the atom:feed element- Specified by:
endFeed
in interfaceStreamWriter
- Overrides:
endFeed
in classAbstractStreamWriter
-
endGenerator
public StreamBuilder endGenerator()
Deprecated.Description copied from interface:StreamWriter
End the atom:generator element- Specified by:
endGenerator
in interfaceStreamWriter
- Overrides:
endGenerator
in classAbstractStreamWriter
-
endLink
public StreamBuilder endLink()
Deprecated.Description copied from interface:StreamWriter
End the atom:link- Specified by:
endLink
in interfaceStreamWriter
- Overrides:
endLink
in classAbstractStreamWriter
-
endPerson
public StreamBuilder endPerson()
Deprecated.Description copied from interface:StreamWriter
End the person element- Specified by:
endPerson
in interfaceStreamWriter
- Overrides:
endPerson
in classAbstractStreamWriter
-
endService
public StreamBuilder endService()
Deprecated.Description copied from interface:StreamWriter
End an app:service element- Specified by:
endService
in interfaceStreamWriter
- Overrides:
endService
in classAbstractStreamWriter
-
endSource
public StreamBuilder endSource()
Deprecated.Description copied from interface:StreamWriter
End the atom:source- Specified by:
endSource
in interfaceStreamWriter
- Overrides:
endSource
in classAbstractStreamWriter
-
endText
public StreamBuilder endText()
Deprecated.- Overrides:
endText
in classAbstractStreamWriter
-
endWorkspace
public StreamBuilder endWorkspace()
Deprecated.Description copied from interface:StreamWriter
End an app:workspace element- Specified by:
endWorkspace
in interfaceStreamWriter
- Overrides:
endWorkspace
in classAbstractStreamWriter
-
setAutoclose
public StreamBuilder setAutoclose(boolean auto)
Deprecated.Description copied from interface:StreamWriter
True if the StreamWriter should autoclose the buffer after calling endDocument- Specified by:
setAutoclose
in interfaceStreamWriter
- Overrides:
setAutoclose
in classAbstractStreamWriter
-
setAutoflush
public StreamBuilder setAutoflush(boolean auto)
Deprecated.Description copied from interface:StreamWriter
True if the StreamWriter should autoflush the buffer- Specified by:
setAutoflush
in interfaceStreamWriter
- Overrides:
setAutoflush
in classAbstractStreamWriter
-
setAutoIndent
public StreamBuilder setAutoIndent(boolean indent)
Deprecated.Description copied from interface:StreamWriter
True to enable automatic indenting- Specified by:
setAutoIndent
in interfaceStreamWriter
- Overrides:
setAutoIndent
in classAbstractStreamWriter
-
setChannel
public StreamBuilder setChannel(java.nio.channels.WritableByteChannel channel, java.lang.String charset)
Deprecated.Description copied from interface:StreamWriter
Set the target WritableByteChannel- Specified by:
setChannel
in interfaceStreamWriter
- Overrides:
setChannel
in classAbstractStreamWriter
-
setChannel
public StreamBuilder setChannel(java.nio.channels.WritableByteChannel channel)
Deprecated.Description copied from interface:StreamWriter
Set the target WritableByteChannel- Specified by:
setChannel
in interfaceStreamWriter
- Overrides:
setChannel
in classAbstractStreamWriter
-
startAuthor
public StreamBuilder startAuthor()
Deprecated.Description copied from interface:StreamWriter
Start an atom:author element- Specified by:
startAuthor
in interfaceStreamWriter
- Overrides:
startAuthor
in classAbstractStreamWriter
-
startCategories
public StreamBuilder startCategories()
Deprecated.Description copied from interface:StreamWriter
Start an app:categories element- Specified by:
startCategories
in interfaceStreamWriter
- Overrides:
startCategories
in classAbstractStreamWriter
-
startCategories
public StreamBuilder startCategories(boolean fixed, java.lang.String scheme)
Deprecated.Description copied from interface:StreamWriter
Start an app:categories element- Specified by:
startCategories
in interfaceStreamWriter
- Overrides:
startCategories
in classAbstractStreamWriter
- Parameters:
fixed
- True if the app:categories element is fixedscheme
- The scheme value
-
startCategories
public StreamBuilder startCategories(boolean fixed)
Deprecated.Description copied from interface:StreamWriter
Start an app:categories element- Specified by:
startCategories
in interfaceStreamWriter
- Overrides:
startCategories
in classAbstractStreamWriter
- Parameters:
fixed
- True if the app:categories element is fixed
-
startCategory
public StreamBuilder startCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Description copied from interface:StreamWriter
Start an atom:category element- Specified by:
startCategory
in interfaceStreamWriter
- Overrides:
startCategory
in classAbstractStreamWriter
- Parameters:
term
- The term valuescheme
- The term valuelabel
- The term value
-
startCategory
public StreamBuilder startCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Description copied from interface:StreamWriter
Start an atom:category element- Specified by:
startCategory
in interfaceStreamWriter
- Overrides:
startCategory
in classAbstractStreamWriter
- Parameters:
term
- The term valuescheme
- The term value
-
startCategory
public StreamBuilder startCategory(java.lang.String term)
Deprecated.Description copied from interface:StreamWriter
Start an atom:category element- Specified by:
startCategory
in interfaceStreamWriter
- Overrides:
startCategory
in classAbstractStreamWriter
- Parameters:
term
- The term value
-
startCollection
public StreamBuilder startCollection(java.lang.String href)
Deprecated.Description copied from interface:StreamWriter
Start an app:collection element- Specified by:
startCollection
in interfaceStreamWriter
- Overrides:
startCollection
in classAbstractStreamWriter
- Parameters:
href
- The href value
-
startContent
public StreamBuilder startContent(java.lang.String type, java.lang.String src)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Overrides:
startContent
in classAbstractStreamWriter
- Parameters:
type
- The text typesrc
- The src value
-
startContent
public StreamBuilder startContent(java.lang.String type)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Overrides:
startContent
in classAbstractStreamWriter
- Parameters:
type
- The text type
-
startContent
public StreamBuilder startContent(Content.Type type, java.lang.String src)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Overrides:
startContent
in classAbstractStreamWriter
- Parameters:
type
- The text typesrc
- The src value
-
startContent
public StreamBuilder startContent(Content.Type type)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Overrides:
startContent
in classAbstractStreamWriter
- Parameters:
type
- The text type
-
startContributor
public StreamBuilder startContributor()
Deprecated.Description copied from interface:StreamWriter
Start an atom:contributor element- Specified by:
startContributor
in interfaceStreamWriter
- Overrides:
startContributor
in classAbstractStreamWriter
-
startControl
public StreamBuilder startControl()
Deprecated.Description copied from interface:StreamWriter
Start the app:control element- Specified by:
startControl
in interfaceStreamWriter
- Overrides:
startControl
in classAbstractStreamWriter
-
startDocument
public StreamBuilder startDocument()
Deprecated.Description copied from interface:StreamWriter
Start the document- Specified by:
startDocument
in interfaceStreamWriter
- Overrides:
startDocument
in classAbstractStreamWriter
-
startElement
public StreamBuilder startElement(javax.xml.namespace.QName qname)
Deprecated.Description copied from interface:StreamWriter
Start an element- Specified by:
startElement
in interfaceStreamWriter
- Overrides:
startElement
in classAbstractStreamWriter
- Parameters:
qname
- Element qname
-
startElement
public StreamBuilder startElement(java.lang.String name, java.lang.String namespace)
Deprecated.Description copied from interface:StreamWriter
Start an element- Specified by:
startElement
in interfaceStreamWriter
- Overrides:
startElement
in classAbstractStreamWriter
-
startElement
public StreamBuilder startElement(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Start an element- Specified by:
startElement
in interfaceStreamWriter
- Overrides:
startElement
in classAbstractStreamWriter
-
startEntry
public StreamBuilder startEntry()
Deprecated.Description copied from interface:StreamWriter
Start an atom:entry element- Specified by:
startEntry
in interfaceStreamWriter
- Overrides:
startEntry
in classAbstractStreamWriter
-
startFeed
public StreamBuilder startFeed()
Deprecated.Description copied from interface:StreamWriter
Start an atom:feed element- Specified by:
startFeed
in interfaceStreamWriter
- Overrides:
startFeed
in classAbstractStreamWriter
-
startGenerator
public StreamBuilder startGenerator(java.lang.String version, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Start an atom:generator element- Specified by:
startGenerator
in interfaceStreamWriter
- Overrides:
startGenerator
in classAbstractStreamWriter
- Parameters:
version
- The version valueuri
- The uri value
-
startLink
public StreamBuilder startLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
Deprecated.Description copied from interface:StreamWriter
Start an atom:link element- Specified by:
startLink
in interfaceStreamWriter
- Overrides:
startLink
in classAbstractStreamWriter
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link length
-
startLink
public StreamBuilder startLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Description copied from interface:StreamWriter
Start an atom:link element- Specified by:
startLink
in interfaceStreamWriter
- Overrides:
startLink
in classAbstractStreamWriter
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type value
-
startLink
public StreamBuilder startLink(java.lang.String iri, java.lang.String rel)
Deprecated.Description copied from interface:StreamWriter
Start an atom:link element- Specified by:
startLink
in interfaceStreamWriter
- Overrides:
startLink
in classAbstractStreamWriter
- Parameters:
iri
- The href valuerel
- The rel value
-
startLink
public StreamBuilder startLink(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Start an atom:link element- Specified by:
startLink
in interfaceStreamWriter
- Overrides:
startLink
in classAbstractStreamWriter
- Parameters:
iri
- The href value
-
startPerson
public StreamBuilder startPerson(javax.xml.namespace.QName qname)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Overrides:
startPerson
in classAbstractStreamWriter
- Parameters:
qname
- The element qname
-
startPerson
public StreamBuilder startPerson(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Overrides:
startPerson
in classAbstractStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefix
-
startPerson
public StreamBuilder startPerson(java.lang.String name, java.lang.String namespace)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Overrides:
startPerson
in classAbstractStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespace
-
startPerson
public StreamBuilder startPerson(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Overrides:
startPerson
in classAbstractStreamWriter
- Parameters:
name
- The element name
-
startService
public StreamBuilder startService()
Deprecated.Description copied from interface:StreamWriter
Start an app:service element- Specified by:
startService
in interfaceStreamWriter
- Overrides:
startService
in classAbstractStreamWriter
-
startSource
public StreamBuilder startSource()
Deprecated.Description copied from interface:StreamWriter
Start an atom:source element- Specified by:
startSource
in interfaceStreamWriter
- Overrides:
startSource
in classAbstractStreamWriter
-
startText
public StreamBuilder startText(javax.xml.namespace.QName qname, Text.Type type)
Deprecated.Description copied from interface:StreamWriter
Start a Text element- Specified by:
startText
in interfaceStreamWriter
- Overrides:
startText
in classAbstractStreamWriter
- Parameters:
qname
- The element qnametype
- The text type
-
startText
public StreamBuilder startText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type)
Deprecated.Description copied from interface:StreamWriter
Start a Text element- Specified by:
startText
in interfaceStreamWriter
- Overrides:
startText
in classAbstractStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text type
-
startText
public StreamBuilder startText(java.lang.String name, java.lang.String namespace, Text.Type type)
Deprecated.Description copied from interface:StreamWriter
Start a Text element- Specified by:
startText
in interfaceStreamWriter
- Overrides:
startText
in classAbstractStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespacetype
- The text type
-
startText
public StreamBuilder startText(java.lang.String name, Text.Type type)
Deprecated.Description copied from interface:StreamWriter
Start a Text element- Specified by:
startText
in interfaceStreamWriter
- Overrides:
startText
in classAbstractStreamWriter
- Parameters:
name
- The element nametype
- The text type
-
startWorkspace
public StreamBuilder startWorkspace()
Deprecated.Description copied from interface:StreamWriter
Start an app:workspace element- Specified by:
startWorkspace
in interfaceStreamWriter
- Overrides:
startWorkspace
in classAbstractStreamWriter
-
writeAccepts
public StreamBuilder writeAccepts(java.lang.String... accepts)
Deprecated.Description copied from interface:StreamWriter
Writes app:accept elements- Specified by:
writeAccepts
in interfaceStreamWriter
- Overrides:
writeAccepts
in classAbstractStreamWriter
- Parameters:
accepts
- accept element values
-
writeAcceptsEntry
public StreamBuilder writeAcceptsEntry()
Deprecated.Description copied from interface:StreamWriter
Writes an app:accept element indicating that entries are accepted- Specified by:
writeAcceptsEntry
in interfaceStreamWriter
- Overrides:
writeAcceptsEntry
in classAbstractStreamWriter
-
writeAcceptsNothing
public StreamBuilder writeAcceptsNothing()
Deprecated.Description copied from interface:StreamWriter
Writes an app:accept element indicating that nothing is accepted- Specified by:
writeAcceptsNothing
in interfaceStreamWriter
- Overrides:
writeAcceptsNothing
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(javax.xml.namespace.QName qname, double value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(javax.xml.namespace.QName qname, int value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(javax.xml.namespace.QName qname, long value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, double value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, int value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, long value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, double value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, int value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, long value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, double value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, int value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, long value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAttribute
public StreamBuilder writeAttribute(java.lang.String name, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
- Overrides:
writeAttribute
in classAbstractStreamWriter
-
writeAuthor
public StreamBuilder writeAuthor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:author element- Specified by:
writeAuthor
in interfaceStreamWriter
- Overrides:
writeAuthor
in classAbstractStreamWriter
- Parameters:
name
- The person nameemail
- The person emailuri
- The person uri
-
writeAuthor
public StreamBuilder writeAuthor(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Write an atom:author element- Specified by:
writeAuthor
in interfaceStreamWriter
- Overrides:
writeAuthor
in classAbstractStreamWriter
- Parameters:
name
- The person name
-
writeBase
public StreamBuilder writeBase(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write the xml:base attribute- Specified by:
writeBase
in interfaceStreamWriter
- Overrides:
writeBase
in classAbstractStreamWriter
-
writeBase
public StreamBuilder writeBase(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write the xml:base attribute- Specified by:
writeBase
in interfaceStreamWriter
- Overrides:
writeBase
in classAbstractStreamWriter
-
writeCategory
public StreamBuilder writeCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
Deprecated.Description copied from interface:StreamWriter
Write an atom:category element- Specified by:
writeCategory
in interfaceStreamWriter
- Overrides:
writeCategory
in classAbstractStreamWriter
- Parameters:
term
- The term valuescheme
- The term valuelabel
- The term value
-
writeCategory
public StreamBuilder writeCategory(java.lang.String term, java.lang.String scheme)
Deprecated.Description copied from interface:StreamWriter
Write an atom:category element- Specified by:
writeCategory
in interfaceStreamWriter
- Overrides:
writeCategory
in classAbstractStreamWriter
- Parameters:
term
- The term valuescheme
- The term value
-
writeCategory
public StreamBuilder writeCategory(java.lang.String term)
Deprecated.Description copied from interface:StreamWriter
Write an atom:category element- Specified by:
writeCategory
in interfaceStreamWriter
- Overrides:
writeCategory
in classAbstractStreamWriter
- Parameters:
term
- The term value
-
writeContent
public StreamBuilder writeContent(java.lang.String type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:content element- Specified by:
writeContent
in interfaceStreamWriter
- Overrides:
writeContent
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeContent
public StreamBuilder writeContent(Content.Type type, javax.activation.DataHandler value) throws java.io.IOException
Deprecated.Description copied from interface:StreamWriter
Write an atom:content element- Specified by:
writeContent
in interfaceStreamWriter
- Overrides:
writeContent
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value- Throws:
java.io.IOException
-
writeContent
public StreamBuilder writeContent(Content.Type type, java.io.InputStream value) throws java.io.IOException
Deprecated.Description copied from interface:StreamWriter
Write an atom:content element- Specified by:
writeContent
in interfaceStreamWriter
- Overrides:
writeContent
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value- Throws:
java.io.IOException
-
writeContent
public StreamBuilder writeContent(Content.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:content element- Specified by:
writeContent
in interfaceStreamWriter
- Overrides:
writeContent
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeContributor
public StreamBuilder writeContributor(java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:contributor element- Specified by:
writeContributor
in interfaceStreamWriter
- Overrides:
writeContributor
in classAbstractStreamWriter
- Parameters:
name
- The person nameemail
- The person emailuri
- The person uri
-
writeContributor
public StreamBuilder writeContributor(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Write an atom:contributor element- Specified by:
writeContributor
in interfaceStreamWriter
- Overrides:
writeContributor
in classAbstractStreamWriter
- Parameters:
name
- The person name
-
writeDate
public StreamBuilder writeDate(javax.xml.namespace.QName qname, java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
qname
- The element qnamedate
- The date value
-
writeDate
public StreamBuilder writeDate(javax.xml.namespace.QName qname, java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
qname
- The element qnamedate
- The date value
-
writeDate
public StreamBuilder writeDate(java.lang.String name, java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
name
- The element localnamedate
- The date value
-
writeDate
public StreamBuilder writeDate(java.lang.String name, java.lang.String namespace, java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespacedate
- The date value
-
writeDate
public StreamBuilder writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date value
-
writeDate
public StreamBuilder writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date value
-
writeDate
public StreamBuilder writeDate(java.lang.String name, java.lang.String namespace, java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespacedate
- The date value
-
writeDate
public StreamBuilder writeDate(java.lang.String name, java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Overrides:
writeDate
in classAbstractStreamWriter
- Parameters:
name
- The element localnamedate
- The date value
-
writeDraft
public StreamBuilder writeDraft(boolean draft)
Deprecated.Description copied from interface:StreamWriter
Write an app:draft element- Specified by:
writeDraft
in interfaceStreamWriter
- Overrides:
writeDraft
in classAbstractStreamWriter
- Parameters:
draft
- true if app:draft=yes
-
writeEdited
public StreamBuilder writeEdited(java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:edited element- Specified by:
writeEdited
in interfaceStreamWriter
- Overrides:
writeEdited
in classAbstractStreamWriter
- Parameters:
date
- The date value
-
writeEdited
public StreamBuilder writeEdited(java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:edited element- Specified by:
writeEdited
in interfaceStreamWriter
- Overrides:
writeEdited
in classAbstractStreamWriter
- Parameters:
date
- The date value
-
writeElementText
public StreamBuilder writeElementText(javax.activation.DataHandler value) throws java.io.IOException
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
- Parameters:
value
- The text value- Throws:
java.io.IOException
-
writeElementText
public StreamBuilder writeElementText(java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamBuilder writeElementText(double value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamBuilder writeElementText(java.io.InputStream value) throws java.io.IOException
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
- Parameters:
value
- The text value- Throws:
java.io.IOException
-
writeElementText
public StreamBuilder writeElementText(int value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamBuilder writeElementText(long value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamBuilder writeElementText(java.lang.String format, java.lang.Object... args)
Deprecated.Description copied from interface:StreamWriter
Write element text using Formatter- Specified by:
writeElementText
in interfaceStreamWriter
- Overrides:
writeElementText
in classAbstractStreamWriter
-
writeGenerator
public StreamBuilder writeGenerator(java.lang.String version, java.lang.String uri, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:generator element- Specified by:
writeGenerator
in interfaceStreamWriter
- Overrides:
writeGenerator
in classAbstractStreamWriter
- Parameters:
version
- The version valueuri
- The uri valuevalue
- The text value
-
writeIcon
public StreamBuilder writeIcon(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:icon element- Specified by:
writeIcon
in interfaceStreamWriter
- Overrides:
writeIcon
in classAbstractStreamWriter
- Parameters:
iri
- The value
-
writeIcon
public StreamBuilder writeIcon(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:icon element- Specified by:
writeIcon
in interfaceStreamWriter
- Overrides:
writeIcon
in classAbstractStreamWriter
- Parameters:
iri
- The value
-
writeId
public StreamBuilder writeId(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:id element- Specified by:
writeId
in interfaceStreamWriter
- Overrides:
writeId
in classAbstractStreamWriter
- Parameters:
iri
- The value
-
writeId
public StreamBuilder writeId(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:id element- Specified by:
writeId
in interfaceStreamWriter
- Overrides:
writeId
in classAbstractStreamWriter
- Parameters:
iri
- The value
-
writeIRIElement
public StreamBuilder writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
iri
- The value
-
writeIRIElement
public StreamBuilder writeIRIElement(javax.xml.namespace.QName qname, java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
iri
- The value
-
writeIRIElement
public StreamBuilder writeIRIElement(java.lang.String name, IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
- Parameters:
name
- The element localnameiri
- the IRI to write
-
writeIRIElement
public StreamBuilder writeIRIElement(java.lang.String name, java.lang.String namespace, IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to write
-
writeIRIElement
public StreamBuilder writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to write
-
writeIRIElement
public StreamBuilder writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to write
-
writeIRIElement
public StreamBuilder writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
- Parameters:
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to write
-
writeIRIElement
public StreamBuilder writeIRIElement(java.lang.String name, java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Overrides:
writeIRIElement
in classAbstractStreamWriter
- Parameters:
name
- The element localnameiri
- the IRI to write
-
writeLanguage
public StreamBuilder writeLanguage(Lang lang)
Deprecated.Description copied from interface:StreamWriter
Write the xml:lang attribute- Specified by:
writeLanguage
in interfaceStreamWriter
- Overrides:
writeLanguage
in classAbstractStreamWriter
-
writeLanguage
public StreamBuilder writeLanguage(java.util.Locale locale)
Deprecated.Description copied from interface:StreamWriter
Write the xml:lang attribute- Specified by:
writeLanguage
in interfaceStreamWriter
- Overrides:
writeLanguage
in classAbstractStreamWriter
-
writeLanguage
public StreamBuilder writeLanguage(java.lang.String lang)
Deprecated.Description copied from interface:StreamWriter
Write the xml:lang attribute- Specified by:
writeLanguage
in interfaceStreamWriter
- Overrides:
writeLanguage
in classAbstractStreamWriter
-
writeLink
public StreamBuilder writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
Deprecated.Description copied from interface:StreamWriter
Write an atom:link element- Specified by:
writeLink
in interfaceStreamWriter
- Overrides:
writeLink
in classAbstractStreamWriter
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link length
-
writeLink
public StreamBuilder writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
Deprecated.Description copied from interface:StreamWriter
Write an atom:link element- Specified by:
writeLink
in interfaceStreamWriter
- Overrides:
writeLink
in classAbstractStreamWriter
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type value
-
writeLink
public StreamBuilder writeLink(java.lang.String iri, java.lang.String rel)
Deprecated.Description copied from interface:StreamWriter
Write an atom:link element- Specified by:
writeLink
in interfaceStreamWriter
- Overrides:
writeLink
in classAbstractStreamWriter
- Parameters:
iri
- The href valuerel
- The rel value
-
writeLink
public StreamBuilder writeLink(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:link element- Specified by:
writeLink
in interfaceStreamWriter
- Overrides:
writeLink
in classAbstractStreamWriter
- Parameters:
iri
- The href value
-
writeLogo
public StreamBuilder writeLogo(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:logo element- Specified by:
writeLogo
in interfaceStreamWriter
- Overrides:
writeLogo
in classAbstractStreamWriter
- Parameters:
iri
- The value
-
writeLogo
public StreamBuilder writeLogo(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:logo element- Specified by:
writeLogo
in interfaceStreamWriter
- Overrides:
writeLogo
in classAbstractStreamWriter
- Parameters:
iri
- The value
-
writePerson
public StreamBuilder writePerson(javax.xml.namespace.QName qname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write a person element- Specified by:
writePerson
in interfaceStreamWriter
- Overrides:
writePerson
in classAbstractStreamWriter
- Parameters:
qname
- the element qnamename
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
public StreamBuilder 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.Description copied from interface:StreamWriter
Write a person element- Specified by:
writePerson
in interfaceStreamWriter
- Overrides:
writePerson
in classAbstractStreamWriter
namespace
- the element namespaceprefix
- the element prefixname
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
public StreamBuilder writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write a person element- Specified by:
writePerson
in interfaceStreamWriter
- Overrides:
writePerson
in classAbstractStreamWriter
namespace
- the element namespacename
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
public StreamBuilder writePerson(java.lang.String localname, java.lang.String name, java.lang.String email, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write a person element- Specified by:
writePerson
in interfaceStreamWriter
- Overrides:
writePerson
in classAbstractStreamWriter
name
- The person nameemail
- The person emailuri
- The person uri
-
writePersonEmail
public StreamBuilder writePersonEmail(java.lang.String email)
Deprecated.Description copied from interface:StreamWriter
Write a person email- Specified by:
writePersonEmail
in interfaceStreamWriter
- Overrides:
writePersonEmail
in classAbstractStreamWriter
- Parameters:
email
- The person email
-
writePersonName
public StreamBuilder writePersonName(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Write a person name- Specified by:
writePersonName
in interfaceStreamWriter
- Overrides:
writePersonName
in classAbstractStreamWriter
- Parameters:
name
- The person name
-
writePersonUri
public StreamBuilder writePersonUri(java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write a person uri- Specified by:
writePersonUri
in interfaceStreamWriter
- Overrides:
writePersonUri
in classAbstractStreamWriter
- Parameters:
uri
- The person uri
-
writePublished
public StreamBuilder writePublished(java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:published element- Specified by:
writePublished
in interfaceStreamWriter
- Overrides:
writePublished
in classAbstractStreamWriter
- Parameters:
date
- The date value
-
writePublished
public StreamBuilder writePublished(java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:published element- Specified by:
writePublished
in interfaceStreamWriter
- Overrides:
writePublished
in classAbstractStreamWriter
- Parameters:
date
- The date value
-
writeRights
public StreamBuilder writeRights(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:rights element- Specified by:
writeRights
in interfaceStreamWriter
- Overrides:
writeRights
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeRights
public StreamBuilder writeRights(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:rights element- Specified by:
writeRights
in interfaceStreamWriter
- Overrides:
writeRights
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeSubtitle
public StreamBuilder writeSubtitle(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:subtitle element- Specified by:
writeSubtitle
in interfaceStreamWriter
- Overrides:
writeSubtitle
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeSubtitle
public StreamBuilder writeSubtitle(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:subtitle element- Specified by:
writeSubtitle
in interfaceStreamWriter
- Overrides:
writeSubtitle
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeSummary
public StreamBuilder writeSummary(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:summary element- Specified by:
writeSummary
in interfaceStreamWriter
- Overrides:
writeSummary
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeSummary
public StreamBuilder writeSummary(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:summary element- Specified by:
writeSummary
in interfaceStreamWriter
- Overrides:
writeSummary
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeText
public StreamBuilder writeText(javax.xml.namespace.QName qname, Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write a Text element- Specified by:
writeText
in interfaceStreamWriter
- Overrides:
writeText
in classAbstractStreamWriter
- Parameters:
qname
- The element qnametype
- The text typevalue
- The text value
-
writeText
public StreamBuilder writeText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write a Text element- Specified by:
writeText
in interfaceStreamWriter
- Overrides:
writeText
in classAbstractStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text value
-
writeText
public StreamBuilder writeText(java.lang.String name, java.lang.String namespace, Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write a Text element- Specified by:
writeText
in interfaceStreamWriter
- Overrides:
writeText
in classAbstractStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text value
-
writeText
public StreamBuilder writeText(java.lang.String name, Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write a Text element- Specified by:
writeText
in interfaceStreamWriter
- Overrides:
writeText
in classAbstractStreamWriter
- Parameters:
name
- The element nametype
- The text typevalue
- The text value
-
writeTitle
public StreamBuilder writeTitle(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:title element- Specified by:
writeTitle
in interfaceStreamWriter
- Overrides:
writeTitle
in classAbstractStreamWriter
- Parameters:
value
- The text value
-
writeTitle
public StreamBuilder writeTitle(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:title element- Specified by:
writeTitle
in interfaceStreamWriter
- Overrides:
writeTitle
in classAbstractStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeUpdated
public StreamBuilder writeUpdated(java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:updated element- Specified by:
writeUpdated
in interfaceStreamWriter
- Overrides:
writeUpdated
in classAbstractStreamWriter
- Parameters:
date
- The date value
-
writeUpdated
public StreamBuilder writeUpdated(java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:updated element- Specified by:
writeUpdated
in interfaceStreamWriter
- Overrides:
writeUpdated
in classAbstractStreamWriter
- Parameters:
date
- The date value
-
setPrefix
public StreamBuilder setPrefix(java.lang.String prefix, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Specify the namespace prefix
-
writeNamespace
public StreamBuilder writeNamespace(java.lang.String prefix, java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write a namespace declaration
-
-