public interface StreamWriter extends NamedItem, java.lang.Appendable, java.io.Closeable
Modifier and Type | Method and Description |
---|---|
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 |
endElement()
End the element
|
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 |
endWorkspace()
End an app:workspace element
|
StreamWriter |
flush() |
StreamWriter |
indent()
Write a new line and indent
|
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 |
setOutputStream(java.io.OutputStream out)
Set the target java.io.OutputStream
|
StreamWriter |
setOutputStream(java.io.OutputStream out,
java.lang.String charset)
Set the target java.io.OutputStream
|
StreamWriter |
setWriter(java.io.Writer writer)
Set the target java.io.Writer
|
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 |
startDocument(java.lang.String xmlversion)
Start the document
|
StreamWriter |
startDocument(java.lang.String xmlversion,
java.lang.String charset)
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 |
startElement(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix)
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 |
writeAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String prefix,
java.lang.String 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 |
writeComment(java.lang.String value)
Write an XML comment
|
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 datahandler)
Write element text
|
StreamWriter |
writeElementText(java.util.Date value)
Write element text
|
StreamWriter |
writeElementText(double value)
Write element text
|
StreamWriter |
writeElementText(java.io.InputStream in)
Write element text
|
StreamWriter |
writeElementText(int value)
Write element text
|
StreamWriter |
writeElementText(long value)
Write element text
|
StreamWriter |
writeElementText(java.lang.String value)
Write element text
|
StreamWriter |
writeElementText(java.lang.String format,
java.lang.Object... params)
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()
Write an atom:id element with a new IRI value
|
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 |
writePI(java.lang.String value)
Write an XML Processing Instruction
|
StreamWriter |
writePI(java.lang.String value,
java.lang.String target)
Write an XML Processing Instruction
|
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
|
StreamWriter flush()
StreamWriter setAutoclose(boolean auto)
StreamWriter setAutoflush(boolean auto)
StreamWriter setWriter(java.io.Writer writer)
StreamWriter setOutputStream(java.io.OutputStream out)
StreamWriter setOutputStream(java.io.OutputStream out, java.lang.String charset)
StreamWriter setChannel(java.nio.channels.WritableByteChannel channel)
StreamWriter setChannel(java.nio.channels.WritableByteChannel channel, java.lang.String charset)
StreamWriter startDocument(java.lang.String xmlversion, java.lang.String charset)
xmlversion
- The XML versioncharset
- the Character EncodingStreamWriter startDocument(java.lang.String xmlversion)
xmlversion
- The XML versionStreamWriter startDocument()
StreamWriter endDocument()
StreamWriter startFeed()
StreamWriter endFeed()
StreamWriter startEntry()
StreamWriter endEntry()
StreamWriter writeId(java.lang.String iri)
iri
- The valueStreamWriter writeIcon(java.lang.String iri)
iri
- The valueStreamWriter writeLogo(java.lang.String iri)
iri
- The valueStreamWriter writeIRIElement(javax.xml.namespace.QName qname, java.lang.String iri)
iri
- The valueStreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String iri)
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to writeStreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String iri)
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to writeStreamWriter writeIRIElement(java.lang.String name, java.lang.String iri)
name
- The element localnameiri
- the IRI to writeStreamWriter writeId(IRI iri)
iri
- The valueStreamWriter writeIcon(IRI iri)
iri
- The valueStreamWriter writeLogo(IRI iri)
iri
- The valueStreamWriter writeIRIElement(javax.xml.namespace.QName qname, IRI iri)
iri
- The valueStreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix, IRI iri)
name
- The element localnamenamespace
- The element namespaceprefix
- the element prefixiri
- the IRI to writeStreamWriter writeIRIElement(java.lang.String name, java.lang.String namespace, IRI iri)
name
- The element localnamenamespace
- The element namespaceiri
- the IRI to writeStreamWriter writeIRIElement(java.lang.String name, IRI iri)
name
- The element localnameiri
- the IRI to writeStreamWriter writeId()
iri
- The valueStreamWriter writeUpdated(java.util.Date date)
date
- The date valueStreamWriter writePublished(java.util.Date date)
date
- The date valueStreamWriter writeEdited(java.util.Date date)
date
- The date valueStreamWriter writeDate(javax.xml.namespace.QName qname, java.util.Date date)
qname
- The element qnamedate
- The date valueStreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date date)
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date valueStreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.util.Date date)
name
- The element localnamenamespace
- The element namespacedate
- The date valueStreamWriter writeDate(java.lang.String name, java.util.Date date)
name
- The element localnamedate
- The date valueStreamWriter writeUpdated(java.lang.String date)
date
- The date valueStreamWriter writePublished(java.lang.String date)
date
- The date valueStreamWriter writeEdited(java.lang.String date)
date
- The date valueStreamWriter writeDate(javax.xml.namespace.QName qname, java.lang.String date)
qname
- The element qnamedate
- The date valueStreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String date)
name
- The element localnamenamespace
- The element namespaceprefix
- The element prefixdate
- The date valueStreamWriter writeDate(java.lang.String name, java.lang.String namespace, java.lang.String date)
name
- The element localnamenamespace
- The element namespacedate
- The date valueStreamWriter writeDate(java.lang.String name, java.lang.String date)
name
- The element localnamedate
- The date valueStreamWriter endPerson()
StreamWriter endLink()
StreamWriter writeLink(java.lang.String iri)
iri
- The href valueStreamWriter writeLink(java.lang.String iri, java.lang.String rel)
iri
- The href valuerel
- The rel valueStreamWriter writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
iri
- The href valuerel
- The rel valuetype
- The type valueStreamWriter writeLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link lengthStreamWriter startLink(java.lang.String iri)
iri
- The href valueStreamWriter startLink(java.lang.String iri, java.lang.String rel)
iri
- The href valuerel
- The rel valueStreamWriter startLink(java.lang.String iri, java.lang.String rel, java.lang.String type)
iri
- The href valuerel
- The rel valuetype
- The type valueStreamWriter startLink(java.lang.String iri, java.lang.String rel, java.lang.String type, java.lang.String title, java.lang.String hreflang, long length)
iri
- The href valuerel
- The rel valuetype
- The type valuetitle
- The title valuehreflang
- The hreflang valuelength
- The link lengthStreamWriter endCategory()
StreamWriter writeCategory(java.lang.String term)
term
- The term valueStreamWriter writeCategory(java.lang.String term, java.lang.String scheme)
term
- The term valuescheme
- The term valueStreamWriter writeCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
term
- The term valuescheme
- The term valuelabel
- The term valueStreamWriter startCategory(java.lang.String term)
term
- The term valueStreamWriter startCategory(java.lang.String term, java.lang.String scheme)
term
- The term valuescheme
- The term valueStreamWriter startCategory(java.lang.String term, java.lang.String scheme, java.lang.String label)
term
- The term valuescheme
- The term valuelabel
- The term valueStreamWriter startSource()
StreamWriter endSource()
StreamWriter writeText(javax.xml.namespace.QName qname, Text.Type type, java.lang.String value)
qname
- The element qnametype
- The text typevalue
- The text valueStreamWriter writeText(java.lang.String name, Text.Type type, java.lang.String value)
name
- The element nametype
- The text typevalue
- The text valueStreamWriter writeText(java.lang.String name, java.lang.String namespace, Text.Type type, java.lang.String value)
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text valueStreamWriter writeText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type, java.lang.String value)
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text valueStreamWriter startText(javax.xml.namespace.QName qname, Text.Type type)
qname
- The element qnametype
- The text typeStreamWriter startText(java.lang.String name, Text.Type type)
name
- The element nametype
- The text typevalue
- The text valueStreamWriter startText(java.lang.String name, java.lang.String namespace, Text.Type type)
name
- The element namenamespace
- The element namespacetype
- The text typevalue
- The text valueStreamWriter startText(java.lang.String name, java.lang.String namespace, java.lang.String prefix, Text.Type type)
name
- The element namenamespace
- The element namespaceprefix
- The element prefixtype
- The text typevalue
- The text valueStreamWriter endContent()
StreamWriter writeContent(Content.Type type, java.lang.String value)
type
- The text typevalue
- The text valueStreamWriter writeContent(Content.Type type, java.io.InputStream value) throws java.io.IOException
type
- The text typevalue
- The text valuejava.io.IOException
StreamWriter writeContent(Content.Type type, javax.activation.DataHandler value) throws java.io.IOException
type
- The text typevalue
- The text valuejava.io.IOException
StreamWriter writeContent(java.lang.String type, java.lang.String value)
type
- The text typevalue
- The text valueStreamWriter startContent(Content.Type type)
type
- The text typeStreamWriter startContent(java.lang.String type)
type
- The text typeStreamWriter startContent(Content.Type type, java.lang.String src)
type
- The text typesrc
- The src valueStreamWriter startContent(java.lang.String type, java.lang.String src)
type
- The text typesrc
- The src valueStreamWriter startElement(javax.xml.namespace.QName qname)
qname
- Element qnameStreamWriter startElement(java.lang.String name)
StreamWriter startElement(java.lang.String name, java.lang.String namespace)
StreamWriter startElement(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
StreamWriter writeElementText(java.lang.String format, java.lang.Object... params)
format
- params
- StreamWriter writeElementText(java.lang.String value)
value
- The text valueStreamWriter writeElementText(javax.activation.DataHandler datahandler) throws java.io.IOException
datahandler
- The text valuejava.io.IOException
StreamWriter writeElementText(java.io.InputStream in) throws java.io.IOException
in
- The text valuejava.io.IOException
StreamWriter writeElementText(java.util.Date value)
value
- The text valueStreamWriter writeElementText(int value)
value
- The text valueStreamWriter writeElementText(long value)
value
- The text valueStreamWriter writeElementText(double value)
value
- The text valueStreamWriter endElement()
StreamWriter writeTitle(java.lang.String value)
value
- The text valueStreamWriter writeTitle(Text.Type type, java.lang.String value)
type
- The text typevalue
- The text valueStreamWriter writeSubtitle(java.lang.String value)
value
- The text valueStreamWriter writeSubtitle(Text.Type type, java.lang.String value)
type
- The text typevalue
- The text valueStreamWriter writeSummary(java.lang.String value)
value
- The text valueStreamWriter writeSummary(Text.Type type, java.lang.String value)
type
- The text typevalue
- The text valueStreamWriter writeRights(java.lang.String value)
value
- The text valueStreamWriter writeRights(Text.Type type, java.lang.String value)
type
- The text typevalue
- The text valueStreamWriter writePerson(javax.xml.namespace.QName qname, java.lang.String name, java.lang.String email, java.lang.String uri)
qname
- the element qnamename
- The person nameemail
- The person emailuri
- The person uriStreamWriter writePerson(java.lang.String localname, java.lang.String name, java.lang.String email, java.lang.String uri)
localhost
- the element namename
- The person nameemail
- The person emailuri
- The person uriStreamWriter writePerson(java.lang.String localname, java.lang.String namespace, java.lang.String name, java.lang.String email, java.lang.String uri)
localhost
- the element namenamespace
- the element namespacename
- The person nameemail
- The person emailuri
- The person uriStreamWriter 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)
localhost
- the element namenamespace
- the element namespaceprefix
- the element prefixname
- The person nameemail
- The person emailuri
- The person uriStreamWriter startPerson(javax.xml.namespace.QName qname)
qname
- The element qnameStreamWriter startPerson(java.lang.String name)
name
- The element nameStreamWriter startPerson(java.lang.String name, java.lang.String namespace)
name
- The element namenamespace
- The element namespaceStreamWriter startPerson(java.lang.String name, java.lang.String namespace, java.lang.String prefix)
name
- The element namenamespace
- The element namespaceprefix
- The element prefixStreamWriter writePersonName(java.lang.String name)
name
- The person nameStreamWriter writePersonEmail(java.lang.String email)
email
- The person emailStreamWriter writePersonUri(java.lang.String uri)
uri
- The person uriStreamWriter writeAuthor(java.lang.String name, java.lang.String email, java.lang.String uri)
name
- The person nameemail
- The person emailuri
- The person uriStreamWriter writeAuthor(java.lang.String name)
name
- The person nameStreamWriter startAuthor()
StreamWriter endAuthor()
StreamWriter writeContributor(java.lang.String name, java.lang.String email, java.lang.String uri)
name
- The person nameemail
- The person emailuri
- The person uriStreamWriter writeContributor(java.lang.String name)
name
- The person nameStreamWriter startContributor()
StreamWriter endContributor()
StreamWriter writeGenerator(java.lang.String version, java.lang.String uri, java.lang.String value)
version
- The version valueuri
- The uri valuevalue
- The text valueStreamWriter startGenerator(java.lang.String version, java.lang.String uri)
version
- The version valueuri
- The uri valueStreamWriter endGenerator()
StreamWriter writeComment(java.lang.String value)
StreamWriter writePI(java.lang.String value)
StreamWriter writePI(java.lang.String value, java.lang.String target)
StreamWriter startService()
StreamWriter endService()
StreamWriter startWorkspace()
StreamWriter endWorkspace()
StreamWriter startCollection(java.lang.String href)
href
- The href valueStreamWriter endCollection()
StreamWriter writeAccepts(java.lang.String... accepts)
accepts
- accept element valuesStreamWriter writeAcceptsEntry()
StreamWriter writeAcceptsNothing()
StreamWriter startCategories()
StreamWriter startCategories(boolean fixed)
fixed
- True if the app:categories element is fixedStreamWriter startCategories(boolean fixed, java.lang.String scheme)
fixed
- True if the app:categories element is fixedscheme
- The scheme valueStreamWriter endCategories()
StreamWriter startControl()
StreamWriter endControl()
StreamWriter writeDraft(boolean draft)
draft
- true if app:draft=yesStreamWriter writeAttribute(javax.xml.namespace.QName qname, java.lang.String value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.lang.String value)
StreamWriter writeAttribute(javax.xml.namespace.QName qname, java.util.Date value)
StreamWriter writeAttribute(java.lang.String name, java.util.Date value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.util.Date value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, java.util.Date value)
StreamWriter writeAttribute(javax.xml.namespace.QName qname, int value)
StreamWriter writeAttribute(java.lang.String name, int value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, int value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, int value)
StreamWriter writeAttribute(javax.xml.namespace.QName qname, long value)
StreamWriter writeAttribute(java.lang.String name, long value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, long value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, long value)
StreamWriter writeAttribute(javax.xml.namespace.QName qname, double value)
StreamWriter writeAttribute(java.lang.String name, double value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, double value)
StreamWriter writeAttribute(java.lang.String name, java.lang.String namespace, java.lang.String prefix, double value)
StreamWriter indent()
StreamWriter setAutoIndent(boolean indent)
StreamWriter writeBase(java.lang.String iri)
StreamWriter writeBase(IRI iri)
StreamWriter writeLanguage(java.lang.String lang)
StreamWriter writeLanguage(Lang lang)
StreamWriter writeLanguage(java.util.Locale locale)
Copyright © 2010 - 2020 Adobe. All Rights Reserved