public abstract class AbstractStreamWriter extends java.lang.Object implements StreamWriter
Modifier and Type | Method and Description |
---|---|
java.lang.Appendable |
append(char c) |
java.lang.Appendable |
append(java.lang.CharSequence csq) |
java.lang.Appendable |
append(java.lang.CharSequence csq,
int start,
int end) |
StreamWriter |
endAuthor()
End the atom:author element
|
StreamWriter |
endCategories()
End the app:categories element
|
StreamWriter |
endCategory()
End the atom:category
|
StreamWriter |
endCollection()
End an app:collection element
|
StreamWriter |
endContent()
End the atom:content element
|
StreamWriter |
endContributor()
End an atom:contributor element
|
StreamWriter |
endControl()
End the app:control element
|
StreamWriter |
endDocument()
End the document
|
StreamWriter |
endEntry()
End the atom:entry element
|
StreamWriter |
endFeed()
End the atom:feed element
|
StreamWriter |
endGenerator()
End the atom:generator element
|
StreamWriter |
endLink()
End the atom:link
|
StreamWriter |
endPerson()
End the person element
|
StreamWriter |
endService()
End an app:service element
|
StreamWriter |
endSource()
End the atom:source
|
StreamWriter |
endText() |
StreamWriter |
endWorkspace()
End an app:workspace element
|
java.lang.String |
getName() |
StreamWriter |
setAutoclose(boolean auto)
True if the StreamWriter should autoclose the buffer after calling endDocument
|
StreamWriter |
setAutoflush(boolean auto)
True if the StreamWriter should autoflush the buffer
|
StreamWriter |
setAutoIndent(boolean indent)
True to enable automatic indenting
|
StreamWriter |
setChannel(java.nio.channels.WritableByteChannel channel)
Set the target WritableByteChannel
|
StreamWriter |
setChannel(java.nio.channels.WritableByteChannel channel,
java.lang.String charset)
Set the target WritableByteChannel
|
StreamWriter |
startAuthor()
Start an atom:author element
|
StreamWriter |
startCategories()
Start an app:categories element
|
StreamWriter |
startCategories(boolean fixed)
Start an app:categories element
|
StreamWriter |
startCategories(boolean fixed,
java.lang.String scheme)
Start an app:categories element
|
StreamWriter |
startCategory(java.lang.String term)
Start an atom:category element
|
StreamWriter |
startCategory(java.lang.String term,
java.lang.String scheme)
Start an atom:category element
|
StreamWriter |
startCategory(java.lang.String term,
java.lang.String scheme,
java.lang.String label)
Start an atom:category element
|
StreamWriter |
startCollection(java.lang.String href)
Start an app:collection element
|
StreamWriter |
startContent(Content.Type type)
Start an atom:content element
|
StreamWriter |
startContent(Content.Type type,
java.lang.String src)
Start an atom:content element
|
StreamWriter |
startContent(java.lang.String type)
Start an atom:content element
|
StreamWriter |
startContent(java.lang.String type,
java.lang.String src)
Start an atom:content element
|
StreamWriter |
startContributor()
Start an atom:contributor element
|
StreamWriter |
startControl()
Start the app:control element
|
StreamWriter |
startDocument()
Start the document
|
StreamWriter |
startElement(javax.xml.namespace.QName qname)
Start an element
|
StreamWriter |
startElement(java.lang.String name)
Start an element
|
StreamWriter |
startElement(java.lang.String name,
java.lang.String namespace)
Start an element
|
StreamWriter |
startEntry()
Start an atom:entry element
|
StreamWriter |
startFeed()
Start an atom:feed element
|
StreamWriter |
startGenerator(java.lang.String version,
java.lang.String uri)
Start an atom:generator element
|
StreamWriter |
startLink(java.lang.String iri)
Start an atom:link element
|
StreamWriter |
startLink(java.lang.String iri,
java.lang.String rel)
Start an atom:link element
|
StreamWriter |
startLink(java.lang.String iri,
java.lang.String rel,
java.lang.String type)
Start an atom:link element
|
StreamWriter |
startLink(java.lang.String iri,
java.lang.String rel,
java.lang.String type,
java.lang.String title,
java.lang.String hreflang,
long length)
Start an atom:link element
|
StreamWriter |
startPerson(javax.xml.namespace.QName qname)
Start a person element
|
StreamWriter |
startPerson(java.lang.String name)
Start a person element
|
StreamWriter |
startPerson(java.lang.String name,
java.lang.String namespace)
Start a person element
|
StreamWriter |
startPerson(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix)
Start a person element
|
StreamWriter |
startService()
Start an app:service element
|
StreamWriter |
startSource()
Start an atom:source element
|
StreamWriter |
startText(javax.xml.namespace.QName qname,
Text.Type type)
Start a Text element
|
StreamWriter |
startText(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
Text.Type type)
Start a Text element
|
StreamWriter |
startText(java.lang.String name,
java.lang.String namespace,
Text.Type type)
Start a Text element
|
StreamWriter |
startText(java.lang.String name,
Text.Type type)
Start a Text element
|
StreamWriter |
startWorkspace()
Start an app:workspace element
|
StreamWriter |
writeAccepts(java.lang.String... accepts)
Writes app:accept elements
|
StreamWriter |
writeAcceptsEntry()
Writes an app:accept element indicating that entries are accepted
|
StreamWriter |
writeAcceptsNothing()
Writes an app:accept element indicating that nothing is accepted
|
StreamWriter |
writeAttribute(javax.xml.namespace.QName qname,
java.util.Date value)
Write an attribute
|
StreamWriter |
writeAttribute(javax.xml.namespace.QName qname,
double value)
Write an attribute
|
StreamWriter |
writeAttribute(javax.xml.namespace.QName qname,
int value)
Write an attribute
|
StreamWriter |
writeAttribute(javax.xml.namespace.QName qname,
long value)
Write an attribute
|
StreamWriter |
writeAttribute(javax.xml.namespace.QName qname,
java.lang.String value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.util.Date value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
double value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
int value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
long value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.util.Date value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
double value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
int value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
long value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
java.util.Date value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
double value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
int value)
Write an attribute
|
StreamWriter |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
long value)
Write an attribute
|
StreamWriter |
writeAuthor(java.lang.String name)
Write an atom:author element
|
StreamWriter |
writeAuthor(java.lang.String name,
java.lang.String email,
java.lang.String uri)
Write an atom:author element
|
StreamWriter |
writeBase(IRI iri)
Write the xml:base attribute
|
StreamWriter |
writeBase(java.lang.String iri)
Write the xml:base attribute
|
StreamWriter |
writeCategory(java.lang.String term)
Write an atom:category element
|
StreamWriter |
writeCategory(java.lang.String term,
java.lang.String scheme)
Write an atom:category element
|
StreamWriter |
writeCategory(java.lang.String term,
java.lang.String scheme,
java.lang.String label)
Write an atom:category element
|
StreamWriter |
writeContent(Content.Type type,
javax.activation.DataHandler value)
Write an atom:content element
|
StreamWriter |
writeContent(Content.Type type,
java.io.InputStream value)
Write an atom:content element
|
StreamWriter |
writeContent(Content.Type type,
java.lang.String value)
Write an atom:content element
|
StreamWriter |
writeContent(java.lang.String type,
java.lang.String value)
Write an atom:content element
|
StreamWriter |
writeContributor(java.lang.String name)
Write an atom:contributor element
|
StreamWriter |
writeContributor(java.lang.String name,
java.lang.String email,
java.lang.String uri)
Write an atom:contributor element
|
StreamWriter |
writeDate(javax.xml.namespace.QName qname,
java.util.Date date)
Write a Date element
|
StreamWriter |
writeDate(javax.xml.namespace.QName qname,
java.lang.String date)
Write a Date element
|
StreamWriter |
writeDate(java.lang.String name,
java.util.Date date)
Write a Date element
|
StreamWriter |
writeDate(java.lang.String name,
java.lang.String date)
Write a Date element
|
StreamWriter |
writeDate(java.lang.String name,
java.lang.String namespace,
java.util.Date date)
Write a Date element
|
StreamWriter |
writeDate(java.lang.String name,
java.lang.String namespace,
java.lang.String date)
Write a Date element
|
StreamWriter |
writeDate(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
java.util.Date date)
Write a Date element
|
StreamWriter |
writeDate(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
java.lang.String date)
Write a Date element
|
StreamWriter |
writeDraft(boolean draft)
Write an app:draft element
|
StreamWriter |
writeEdited(java.util.Date date)
Write an atom:edited element
|
StreamWriter |
writeEdited(java.lang.String date)
Write an atom:edited element
|
StreamWriter |
writeElementText(javax.activation.DataHandler value)
Write element text
|
StreamWriter |
writeElementText(java.util.Date value)
Write element text
|
StreamWriter |
writeElementText(double value)
Write element text
|
StreamWriter |
writeElementText(java.io.InputStream value)
Write element text
|
StreamWriter |
writeElementText(int value)
Write element text
|
StreamWriter |
writeElementText(long value)
Write element text
|
StreamWriter |
writeElementText(java.lang.String format,
java.lang.Object... args)
Write element text using Formatter
|
StreamWriter |
writeGenerator(java.lang.String version,
java.lang.String uri,
java.lang.String value)
Write an atom:generator element
|
StreamWriter |
writeIcon(IRI iri)
Write an atom:icon element
|
StreamWriter |
writeIcon(java.lang.String iri)
Write an atom:icon element
|
StreamWriter |
writeId(IRI iri)
Write an atom:id element
|
StreamWriter |
writeId(java.lang.String iri)
Write an atom:id element
|
StreamWriter |
writeIRIElement(javax.xml.namespace.QName qname,
IRI iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(javax.xml.namespace.QName qname,
java.lang.String iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(java.lang.String name,
IRI iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(java.lang.String name,
java.lang.String iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(java.lang.String name,
java.lang.String namespace,
IRI iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(java.lang.String name,
java.lang.String namespace,
java.lang.String iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
IRI iri)
Write an IRI element
|
StreamWriter |
writeIRIElement(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
java.lang.String iri)
Write an IRI element
|
StreamWriter |
writeLanguage(Lang lang)
Write the xml:lang attribute
|
StreamWriter |
writeLanguage(java.util.Locale locale)
Write the xml:lang attribute
|
StreamWriter |
writeLanguage(java.lang.String lang)
Write the xml:lang attribute
|
StreamWriter |
writeLink(java.lang.String iri)
Write an atom:link element
|
StreamWriter |
writeLink(java.lang.String iri,
java.lang.String rel)
Write an atom:link element
|
StreamWriter |
writeLink(java.lang.String iri,
java.lang.String rel,
java.lang.String type)
Write an atom:link element
|
StreamWriter |
writeLink(java.lang.String iri,
java.lang.String rel,
java.lang.String type,
java.lang.String title,
java.lang.String hreflang,
long length)
Write an atom:link element
|
StreamWriter |
writeLogo(IRI iri)
Write an atom:logo element
|
StreamWriter |
writeLogo(java.lang.String iri)
Write an atom:logo element
|
StreamWriter |
writePerson(javax.xml.namespace.QName qname,
java.lang.String name,
java.lang.String email,
java.lang.String uri)
Write a person element
|
StreamWriter |
writePerson(java.lang.String localname,
java.lang.String name,
java.lang.String email,
java.lang.String uri)
Write a person element
|
StreamWriter |
writePerson(java.lang.String localname,
java.lang.String namespace,
java.lang.String name,
java.lang.String email,
java.lang.String uri)
Write a person element
|
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)
Write a person element
|
StreamWriter |
writePersonEmail(java.lang.String email)
Write a person email
|
StreamWriter |
writePersonName(java.lang.String name)
Write a person name
|
StreamWriter |
writePersonUri(java.lang.String uri)
Write a person uri
|
StreamWriter |
writePublished(java.util.Date date)
Write an atom:published element
|
StreamWriter |
writePublished(java.lang.String date)
Write an atom:published element
|
StreamWriter |
writeRights(java.lang.String value)
Write an atom:rights element
|
StreamWriter |
writeRights(Text.Type type,
java.lang.String value)
Write an atom:rights element
|
StreamWriter |
writeSubtitle(java.lang.String value)
Write an atom:subtitle element
|
StreamWriter |
writeSubtitle(Text.Type type,
java.lang.String value)
Write an atom:subtitle element
|
StreamWriter |
writeSummary(java.lang.String value)
Write an atom:summary element
|
StreamWriter |
writeSummary(Text.Type type,
java.lang.String value)
Write an atom:summary element
|
StreamWriter |
writeText(javax.xml.namespace.QName qname,
Text.Type type,
java.lang.String value)
Write a Text element
|
StreamWriter |
writeText(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
Text.Type type,
java.lang.String value)
Write a Text element
|
StreamWriter |
writeText(java.lang.String name,
java.lang.String namespace,
Text.Type type,
java.lang.String value)
Write a Text element
|
StreamWriter |
writeText(java.lang.String name,
Text.Type type,
java.lang.String value)
Write a Text element
|
StreamWriter |
writeTitle(java.lang.String value)
Write an atom:title element
|
StreamWriter |
writeTitle(Text.Type type,
java.lang.String value)
Write an atom:title element
|
StreamWriter |
writeUpdated(java.util.Date date)
Write an atom:updated element
|
StreamWriter |
writeUpdated(java.lang.String date)
Write an atom:updated element
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endElement, flush, indent, setOutputStream, setOutputStream, setWriter, startDocument, startDocument, startElement, writeAttribute, writeComment, writeElementText, writeId, writePI, writePI
public StreamWriter setAutoflush(boolean auto)
StreamWriter
setAutoflush
in interface StreamWriter
public StreamWriter setAutoclose(boolean auto)
StreamWriter
setAutoclose
in interface StreamWriter
public StreamWriter setChannel(java.nio.channels.WritableByteChannel channel)
StreamWriter
setChannel
in interface StreamWriter
public StreamWriter setChannel(java.nio.channels.WritableByteChannel channel, java.lang.String charset)
StreamWriter
setChannel
in interface StreamWriter
public StreamWriter startDocument()
StreamWriter
startDocument
in interface StreamWriter
public StreamWriter endDocument()
StreamWriter
endDocument
in interface StreamWriter
public StreamWriter startFeed()
StreamWriter
startFeed
in interface StreamWriter
public StreamWriter endFeed()
StreamWriter
endFeed
in interface StreamWriter
public StreamWriter startEntry()
StreamWriter
startEntry
in interface StreamWriter
public StreamWriter endEntry()
StreamWriter
endEntry
in interface StreamWriter
public StreamWriter endCategory()
StreamWriter
endCategory
in interface StreamWriter
public StreamWriter endContent()
StreamWriter
endContent
in interface StreamWriter
public StreamWriter endLink()
StreamWriter
endLink
in interface StreamWriter
public StreamWriter endPerson()
StreamWriter
endPerson
in interface StreamWriter
public StreamWriter endSource()
StreamWriter
endSource
in interface StreamWriter
public StreamWriter endText()
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)
StreamWriter
startLink
in interface StreamWriter
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link lengthpublic StreamWriter startPerson(javax.xml.namespace.QName qname)
StreamWriter
startPerson
in interface StreamWriter
qname
- The element qnamepublic StreamWriter startSource()
StreamWriter
startSource
in interface StreamWriter
public StreamWriter startText(javax.xml.namespace.QName qname, Text.Type type)
StreamWriter
startText
in interface StreamWriter
qname
- The element qnametype
- The text typepublic StreamWriter writeDate(javax.xml.namespace.QName qname, java.lang.String date)
StreamWriter
writeDate
in interface StreamWriter
qname
- The element qnamedate
- The date valuepublic StreamWriter writeIRIElement(javax.xml.namespace.QName qname, java.lang.String iri)
StreamWriter
writeIRIElement
in interface StreamWriter
iri
- The valuepublic StreamWriter writePersonEmail(java.lang.String email)
StreamWriter
writePersonEmail
in interface StreamWriter
email
- The person emailpublic StreamWriter writePersonName(java.lang.String name)
StreamWriter
writePersonName
in interface StreamWriter
name
- The person namepublic StreamWriter writePersonUri(java.lang.String uri)
StreamWriter
writePersonUri
in interface StreamWriter
uri
- The person uripublic StreamWriter startContent(Content.Type type, java.lang.String src)
StreamWriter
startContent
in interface StreamWriter
type
- The text typesrc
- The src valuepublic StreamWriter startContent(java.lang.String type, java.lang.String src)
StreamWriter
startContent
in interface StreamWriter
type
- The text typesrc
- The src valuepublic StreamWriter startContent(Content.Type type)
StreamWriter
startContent
in interface StreamWriter
type
- The text typepublic StreamWriter startContent(java.lang.String type)
StreamWriter
startContent
in interface StreamWriter
type
- The text typepublic StreamWriter startLink(java.lang.String iri)
StreamWriter
startLink
in interface StreamWriter
iri
- The href valuepublic StreamWriter startLink(java.lang.String iri, java.lang.String rel)
StreamWriter
startLink
in interface StreamWriter
iri
- The href valuerel
- The rel valuepublic StreamWriter startLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
StreamWriter
startLink
in interface StreamWriter
iri
- The href valuerel
- The rel valuetype
- The type valuepublic StreamWriter writeCategory(java.lang.String term)
StreamWriter
writeCategory
in interface StreamWriter
term
- The term valuepublic StreamWriter writeCategory(java.lang.String term, java.lang.String scheme)
StreamWriter
writeCategory
in interface StreamWriter
term
- The term valuescheme
- The term valuepublic StreamWriter writeCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
StreamWriter
writeCategory
in interface StreamWriter
term
- The term valuescheme
- The term valuelabel
- The term valuepublic StreamWriter writeContent(Content.Type type, java.lang.String value)
StreamWriter
writeContent
in interface StreamWriter
type
- The text typevalue
- The text valuepublic StreamWriter writeContent(Content.Type type, java.io.InputStream value) throws java.io.IOException
StreamWriter
writeContent
in interface StreamWriter
type
- The text typevalue
- The text valuejava.io.IOException
public StreamWriter writeContent(Content.Type type, javax.activation.DataHandler value) throws java.io.IOException
StreamWriter
writeContent
in interface StreamWriter
type
- The text typevalue
- The text valuejava.io.IOException
public StreamWriter writeContent(java.lang.String type, java.lang.String value)
StreamWriter
writeContent
in interface StreamWriter
type
- The text typevalue
- The text valuepublic StreamWriter writeEdited(java.util.Date date)
StreamWriter
writeEdited
in interface StreamWriter
date
- The date valuepublic StreamWriter writeId(java.lang.String iri)
StreamWriter
writeId
in interface StreamWriter
iri
- The valuepublic StreamWriter writeIcon(java.lang.String iri)
StreamWriter
writeIcon
in interface StreamWriter
iri
- The valuepublic StreamWriter writeLogo(java.lang.String iri)
StreamWriter
writeLogo
in interface StreamWriter
iri
- The valuepublic StreamWriter writeLink(java.lang.String iri)
StreamWriter
writeLink
in interface StreamWriter
iri
- The href valuepublic StreamWriter writeLink(java.lang.String iri, java.lang.String rel)
StreamWriter
writeLink
in interface StreamWriter
iri
- The href valuerel
- The rel valuepublic StreamWriter writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
StreamWriter
writeLink
in interface StreamWriter
iri
- The href valuerel
- The rel valuetype
- The type valuepublic StreamWriter writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
StreamWriter
writeLink
in interface StreamWriter
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link lengthpublic StreamWriter writePerson(javax.xml.namespace.QName qname, java.lang.String name, java.lang.String email, java.lang.String uri)
StreamWriter
writePerson
in interface StreamWriter
qname
- the element qnamename
- The person nameemail
- The person emailuri
- The person uripublic StreamWriter writePublished(java.util.Date date)
StreamWriter
writePublished
in interface StreamWriter
date
- The date valuepublic StreamWriter writeText(javax.xml.namespace.QName qname, Text.Type type, java.lang.String value)
StreamWriter
writeText
in interface StreamWriter
qname
- The element qnametype
- The text typevalue
- The text valuepublic StreamWriter writeUpdated(java.util.Date date)
StreamWriter
writeUpdated
in interface StreamWriter
date
- The date valuepublic StreamWriter writeUpdated(java.lang.String date)
StreamWriter
writeUpdated
in interface StreamWriter
date
- The date valuepublic StreamWriter writePublished(java.lang.String date)
StreamWriter
writePublished
in interface StreamWriter
date
- The date valuepublic StreamWriter writeEdited(java.lang.String date)
StreamWriter
writeEdited
in interface StreamWriter
date
- The date valuepublic StreamWriter writeDate(javax.xml.namespace.QName qname, java.util.Date date)
StreamWriter
writeDate
in interface StreamWriter
qname
- The element qnamedate
- The date valuepublic StreamWriter writeId(IRI iri)
StreamWriter
writeId
in interface StreamWriter
iri
- The valuepublic StreamWriter writeIcon(IRI iri)
StreamWriter
writeIcon
in interface StreamWriter
iri
- The valuepublic StreamWriter writeLogo(IRI iri)
StreamWriter
writeLogo
in interface StreamWriter
iri
- The valuepublic StreamWriter writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
StreamWriter
writeIRIElement
in interface StreamWriter
iri
- The valuepublic StreamWriter writeElementText(java.io.InputStream value) throws java.io.IOException
StreamWriter
writeElementText
in interface StreamWriter
value
- The text valuejava.io.IOException
public StreamWriter writeElementText(javax.activation.DataHandler value) throws java.io.IOException
StreamWriter
writeElementText
in interface StreamWriter
value
- The text valuejava.io.IOException
public StreamWriter writeTitle(java.lang.String value)
StreamWriter
writeTitle
in interface StreamWriter
value
- The text valuepublic StreamWriter writeTitle(Text.Type type, java.lang.String value)
StreamWriter
writeTitle
in interface StreamWriter
type
- The text typevalue
- The text valuepublic StreamWriter writeSubtitle(java.lang.String value)
StreamWriter
writeSubtitle
in interface StreamWriter
value
- The text valuepublic StreamWriter writeSubtitle(Text.Type type, java.lang.String value)
StreamWriter
writeSubtitle
in interface StreamWriter
type
- The text typevalue
- The text valuepublic StreamWriter writeSummary(java.lang.String value)
StreamWriter
writeSummary
in interface StreamWriter
value
- The text valuepublic StreamWriter writeSummary(Text.Type type, java.lang.String value)
StreamWriter
writeSummary
in interface StreamWriter
type
- The text typevalue
- The text valuepublic StreamWriter writeRights(java.lang.String value)
StreamWriter
writeRights
in interface StreamWriter
value
- The text valuepublic StreamWriter writeRights(Text.Type type, java.lang.String value)
StreamWriter
writeRights
in interface StreamWriter
type
- The text typevalue
- The text valuepublic StreamWriter writeAuthor(java.lang.String name, java.lang.String email, java.lang.String uri)
StreamWriter
writeAuthor
in interface StreamWriter
name
- The person nameemail
- The person emailuri
- The person uripublic StreamWriter writeAuthor(java.lang.String name)
StreamWriter
writeAuthor
in interface StreamWriter
name
- The person namepublic StreamWriter startAuthor()
StreamWriter
startAuthor
in interface StreamWriter
public StreamWriter endAuthor()
StreamWriter
endAuthor
in interface StreamWriter
public StreamWriter writeContributor(java.lang.String name, java.lang.String email, java.lang.String uri)
StreamWriter
writeContributor
in interface StreamWriter
name
- The person nameemail
- The person emailuri
- The person uripublic StreamWriter writeContributor(java.lang.String name)
StreamWriter
writeContributor
in interface StreamWriter
name
- The person namepublic StreamWriter startContributor()
StreamWriter
startContributor
in interface StreamWriter
public StreamWriter endContributor()
StreamWriter
endContributor
in interface StreamWriter
public StreamWriter writeGenerator(java.lang.String version, java.lang.String uri, java.lang.String value)
StreamWriter
writeGenerator
in interface StreamWriter
version
- The version valueuri
- The uri valuevalue
- The text valuepublic StreamWriter startGenerator(java.lang.String version, java.lang.String uri)
StreamWriter
startGenerator
in interface StreamWriter
version
- The version valueuri
- The uri valuepublic StreamWriter endGenerator()
StreamWriter
endGenerator
in interface StreamWriter
public StreamWriter startCategory(java.lang.String term)
StreamWriter
startCategory
in interface StreamWriter
term
- The term valuepublic StreamWriter startCategory(java.lang.String term, java.lang.String scheme)
StreamWriter
startCategory
in interface StreamWriter
term
- The term valuescheme
- The term valuepublic StreamWriter startCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
StreamWriter
startCategory
in interface StreamWriter
term
- The term valuescheme
- The term valuelabel
- The term valuepublic StreamWriter startService()
StreamWriter
startService
in interface StreamWriter
public StreamWriter endService()
StreamWriter
endService
in interface StreamWriter
public StreamWriter startWorkspace()
StreamWriter
startWorkspace
in interface StreamWriter
public StreamWriter endWorkspace()
StreamWriter
endWorkspace
in interface StreamWriter
public StreamWriter startCollection(java.lang.String href)
StreamWriter
startCollection
in interface StreamWriter
href
- The href valuepublic StreamWriter endCollection()
StreamWriter
endCollection
in interface StreamWriter
public StreamWriter writeAccepts(java.lang.String... accepts)
StreamWriter
writeAccepts
in interface StreamWriter
accepts
- accept element valuespublic StreamWriter writeAcceptsEntry()
StreamWriter
writeAcceptsEntry
in interface StreamWriter
public StreamWriter writeAcceptsNothing()
StreamWriter
writeAcceptsNothing
in interface StreamWriter
public StreamWriter startCategories()
StreamWriter
startCategories
in interface StreamWriter
public StreamWriter startCategories(boolean fixed)
StreamWriter
startCategories
in interface StreamWriter
fixed
- True if the app:categories element is fixedpublic StreamWriter startCategories(boolean fixed, java.lang.String scheme)
StreamWriter
startCategories
in interface StreamWriter
fixed
- True if the app:categories element is fixedscheme
- The scheme valuepublic StreamWriter endCategories()
StreamWriter
endCategories
in interface StreamWriter
public StreamWriter startControl()
StreamWriter
startControl
in interface StreamWriter
public StreamWriter endControl()
StreamWriter
endControl
in interface StreamWriter
public StreamWriter writeDraft(boolean draft)
StreamWriter
writeDraft
in interface StreamWriter
draft
- true if app:draft=yespublic StreamWriter writeAttribute(java.lang.String name, java.lang.String value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter startElement(javax.xml.namespace.QName qname)
StreamWriter
startElement
in interface StreamWriter
qname
- Element qnamepublic StreamWriter startElement(java.lang.String name)
StreamWriter
startElement
in interface StreamWriter
public StreamWriter startElement(java.lang.String name, java.lang.String namespace)
StreamWriter
startElement
in interface StreamWriter
public StreamWriter setAutoIndent(boolean indent)
StreamWriter
setAutoIndent
in interface StreamWriter
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.util.Date value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.util.Date value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, int value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, int value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, int value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, int value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, long value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, long value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, long value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, long value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(javax.xml.namespace.QName qname, double value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, double value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, double value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, double value)
StreamWriter
writeAttribute
in interface StreamWriter
public StreamWriter writeElementText(java.util.Date value)
StreamWriter
writeElementText
in interface StreamWriter
value
- The text valuepublic StreamWriter writeElementText(int value)
StreamWriter
writeElementText
in interface StreamWriter
value
- The text valuepublic StreamWriter writeElementText(long value)
StreamWriter
writeElementText
in interface StreamWriter
value
- The text valuepublic StreamWriter writeElementText(double value)
StreamWriter
writeElementText
in interface StreamWriter
value
- The text valuepublic StreamWriter writeBase(java.lang.String iri)
StreamWriter
writeBase
in interface StreamWriter
public StreamWriter writeBase(IRI iri)
StreamWriter
writeBase
in interface StreamWriter
public StreamWriter writeLanguage(java.lang.String lang)
StreamWriter
writeLanguage
in interface StreamWriter
public StreamWriter writeLanguage(Lang lang)
StreamWriter
writeLanguage
in interface StreamWriter
public StreamWriter writeLanguage(java.util.Locale locale)
StreamWriter
writeLanguage
in interface StreamWriter
public StreamWriter writeIRIElement(java.lang.String name, IRI iri)
StreamWriter
writeIRIElement
in interface StreamWriter
name
- The element localnameiri
- the IRI to writepublic StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, IRI iri)
StreamWriter
writeIRIElement
in interface StreamWriter
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to writepublic StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, IRI iri)
StreamWriter
writeIRIElement
in interface StreamWriter
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to writepublic StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String iri)
StreamWriter
writeIRIElement
in interface StreamWriter
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to writepublic StreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String iri)
StreamWriter
writeIRIElement
in interface StreamWriter
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to writepublic StreamWriter writeIRIElement(java.lang.String name, java.lang.String iri)
StreamWriter
writeIRIElement
in interface StreamWriter
name
- The element localnameiri
- the IRI to writepublic StreamWriter writeDate(java.lang.String name, java.util.Date date)
StreamWriter
writeDate
in interface StreamWriter
name
- The element localnamedate
- The date valuepublic StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.util.Date date)
StreamWriter
writeDate
in interface StreamWriter
name
- The element localnamenamespace
- The element namespacedate
- The date valuepublic StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date date)
StreamWriter
writeDate
in interface StreamWriter
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date valuepublic StreamWriter writeDate(java.lang.String name, java.lang.String date)
StreamWriter
writeDate
in interface StreamWriter
name
- The element localnamedate
- The date valuepublic StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String date)
StreamWriter
writeDate
in interface StreamWriter
name
- The element localnamenamespace
- The element namespacedate
- The date valuepublic StreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String date)
StreamWriter
writeDate
in interface StreamWriter
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date valuepublic StreamWriter startText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type)
StreamWriter
startText
in interface StreamWriter
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typepublic StreamWriter startText(java.lang.String name, java.lang.String namespace, Text.Type type)
StreamWriter
startText
in interface StreamWriter
name
- The element namenamespace
- The element namespacetype
- The text typepublic StreamWriter startText(java.lang.String name, Text.Type type)
StreamWriter
startText
in interface StreamWriter
name
- The element nametype
- The text typepublic StreamWriter writeText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type, java.lang.String value)
StreamWriter
writeText
in interface StreamWriter
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text valuepublic StreamWriter writeText(java.lang.String name, java.lang.String namespace, Text.Type type, java.lang.String value)
StreamWriter
writeText
in interface StreamWriter
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text valuepublic StreamWriter writeText(java.lang.String name, Text.Type type, java.lang.String value)
StreamWriter
writeText
in interface StreamWriter
name
- The element nametype
- The text typevalue
- The text valuepublic StreamWriter startPerson(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
StreamWriter
startPerson
in interface StreamWriter
name
- The element namenamespace
- The element namespaceprefix
- The element prefixpublic StreamWriter startPerson(java.lang.String name, java.lang.String namespace)
StreamWriter
startPerson
in interface StreamWriter
name
- The element namenamespace
- The element namespacepublic StreamWriter startPerson(java.lang.String name)
StreamWriter
startPerson
in interface StreamWriter
name
- The element namepublic 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)
StreamWriter
writePerson
in interface StreamWriter
namespace
- the element namespaceprefix
- the element prefixname
- The person nameemail
- The person emailuri
- The person uripublic StreamWriter writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String name, java.lang.String email, java.lang.String uri)
StreamWriter
writePerson
in interface StreamWriter
namespace
- the element namespacename
- The person nameemail
- The person emailuri
- The person uripublic StreamWriter writePerson(java.lang.String localname, java.lang.String name, java.lang.String email, java.lang.String uri)
StreamWriter
writePerson
in interface StreamWriter
name
- The person nameemail
- The person emailuri
- The person uripublic java.lang.Appendable append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public StreamWriter writeElementText(java.lang.String format, java.lang.Object... args)
StreamWriter
writeElementText
in interface StreamWriter
Copyright © 2010 - 2020 Adobe. All Rights Reserved