Package org.apache.abdera.util
Class AbstractStreamWriter
- java.lang.Object
-
- org.apache.abdera.util.AbstractStreamWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.Appendable
,java.lang.AutoCloseable
,NamedItem
,StreamWriter
- Direct Known Subclasses:
StreamBuilder
@Deprecated(since="2021-07-29") public abstract class AbstractStreamWriter extends java.lang.Object implements StreamWriter
Deprecated.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Appendable
append(char c)
Deprecated.java.lang.Appendable
append(java.lang.CharSequence csq)
Deprecated.java.lang.Appendable
append(java.lang.CharSequence csq, int start, int end)
Deprecated.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
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
endText()
Deprecated.StreamWriter
endWorkspace()
Deprecated.End an app:workspace elementjava.lang.String
getName()
Deprecated.StreamWriter
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
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
startElement(java.lang.String name)
Deprecated.Start an elementStreamWriter
startElement(java.lang.String name, java.lang.String namespace)
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.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
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 value)
Deprecated.Write element textStreamWriter
writeElementText(java.lang.String format, java.lang.Object... args)
Deprecated.Write element text using FormatterStreamWriter
writeElementText(java.util.Date value)
Deprecated.Write element textStreamWriter
writeElementText(javax.activation.DataHandler value)
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(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
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
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-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.writer.StreamWriter
endElement, flush, indent, setOutputStream, setOutputStream, setPrefix, setWriter, startDocument, startDocument, startElement, writeAttribute, writeComment, writeElementText, writeId, writeNamespace, writePI, writePI
-
-
-
-
Method Detail
-
setAutoflush
public StreamWriter setAutoflush(boolean auto)
Deprecated.Description copied from interface:StreamWriter
True if the StreamWriter should autoflush the buffer- Specified by:
setAutoflush
in interfaceStreamWriter
-
setAutoclose
public StreamWriter 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
-
setChannel
public StreamWriter setChannel(java.nio.channels.WritableByteChannel channel)
Deprecated.Description copied from interface:StreamWriter
Set the target WritableByteChannel- Specified by:
setChannel
in interfaceStreamWriter
-
setChannel
public StreamWriter 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
-
startDocument
public StreamWriter startDocument()
Deprecated.Description copied from interface:StreamWriter
Start the document- Specified by:
startDocument
in interfaceStreamWriter
-
endDocument
public StreamWriter endDocument()
Deprecated.Description copied from interface:StreamWriter
End the document- Specified by:
endDocument
in interfaceStreamWriter
-
startFeed
public StreamWriter startFeed()
Deprecated.Description copied from interface:StreamWriter
Start an atom:feed element- Specified by:
startFeed
in interfaceStreamWriter
-
endFeed
public StreamWriter endFeed()
Deprecated.Description copied from interface:StreamWriter
End the atom:feed element- Specified by:
endFeed
in interfaceStreamWriter
-
startEntry
public StreamWriter startEntry()
Deprecated.Description copied from interface:StreamWriter
Start an atom:entry element- Specified by:
startEntry
in interfaceStreamWriter
-
endEntry
public StreamWriter endEntry()
Deprecated.Description copied from interface:StreamWriter
End the atom:entry element- Specified by:
endEntry
in interfaceStreamWriter
-
endCategory
public StreamWriter endCategory()
Deprecated.Description copied from interface:StreamWriter
End the atom:category- Specified by:
endCategory
in interfaceStreamWriter
-
endContent
public StreamWriter endContent()
Deprecated.Description copied from interface:StreamWriter
End the atom:content element- Specified by:
endContent
in interfaceStreamWriter
-
endLink
public StreamWriter endLink()
Deprecated.Description copied from interface:StreamWriter
End the atom:link- Specified by:
endLink
in interfaceStreamWriter
-
endPerson
public StreamWriter endPerson()
Deprecated.Description copied from interface:StreamWriter
End the person element- Specified by:
endPerson
in interfaceStreamWriter
-
endSource
public StreamWriter endSource()
Deprecated.Description copied from interface:StreamWriter
End the atom:source- Specified by:
endSource
in interfaceStreamWriter
-
endText
public StreamWriter endText()
Deprecated.
-
startLink
public 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.Description copied from interface:StreamWriter
Start an atom:link element- Specified by:
startLink
in interfaceStreamWriter
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link length
-
startPerson
public StreamWriter startPerson(javax.xml.namespace.QName qname)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Parameters:
qname
- The element qname
-
startSource
public StreamWriter startSource()
Deprecated.Description copied from interface:StreamWriter
Start an atom:source element- Specified by:
startSource
in interfaceStreamWriter
-
startText
public StreamWriter startText(javax.xml.namespace.QName qname, Text.Type type)
Deprecated.Description copied from interface:StreamWriter
Start a Text element- Specified by:
startText
in interfaceStreamWriter
- Parameters:
qname
- The element qnametype
- The text type
-
writeDate
public StreamWriter 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
- Parameters:
qname
- The element qnamedate
- The date value
-
writeIRIElement
public StreamWriter 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
iri
- The value
-
writePersonEmail
public StreamWriter writePersonEmail(java.lang.String email)
Deprecated.Description copied from interface:StreamWriter
Write a person email- Specified by:
writePersonEmail
in interfaceStreamWriter
- Parameters:
email
- The person email
-
writePersonName
public StreamWriter writePersonName(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Write a person name- Specified by:
writePersonName
in interfaceStreamWriter
- Parameters:
name
- The person name
-
writePersonUri
public StreamWriter writePersonUri(java.lang.String uri)
Deprecated.Description copied from interface:StreamWriter
Write a person uri- Specified by:
writePersonUri
in interfaceStreamWriter
- Parameters:
uri
- The person uri
-
startContent
public StreamWriter startContent(Content.Type type, java.lang.String src)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Parameters:
type
- The text typesrc
- The src value
-
startContent
public StreamWriter 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
- Parameters:
type
- The text typesrc
- The src value
-
startContent
public StreamWriter startContent(Content.Type type)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Parameters:
type
- The text type
-
startContent
public StreamWriter startContent(java.lang.String type)
Deprecated.Description copied from interface:StreamWriter
Start an atom:content element- Specified by:
startContent
in interfaceStreamWriter
- Parameters:
type
- The text type
-
startLink
public StreamWriter startLink(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Start an atom:link element- Specified by:
startLink
in interfaceStreamWriter
- Parameters:
iri
- The href value
-
startLink
public StreamWriter 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
- Parameters:
iri
- The href valuerel
- The rel value
-
startLink
public StreamWriter 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
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type value
-
writeCategory
public StreamWriter writeCategory(java.lang.String term)
Deprecated.Description copied from interface:StreamWriter
Write an atom:category element- Specified by:
writeCategory
in interfaceStreamWriter
- Parameters:
term
- The term value
-
writeCategory
public StreamWriter 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
- Parameters:
term
- The term valuescheme
- The term value
-
writeCategory
public StreamWriter 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
- Parameters:
term
- The term valuescheme
- The term valuelabel
- The term value
-
writeContent
public StreamWriter writeContent(Content.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:content element- Specified by:
writeContent
in interfaceStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeContent
public StreamWriter 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
- Parameters:
type
- The text typevalue
- The text value- Throws:
java.io.IOException
-
writeContent
public StreamWriter 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
- Parameters:
type
- The text typevalue
- The text value- Throws:
java.io.IOException
-
writeContent
public StreamWriter 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
- Parameters:
type
- The text typevalue
- The text value
-
writeEdited
public StreamWriter writeEdited(java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:edited element- Specified by:
writeEdited
in interfaceStreamWriter
- Parameters:
date
- The date value
-
writeId
public StreamWriter writeId(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:id element- Specified by:
writeId
in interfaceStreamWriter
- Parameters:
iri
- The value
-
writeIcon
public StreamWriter writeIcon(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:icon element- Specified by:
writeIcon
in interfaceStreamWriter
- Parameters:
iri
- The value
-
writeLogo
public StreamWriter writeLogo(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:logo element- Specified by:
writeLogo
in interfaceStreamWriter
- Parameters:
iri
- The value
-
writeLink
public StreamWriter writeLink(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:link element- Specified by:
writeLink
in interfaceStreamWriter
- Parameters:
iri
- The href value
-
writeLink
public StreamWriter 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
- Parameters:
iri
- The href valuerel
- The rel value
-
writeLink
public StreamWriter 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
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type value
-
writeLink
public 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.Description copied from interface:StreamWriter
Write an atom:link element- Specified by:
writeLink
in interfaceStreamWriter
- Parameters:
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link length
-
writePerson
public StreamWriter 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
- Parameters:
qname
- the element qnamename
- The person nameemail
- The person emailuri
- The person uri
-
writePublished
public StreamWriter writePublished(java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:published element- Specified by:
writePublished
in interfaceStreamWriter
- Parameters:
date
- The date value
-
writeText
public StreamWriter 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
- Parameters:
qname
- The element qnametype
- The text typevalue
- The text value
-
writeUpdated
public StreamWriter writeUpdated(java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:updated element- Specified by:
writeUpdated
in interfaceStreamWriter
- Parameters:
date
- The date value
-
writeUpdated
public StreamWriter writeUpdated(java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:updated element- Specified by:
writeUpdated
in interfaceStreamWriter
- Parameters:
date
- The date value
-
writePublished
public StreamWriter writePublished(java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:published element- Specified by:
writePublished
in interfaceStreamWriter
- Parameters:
date
- The date value
-
writeEdited
public StreamWriter writeEdited(java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write an atom:edited element- Specified by:
writeEdited
in interfaceStreamWriter
- Parameters:
date
- The date value
-
writeDate
public StreamWriter 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
- Parameters:
qname
- The element qnamedate
- The date value
-
writeId
public StreamWriter writeId(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:id element- Specified by:
writeId
in interfaceStreamWriter
- Parameters:
iri
- The value
-
writeIcon
public StreamWriter writeIcon(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:icon element- Specified by:
writeIcon
in interfaceStreamWriter
- Parameters:
iri
- The value
-
writeLogo
public StreamWriter writeLogo(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an atom:logo element- Specified by:
writeLogo
in interfaceStreamWriter
- Parameters:
iri
- The value
-
writeIRIElement
public StreamWriter writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
iri
- The value
-
writeElementText
public StreamWriter writeElementText(java.io.InputStream value) throws java.io.IOException
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Parameters:
value
- The text value- Throws:
java.io.IOException
-
writeElementText
public StreamWriter writeElementText(javax.activation.DataHandler value) throws java.io.IOException
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Parameters:
value
- The text value- Throws:
java.io.IOException
-
writeTitle
public StreamWriter writeTitle(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:title element- Specified by:
writeTitle
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeTitle
public StreamWriter writeTitle(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:title element- Specified by:
writeTitle
in interfaceStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeSubtitle
public StreamWriter writeSubtitle(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:subtitle element- Specified by:
writeSubtitle
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeSubtitle
public StreamWriter writeSubtitle(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:subtitle element- Specified by:
writeSubtitle
in interfaceStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeSummary
public StreamWriter writeSummary(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:summary element- Specified by:
writeSummary
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeSummary
public StreamWriter writeSummary(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:summary element- Specified by:
writeSummary
in interfaceStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeRights
public StreamWriter writeRights(java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:rights element- Specified by:
writeRights
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeRights
public StreamWriter writeRights(Text.Type type, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an atom:rights element- Specified by:
writeRights
in interfaceStreamWriter
- Parameters:
type
- The text typevalue
- The text value
-
writeAuthor
public StreamWriter 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
- Parameters:
name
- The person nameemail
- The person emailuri
- The person uri
-
writeAuthor
public StreamWriter writeAuthor(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Write an atom:author element- Specified by:
writeAuthor
in interfaceStreamWriter
- Parameters:
name
- The person name
-
startAuthor
public StreamWriter startAuthor()
Deprecated.Description copied from interface:StreamWriter
Start an atom:author element- Specified by:
startAuthor
in interfaceStreamWriter
-
endAuthor
public StreamWriter endAuthor()
Deprecated.Description copied from interface:StreamWriter
End the atom:author element- Specified by:
endAuthor
in interfaceStreamWriter
-
writeContributor
public StreamWriter 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
- Parameters:
name
- The person nameemail
- The person emailuri
- The person uri
-
writeContributor
public StreamWriter writeContributor(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Write an atom:contributor element- Specified by:
writeContributor
in interfaceStreamWriter
- Parameters:
name
- The person name
-
startContributor
public StreamWriter startContributor()
Deprecated.Description copied from interface:StreamWriter
Start an atom:contributor element- Specified by:
startContributor
in interfaceStreamWriter
-
endContributor
public StreamWriter endContributor()
Deprecated.Description copied from interface:StreamWriter
End an atom:contributor element- Specified by:
endContributor
in interfaceStreamWriter
-
writeGenerator
public StreamWriter 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
- Parameters:
version
- The version valueuri
- The uri valuevalue
- The text value
-
startGenerator
public StreamWriter 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
- Parameters:
version
- The version valueuri
- The uri value
-
endGenerator
public StreamWriter endGenerator()
Deprecated.Description copied from interface:StreamWriter
End the atom:generator element- Specified by:
endGenerator
in interfaceStreamWriter
-
startCategory
public StreamWriter startCategory(java.lang.String term)
Deprecated.Description copied from interface:StreamWriter
Start an atom:category element- Specified by:
startCategory
in interfaceStreamWriter
- Parameters:
term
- The term value
-
startCategory
public StreamWriter 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
- Parameters:
term
- The term valuescheme
- The term value
-
startCategory
public StreamWriter 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
- Parameters:
term
- The term valuescheme
- The term valuelabel
- The term value
-
startService
public StreamWriter startService()
Deprecated.Description copied from interface:StreamWriter
Start an app:service element- Specified by:
startService
in interfaceStreamWriter
-
endService
public StreamWriter endService()
Deprecated.Description copied from interface:StreamWriter
End an app:service element- Specified by:
endService
in interfaceStreamWriter
-
startWorkspace
public StreamWriter startWorkspace()
Deprecated.Description copied from interface:StreamWriter
Start an app:workspace element- Specified by:
startWorkspace
in interfaceStreamWriter
-
endWorkspace
public StreamWriter endWorkspace()
Deprecated.Description copied from interface:StreamWriter
End an app:workspace element- Specified by:
endWorkspace
in interfaceStreamWriter
-
startCollection
public StreamWriter startCollection(java.lang.String href)
Deprecated.Description copied from interface:StreamWriter
Start an app:collection element- Specified by:
startCollection
in interfaceStreamWriter
- Parameters:
href
- The href value
-
endCollection
public StreamWriter endCollection()
Deprecated.Description copied from interface:StreamWriter
End an app:collection element- Specified by:
endCollection
in interfaceStreamWriter
-
writeAccepts
public StreamWriter writeAccepts(java.lang.String... accepts)
Deprecated.Description copied from interface:StreamWriter
Writes app:accept elements- Specified by:
writeAccepts
in interfaceStreamWriter
- Parameters:
accepts
- accept element values
-
writeAcceptsEntry
public StreamWriter writeAcceptsEntry()
Deprecated.Description copied from interface:StreamWriter
Writes an app:accept element indicating that entries are accepted- Specified by:
writeAcceptsEntry
in interfaceStreamWriter
-
writeAcceptsNothing
public StreamWriter writeAcceptsNothing()
Deprecated.Description copied from interface:StreamWriter
Writes an app:accept element indicating that nothing is accepted- Specified by:
writeAcceptsNothing
in interfaceStreamWriter
-
startCategories
public StreamWriter startCategories()
Deprecated.Description copied from interface:StreamWriter
Start an app:categories element- Specified by:
startCategories
in interfaceStreamWriter
-
startCategories
public StreamWriter startCategories(boolean fixed)
Deprecated.Description copied from interface:StreamWriter
Start an app:categories element- Specified by:
startCategories
in interfaceStreamWriter
- Parameters:
fixed
- True if the app:categories element is fixed
-
startCategories
public StreamWriter startCategories(boolean fixed, java.lang.String scheme)
Deprecated.Description copied from interface:StreamWriter
Start an app:categories element- Specified by:
startCategories
in interfaceStreamWriter
- Parameters:
fixed
- True if the app:categories element is fixedscheme
- The scheme value
-
endCategories
public StreamWriter endCategories()
Deprecated.Description copied from interface:StreamWriter
End the app:categories element- Specified by:
endCategories
in interfaceStreamWriter
-
startControl
public StreamWriter startControl()
Deprecated.Description copied from interface:StreamWriter
Start the app:control element- Specified by:
startControl
in interfaceStreamWriter
-
endControl
public StreamWriter endControl()
Deprecated.Description copied from interface:StreamWriter
End the app:control element- Specified by:
endControl
in interfaceStreamWriter
-
writeDraft
public StreamWriter writeDraft(boolean draft)
Deprecated.Description copied from interface:StreamWriter
Write an app:draft element- Specified by:
writeDraft
in interfaceStreamWriter
- Parameters:
draft
- true if app:draft=yes
-
writeAttribute
public StreamWriter writeAttribute(java.lang.String name, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
startElement
public StreamWriter startElement(javax.xml.namespace.QName qname)
Deprecated.Description copied from interface:StreamWriter
Start an element- Specified by:
startElement
in interfaceStreamWriter
- Parameters:
qname
- Element qname
-
startElement
public StreamWriter startElement(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Start an element- Specified by:
startElement
in interfaceStreamWriter
-
startElement
public StreamWriter startElement(java.lang.String name, java.lang.String namespace)
Deprecated.Description copied from interface:StreamWriter
Start an element- Specified by:
startElement
in interfaceStreamWriter
-
setAutoIndent
public StreamWriter setAutoIndent(boolean indent)
Deprecated.Description copied from interface:StreamWriter
True to enable automatic indenting- Specified by:
setAutoIndent
in interfaceStreamWriter
-
writeAttribute
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter writeAttribute(java.lang.String name, java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, int value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter writeAttribute(java.lang.String name, int value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, long value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter writeAttribute(java.lang.String name, long value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, double value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter writeAttribute(java.lang.String name, double value)
Deprecated.Description copied from interface:StreamWriter
Write an attribute- Specified by:
writeAttribute
in interfaceStreamWriter
-
writeAttribute
public StreamWriter 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
-
writeAttribute
public StreamWriter 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
-
writeElementText
public StreamWriter writeElementText(java.util.Date value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamWriter writeElementText(int value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamWriter writeElementText(long value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeElementText
public StreamWriter writeElementText(double value)
Deprecated.Description copied from interface:StreamWriter
Write element text- Specified by:
writeElementText
in interfaceStreamWriter
- Parameters:
value
- The text value
-
writeBase
public StreamWriter writeBase(java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write the xml:base attribute- Specified by:
writeBase
in interfaceStreamWriter
-
writeBase
public StreamWriter writeBase(IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write the xml:base attribute- Specified by:
writeBase
in interfaceStreamWriter
-
writeLanguage
public StreamWriter writeLanguage(java.lang.String lang)
Deprecated.Description copied from interface:StreamWriter
Write the xml:lang attribute- Specified by:
writeLanguage
in interfaceStreamWriter
-
writeLanguage
public StreamWriter writeLanguage(Lang lang)
Deprecated.Description copied from interface:StreamWriter
Write the xml:lang attribute- Specified by:
writeLanguage
in interfaceStreamWriter
-
writeLanguage
public StreamWriter writeLanguage(java.util.Locale locale)
Deprecated.Description copied from interface:StreamWriter
Write the xml:lang attribute- Specified by:
writeLanguage
in interfaceStreamWriter
-
writeIRIElement
public StreamWriter writeIRIElement(java.lang.String name, IRI iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Parameters:
name
- The element localnameiri
- the IRI to write
-
writeIRIElement
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to write
-
writeIRIElement
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to write
-
writeIRIElement
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to write
-
writeIRIElement
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to write
-
writeIRIElement
public StreamWriter writeIRIElement(java.lang.String name, java.lang.String iri)
Deprecated.Description copied from interface:StreamWriter
Write an IRI element- Specified by:
writeIRIElement
in interfaceStreamWriter
- Parameters:
name
- The element localnameiri
- the IRI to write
-
writeDate
public StreamWriter writeDate(java.lang.String name, java.util.Date date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Parameters:
name
- The element localnamedate
- The date value
-
writeDate
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespacedate
- The date value
-
writeDate
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date value
-
writeDate
public StreamWriter writeDate(java.lang.String name, java.lang.String date)
Deprecated.Description copied from interface:StreamWriter
Write a Date element- Specified by:
writeDate
in interfaceStreamWriter
- Parameters:
name
- The element localnamedate
- The date value
-
writeDate
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespacedate
- The date value
-
writeDate
public StreamWriter 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
- Parameters:
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date value
-
startText
public StreamWriter 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
- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text type
-
startText
public StreamWriter 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
- Parameters:
name
- The element namenamespace
- The element namespacetype
- The text type
-
startText
public StreamWriter startText(java.lang.String name, Text.Type type)
Deprecated.Description copied from interface:StreamWriter
Start a Text element- Specified by:
startText
in interfaceStreamWriter
- Parameters:
name
- The element nametype
- The text type
-
writeText
public StreamWriter 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
- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text value
-
writeText
public StreamWriter 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
- Parameters:
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text value
-
writeText
public StreamWriter 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
- Parameters:
name
- The element nametype
- The text typevalue
- The text value
-
startPerson
public StreamWriter 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
- Parameters:
name
- The element namenamespace
- The element namespaceprefix
- The element prefix
-
startPerson
public StreamWriter startPerson(java.lang.String name, java.lang.String namespace)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Parameters:
name
- The element namenamespace
- The element namespace
-
startPerson
public StreamWriter startPerson(java.lang.String name)
Deprecated.Description copied from interface:StreamWriter
Start a person element- Specified by:
startPerson
in interfaceStreamWriter
- Parameters:
name
- The element name
-
writePerson
public 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.Description copied from interface:StreamWriter
Write a person element- Specified by:
writePerson
in interfaceStreamWriter
namespace
- the element namespaceprefix
- the element prefixname
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
public StreamWriter 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
namespace
- the element namespacename
- The person nameemail
- The person emailuri
- The person uri
-
writePerson
public StreamWriter 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
name
- The person nameemail
- The person emailuri
- The person uri
-
append
public java.lang.Appendable append(char c) throws java.io.IOException
Deprecated.- Specified by:
append
in interfacejava.lang.Appendable
- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
Deprecated.- Specified by:
append
in interfacejava.lang.Appendable
- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException
Deprecated.- Specified by:
append
in interfacejava.lang.Appendable
- Throws:
java.io.IOException
-
writeElementText
public StreamWriter 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
-
-