Interface StreamWriter

  • All Superinterfaces:
    java.lang.Appendable, java.lang.AutoCloseable, java.io.Closeable, NamedItem
    All Known Implementing Classes:
    AbstractStreamWriter, StreamBuilder

    @Deprecated(since="2021-07-29")
    public interface StreamWriter
    extends NamedItem, java.lang.Appendable, java.io.Closeable
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    The StreamWriter interface provides a for producing Atom documents based on a streaming api. This approach provides a lightweight alternative to building up an object model. The StreamWriter is NOT synchronized and is NOT threadsafe
    • Method Detail

      • setAutoclose

        StreamWriter setAutoclose​(boolean auto)
        Deprecated.
        True if the StreamWriter should autoclose the buffer after calling endDocument
      • setAutoflush

        StreamWriter setAutoflush​(boolean auto)
        Deprecated.
        True if the StreamWriter should autoflush the buffer
      • setWriter

        StreamWriter setWriter​(java.io.Writer writer)
        Deprecated.
        Set the target java.io.Writer
      • setOutputStream

        StreamWriter setOutputStream​(java.io.OutputStream out)
        Deprecated.
        Set the target java.io.OutputStream
      • setOutputStream

        StreamWriter setOutputStream​(java.io.OutputStream out,
                                     java.lang.String charset)
        Deprecated.
        Set the target java.io.OutputStream
      • setChannel

        StreamWriter setChannel​(java.nio.channels.WritableByteChannel channel)
        Deprecated.
        Set the target WritableByteChannel
      • setChannel

        StreamWriter setChannel​(java.nio.channels.WritableByteChannel channel,
                                java.lang.String charset)
        Deprecated.
        Set the target WritableByteChannel
      • startDocument

        StreamWriter startDocument​(java.lang.String xmlversion,
                                   java.lang.String charset)
        Deprecated.
        Start the document
        Parameters:
        xmlversion - The XML version
        charset - the Character Encoding
      • startDocument

        StreamWriter startDocument​(java.lang.String xmlversion)
        Deprecated.
        Start the document
        Parameters:
        xmlversion - The XML version
      • startDocument

        StreamWriter startDocument()
        Deprecated.
        Start the document
      • endDocument

        StreamWriter endDocument()
        Deprecated.
        End the document
      • startFeed

        StreamWriter startFeed()
        Deprecated.
        Start an atom:feed element
      • endFeed

        StreamWriter endFeed()
        Deprecated.
        End the atom:feed element
      • startEntry

        StreamWriter startEntry()
        Deprecated.
        Start an atom:entry element
      • endEntry

        StreamWriter endEntry()
        Deprecated.
        End the atom:entry element
      • writeId

        StreamWriter writeId​(java.lang.String iri)
        Deprecated.
        Write an atom:id element
        Parameters:
        iri - The value
      • writeIcon

        StreamWriter writeIcon​(java.lang.String iri)
        Deprecated.
        Write an atom:icon element
        Parameters:
        iri - The value
      • writeLogo

        StreamWriter writeLogo​(java.lang.String iri)
        Deprecated.
        Write an atom:logo element
        Parameters:
        iri - The value
      • writeIRIElement

        StreamWriter writeIRIElement​(javax.xml.namespace.QName qname,
                                     java.lang.String iri)
        Deprecated.
        Write an IRI element
        Parameters:
        iri - The value
      • writeIRIElement

        StreamWriter writeIRIElement​(java.lang.String name,
                                     java.lang.String namespace,
                                     java.lang.String prefix,
                                     java.lang.String iri)
        Deprecated.
        Write an IRI element
        Parameters:
        name - The element localname
        namespace - The element namespace
        prefix - the element prefix
        iri - the IRI to write
      • writeIRIElement

        StreamWriter writeIRIElement​(java.lang.String name,
                                     java.lang.String namespace,
                                     java.lang.String iri)
        Deprecated.
        Write an IRI element
        Parameters:
        name - The element localname
        namespace - The element namespace
        iri - the IRI to write
      • writeIRIElement

        StreamWriter writeIRIElement​(java.lang.String name,
                                     java.lang.String iri)
        Deprecated.
        Write an IRI element
        Parameters:
        name - The element localname
        iri - the IRI to write
      • writeId

        StreamWriter writeId​(IRI iri)
        Deprecated.
        Write an atom:id element
        Parameters:
        iri - The value
      • writeIcon

        StreamWriter writeIcon​(IRI iri)
        Deprecated.
        Write an atom:icon element
        Parameters:
        iri - The value
      • writeLogo

        StreamWriter writeLogo​(IRI iri)
        Deprecated.
        Write an atom:logo element
        Parameters:
        iri - The value
      • writeIRIElement

        StreamWriter writeIRIElement​(javax.xml.namespace.QName qname,
                                     IRI iri)
        Deprecated.
        Write an IRI element
        Parameters:
        iri - The value
      • writeIRIElement

        StreamWriter writeIRIElement​(java.lang.String name,
                                     java.lang.String namespace,
                                     java.lang.String prefix,
                                     IRI iri)
        Deprecated.
        Write an IRI element
        Parameters:
        name - The element localname
        namespace - The element namespace
        prefix - the element prefix
        iri - the IRI to write
      • writeIRIElement

        StreamWriter writeIRIElement​(java.lang.String name,
                                     java.lang.String namespace,
                                     IRI iri)
        Deprecated.
        Write an IRI element
        Parameters:
        name - The element localname
        namespace - The element namespace
        iri - the IRI to write
      • writeIRIElement

        StreamWriter writeIRIElement​(java.lang.String name,
                                     IRI iri)
        Deprecated.
        Write an IRI element
        Parameters:
        name - The element localname
        iri - the IRI to write
      • writeId

        StreamWriter writeId()
        Deprecated.
        Write an atom:id element with a new IRI value
        Parameters:
        iri - The value
      • writeUpdated

        StreamWriter writeUpdated​(java.util.Date date)
        Deprecated.
        Write an atom:updated element
        Parameters:
        date - The date value
      • writePublished

        StreamWriter writePublished​(java.util.Date date)
        Deprecated.
        Write an atom:published element
        Parameters:
        date - The date value
      • writeEdited

        StreamWriter writeEdited​(java.util.Date date)
        Deprecated.
        Write an atom:edited element
        Parameters:
        date - The date value
      • writeDate

        StreamWriter writeDate​(javax.xml.namespace.QName qname,
                               java.util.Date date)
        Deprecated.
        Write a Date element
        Parameters:
        qname - The element qname
        date - The date value
      • writeDate

        StreamWriter writeDate​(java.lang.String name,
                               java.lang.String namespace,
                               java.lang.String prefix,
                               java.util.Date date)
        Deprecated.
        Write a Date element
        Parameters:
        name - The element localname
        namespace - The element namespace
        prefix - The element prefix
        date - The date value
      • writeDate

        StreamWriter writeDate​(java.lang.String name,
                               java.lang.String namespace,
                               java.util.Date date)
        Deprecated.
        Write a Date element
        Parameters:
        name - The element localname
        namespace - The element namespace
        date - The date value
      • writeDate

        StreamWriter writeDate​(java.lang.String name,
                               java.util.Date date)
        Deprecated.
        Write a Date element
        Parameters:
        name - The element localname
        date - The date value
      • writeUpdated

        StreamWriter writeUpdated​(java.lang.String date)
        Deprecated.
        Write an atom:updated element
        Parameters:
        date - The date value
      • writePublished

        StreamWriter writePublished​(java.lang.String date)
        Deprecated.
        Write an atom:published element
        Parameters:
        date - The date value
      • writeEdited

        StreamWriter writeEdited​(java.lang.String date)
        Deprecated.
        Write an atom:edited element
        Parameters:
        date - The date value
      • writeDate

        StreamWriter writeDate​(javax.xml.namespace.QName qname,
                               java.lang.String date)
        Deprecated.
        Write a Date element
        Parameters:
        qname - The element qname
        date - The date value
      • writeDate

        StreamWriter writeDate​(java.lang.String name,
                               java.lang.String namespace,
                               java.lang.String prefix,
                               java.lang.String date)
        Deprecated.
        Write a Date element
        Parameters:
        name - The element localname
        namespace - The element namespace
        prefix - The element prefix
        date - The date value
      • writeDate

        StreamWriter writeDate​(java.lang.String name,
                               java.lang.String namespace,
                               java.lang.String date)
        Deprecated.
        Write a Date element
        Parameters:
        name - The element localname
        namespace - The element namespace
        date - The date value
      • writeDate

        StreamWriter writeDate​(java.lang.String name,
                               java.lang.String date)
        Deprecated.
        Write a Date element
        Parameters:
        name - The element localname
        date - The date value
      • endPerson

        StreamWriter endPerson()
        Deprecated.
        End the person element
      • endLink

        StreamWriter endLink()
        Deprecated.
        End the atom:link
      • writeLink

        StreamWriter writeLink​(java.lang.String iri)
        Deprecated.
        Write an atom:link element
        Parameters:
        iri - The href value
      • writeLink

        StreamWriter writeLink​(java.lang.String iri,
                               java.lang.String rel)
        Deprecated.
        Write an atom:link element
        Parameters:
        iri - The href value
        rel - The rel value
      • writeLink

        StreamWriter writeLink​(java.lang.String iri,
                               java.lang.String rel,
                               java.lang.String type)
        Deprecated.
        Write an atom:link element
        Parameters:
        iri - The href value
        rel - The rel value
        type - The type value
      • writeLink

        StreamWriter writeLink​(java.lang.String iri,
                               java.lang.String rel,
                               java.lang.String type,
                               java.lang.String title,
                               java.lang.String hreflang,
                               long length)
        Deprecated.
        Write an atom:link element
        Parameters:
        iri - The href value
        rel - The rel value
        type - The type value
        title - The title value
        hreflang - The hreflang value
        length - The link length
      • startLink

        StreamWriter startLink​(java.lang.String iri)
        Deprecated.
        Start an atom:link element
        Parameters:
        iri - The href value
      • startLink

        StreamWriter startLink​(java.lang.String iri,
                               java.lang.String rel)
        Deprecated.
        Start an atom:link element
        Parameters:
        iri - The href value
        rel - The rel value
      • startLink

        StreamWriter startLink​(java.lang.String iri,
                               java.lang.String rel,
                               java.lang.String type)
        Deprecated.
        Start an atom:link element
        Parameters:
        iri - The href value
        rel - The rel value
        type - The type value
      • startLink

        StreamWriter startLink​(java.lang.String iri,
                               java.lang.String rel,
                               java.lang.String type,
                               java.lang.String title,
                               java.lang.String hreflang,
                               long length)
        Deprecated.
        Start an atom:link element
        Parameters:
        iri - The href value
        rel - The rel value
        type - The type value
        title - The title value
        hreflang - The hreflang value
        length - The link length
      • endCategory

        StreamWriter endCategory()
        Deprecated.
        End the atom:category
      • writeCategory

        StreamWriter writeCategory​(java.lang.String term)
        Deprecated.
        Write an atom:category element
        Parameters:
        term - The term value
      • writeCategory

        StreamWriter writeCategory​(java.lang.String term,
                                   java.lang.String scheme)
        Deprecated.
        Write an atom:category element
        Parameters:
        term - The term value
        scheme - The term value
      • writeCategory

        StreamWriter writeCategory​(java.lang.String term,
                                   java.lang.String scheme,
                                   java.lang.String label)
        Deprecated.
        Write an atom:category element
        Parameters:
        term - The term value
        scheme - The term value
        label - The term value
      • startCategory

        StreamWriter startCategory​(java.lang.String term)
        Deprecated.
        Start an atom:category element
        Parameters:
        term - The term value
      • startCategory

        StreamWriter startCategory​(java.lang.String term,
                                   java.lang.String scheme)
        Deprecated.
        Start an atom:category element
        Parameters:
        term - The term value
        scheme - The term value
      • startCategory

        StreamWriter startCategory​(java.lang.String term,
                                   java.lang.String scheme,
                                   java.lang.String label)
        Deprecated.
        Start an atom:category element
        Parameters:
        term - The term value
        scheme - The term value
        label - The term value
      • startSource

        StreamWriter startSource()
        Deprecated.
        Start an atom:source element
      • endSource

        StreamWriter endSource()
        Deprecated.
        End the atom:source
      • writeText

        StreamWriter writeText​(javax.xml.namespace.QName qname,
                               Text.Type type,
                               java.lang.String value)
        Deprecated.
        Write a Text element
        Parameters:
        qname - The element qname
        type - The text type
        value - The text value
      • writeText

        StreamWriter writeText​(java.lang.String name,
                               Text.Type type,
                               java.lang.String value)
        Deprecated.
        Write a Text element
        Parameters:
        name - The element name
        type - The text type
        value - The text value
      • writeText

        StreamWriter writeText​(java.lang.String name,
                               java.lang.String namespace,
                               Text.Type type,
                               java.lang.String value)
        Deprecated.
        Write a Text element
        Parameters:
        name - The element name
        namespace - The element namespace
        type - The text type
        value - The text value
      • writeText

        StreamWriter writeText​(java.lang.String name,
                               java.lang.String namespace,
                               java.lang.String prefix,
                               Text.Type type,
                               java.lang.String value)
        Deprecated.
        Write a Text element
        Parameters:
        name - The element name
        namespace - The element namespace
        prefix - The element prefix
        type - The text type
        value - The text value
      • startText

        StreamWriter startText​(javax.xml.namespace.QName qname,
                               Text.Type type)
        Deprecated.
        Start a Text element
        Parameters:
        qname - The element qname
        type - The text type
      • startText

        StreamWriter startText​(java.lang.String name,
                               Text.Type type)
        Deprecated.
        Start a Text element
        Parameters:
        name - The element name
        type - The text type
        value - The text value
      • startText

        StreamWriter startText​(java.lang.String name,
                               java.lang.String namespace,
                               Text.Type type)
        Deprecated.
        Start a Text element
        Parameters:
        name - The element name
        namespace - The element namespace
        type - The text type
        value - The text value
      • startText

        StreamWriter startText​(java.lang.String name,
                               java.lang.String namespace,
                               java.lang.String prefix,
                               Text.Type type)
        Deprecated.
        Start a Text element
        Parameters:
        name - The element name
        namespace - The element namespace
        prefix - The element prefix
        type - The text type
        value - The text value
      • endContent

        StreamWriter endContent()
        Deprecated.
        End the atom:content element
      • writeContent

        StreamWriter writeContent​(Content.Type type,
                                  java.lang.String value)
        Deprecated.
        Write an atom:content element
        Parameters:
        type - The text type
        value - The text value
      • writeContent

        StreamWriter writeContent​(Content.Type type,
                                  java.io.InputStream value)
                           throws java.io.IOException
        Deprecated.
        Write an atom:content element
        Parameters:
        type - The text type
        value - The text value
        Throws:
        java.io.IOException
      • writeContent

        StreamWriter writeContent​(Content.Type type,
                                  javax.activation.DataHandler value)
                           throws java.io.IOException
        Deprecated.
        Write an atom:content element
        Parameters:
        type - The text type
        value - The text value
        Throws:
        java.io.IOException
      • writeContent

        StreamWriter writeContent​(java.lang.String type,
                                  java.lang.String value)
        Deprecated.
        Write an atom:content element
        Parameters:
        type - The text type
        value - The text value
      • startContent

        StreamWriter startContent​(Content.Type type)
        Deprecated.
        Start an atom:content element
        Parameters:
        type - The text type
      • startContent

        StreamWriter startContent​(java.lang.String type)
        Deprecated.
        Start an atom:content element
        Parameters:
        type - The text type
      • startContent

        StreamWriter startContent​(Content.Type type,
                                  java.lang.String src)
        Deprecated.
        Start an atom:content element
        Parameters:
        type - The text type
        src - The src value
      • startContent

        StreamWriter startContent​(java.lang.String type,
                                  java.lang.String src)
        Deprecated.
        Start an atom:content element
        Parameters:
        type - The text type
        src - The src value
      • startElement

        StreamWriter startElement​(javax.xml.namespace.QName qname)
        Deprecated.
        Start an element
        Parameters:
        qname - Element qname
      • startElement

        StreamWriter startElement​(java.lang.String name)
        Deprecated.
        Start an element
      • startElement

        StreamWriter startElement​(java.lang.String name,
                                  java.lang.String namespace)
        Deprecated.
        Start an element
      • startElement

        StreamWriter startElement​(java.lang.String name,
                                  java.lang.String namespace,
                                  java.lang.String prefix)
        Deprecated.
        Start an element
      • writeElementText

        StreamWriter writeElementText​(java.lang.String format,
                                      java.lang.Object... params)
        Deprecated.
        Write element text using Formatter
        Parameters:
        format -
        params -
      • writeElementText

        StreamWriter writeElementText​(java.lang.String value)
        Deprecated.
        Write element text
        Parameters:
        value - The text value
      • writeElementText

        StreamWriter writeElementText​(javax.activation.DataHandler datahandler)
                               throws java.io.IOException
        Deprecated.
        Write element text
        Parameters:
        datahandler - The text value
        Throws:
        java.io.IOException
      • writeElementText

        StreamWriter writeElementText​(java.io.InputStream in)
                               throws java.io.IOException
        Deprecated.
        Write element text
        Parameters:
        in - The text value
        Throws:
        java.io.IOException
      • writeElementText

        StreamWriter writeElementText​(java.util.Date value)
        Deprecated.
        Write element text
        Parameters:
        value - The text value
      • writeElementText

        StreamWriter writeElementText​(int value)
        Deprecated.
        Write element text
        Parameters:
        value - The text value
      • writeElementText

        StreamWriter writeElementText​(long value)
        Deprecated.
        Write element text
        Parameters:
        value - The text value
      • writeElementText

        StreamWriter writeElementText​(double value)
        Deprecated.
        Write element text
        Parameters:
        value - The text value
      • endElement

        StreamWriter endElement()
        Deprecated.
        End the element
      • writeTitle

        StreamWriter writeTitle​(java.lang.String value)
        Deprecated.
        Write an atom:title element
        Parameters:
        value - The text value
      • writeTitle

        StreamWriter writeTitle​(Text.Type type,
                                java.lang.String value)
        Deprecated.
        Write an atom:title element
        Parameters:
        type - The text type
        value - The text value
      • writeSubtitle

        StreamWriter writeSubtitle​(java.lang.String value)
        Deprecated.
        Write an atom:subtitle element
        Parameters:
        value - The text value
      • writeSubtitle

        StreamWriter writeSubtitle​(Text.Type type,
                                   java.lang.String value)
        Deprecated.
        Write an atom:subtitle element
        Parameters:
        type - The text type
        value - The text value
      • writeSummary

        StreamWriter writeSummary​(java.lang.String value)
        Deprecated.
        Write an atom:summary element
        Parameters:
        value - The text value
      • writeSummary

        StreamWriter writeSummary​(Text.Type type,
                                  java.lang.String value)
        Deprecated.
        Write an atom:summary element
        Parameters:
        type - The text type
        value - The text value
      • writeRights

        StreamWriter writeRights​(java.lang.String value)
        Deprecated.
        Write an atom:rights element
        Parameters:
        value - The text value
      • writeRights

        StreamWriter writeRights​(Text.Type type,
                                 java.lang.String value)
        Deprecated.
        Write an atom:rights element
        Parameters:
        type - The text type
        value - The text value
      • writePerson

        StreamWriter writePerson​(javax.xml.namespace.QName qname,
                                 java.lang.String name,
                                 java.lang.String email,
                                 java.lang.String uri)
        Deprecated.
        Write a person element
        Parameters:
        qname - the element qname
        name - The person name
        email - The person email
        uri - The person uri
      • writePerson

        StreamWriter writePerson​(java.lang.String localname,
                                 java.lang.String name,
                                 java.lang.String email,
                                 java.lang.String uri)
        Deprecated.
        Write a person element
        Parameters:
        localhost - the element name
        name - The person name
        email - The person email
        uri - The person uri
      • writePerson

        StreamWriter writePerson​(java.lang.String localname,
                                 java.lang.String namespace,
                                 java.lang.String name,
                                 java.lang.String email,
                                 java.lang.String uri)
        Deprecated.
        Write a person element
        Parameters:
        localhost - the element name
        namespace - the element namespace
        name - The person name
        email - The person email
        uri - The person uri
      • writePerson

        StreamWriter writePerson​(java.lang.String localname,
                                 java.lang.String namespace,
                                 java.lang.String prefix,
                                 java.lang.String name,
                                 java.lang.String email,
                                 java.lang.String uri)
        Deprecated.
        Write a person element
        Parameters:
        localhost - the element name
        namespace - the element namespace
        prefix - the element prefix
        name - The person name
        email - The person email
        uri - The person uri
      • startPerson

        StreamWriter startPerson​(javax.xml.namespace.QName qname)
        Deprecated.
        Start a person element
        Parameters:
        qname - The element qname
      • startPerson

        StreamWriter startPerson​(java.lang.String name)
        Deprecated.
        Start a person element
        Parameters:
        name - The element name
      • startPerson

        StreamWriter startPerson​(java.lang.String name,
                                 java.lang.String namespace)
        Deprecated.
        Start a person element
        Parameters:
        name - The element name
        namespace - The element namespace
      • startPerson

        StreamWriter startPerson​(java.lang.String name,
                                 java.lang.String namespace,
                                 java.lang.String prefix)
        Deprecated.
        Start a person element
        Parameters:
        name - The element name
        namespace - The element namespace
        prefix - The element prefix
      • writePersonName

        StreamWriter writePersonName​(java.lang.String name)
        Deprecated.
        Write a person name
        Parameters:
        name - The person name
      • writePersonEmail

        StreamWriter writePersonEmail​(java.lang.String email)
        Deprecated.
        Write a person email
        Parameters:
        email - The person email
      • writePersonUri

        StreamWriter writePersonUri​(java.lang.String uri)
        Deprecated.
        Write a person uri
        Parameters:
        uri - The person uri
      • writeAuthor

        StreamWriter writeAuthor​(java.lang.String name,
                                 java.lang.String email,
                                 java.lang.String uri)
        Deprecated.
        Write an atom:author element
        Parameters:
        name - The person name
        email - The person email
        uri - The person uri
      • writeAuthor

        StreamWriter writeAuthor​(java.lang.String name)
        Deprecated.
        Write an atom:author element
        Parameters:
        name - The person name
      • startAuthor

        StreamWriter startAuthor()
        Deprecated.
        Start an atom:author element
      • endAuthor

        StreamWriter endAuthor()
        Deprecated.
        End the atom:author element
      • writeContributor

        StreamWriter writeContributor​(java.lang.String name,
                                      java.lang.String email,
                                      java.lang.String uri)
        Deprecated.
        Write an atom:contributor element
        Parameters:
        name - The person name
        email - The person email
        uri - The person uri
      • writeContributor

        StreamWriter writeContributor​(java.lang.String name)
        Deprecated.
        Write an atom:contributor element
        Parameters:
        name - The person name
      • startContributor

        StreamWriter startContributor()
        Deprecated.
        Start an atom:contributor element
      • endContributor

        StreamWriter endContributor()
        Deprecated.
        End an atom:contributor element
      • writeGenerator

        StreamWriter writeGenerator​(java.lang.String version,
                                    java.lang.String uri,
                                    java.lang.String value)
        Deprecated.
        Write an atom:generator element
        Parameters:
        version - The version value
        uri - The uri value
        value - The text value
      • startGenerator

        StreamWriter startGenerator​(java.lang.String version,
                                    java.lang.String uri)
        Deprecated.
        Start an atom:generator element
        Parameters:
        version - The version value
        uri - The uri value
      • endGenerator

        StreamWriter endGenerator()
        Deprecated.
        End the atom:generator element
      • writeComment

        StreamWriter writeComment​(java.lang.String value)
        Deprecated.
        Write an XML comment
      • writePI

        StreamWriter writePI​(java.lang.String value)
        Deprecated.
        Write an XML Processing Instruction
      • writePI

        StreamWriter writePI​(java.lang.String value,
                             java.lang.String target)
        Deprecated.
        Write an XML Processing Instruction
      • startService

        StreamWriter startService()
        Deprecated.
        Start an app:service element
      • endService

        StreamWriter endService()
        Deprecated.
        End an app:service element
      • startWorkspace

        StreamWriter startWorkspace()
        Deprecated.
        Start an app:workspace element
      • endWorkspace

        StreamWriter endWorkspace()
        Deprecated.
        End an app:workspace element
      • startCollection

        StreamWriter startCollection​(java.lang.String href)
        Deprecated.
        Start an app:collection element
        Parameters:
        href - The href value
      • endCollection

        StreamWriter endCollection()
        Deprecated.
        End an app:collection element
      • writeAccepts

        StreamWriter writeAccepts​(java.lang.String... accepts)
        Deprecated.
        Writes app:accept elements
        Parameters:
        accepts - accept element values
      • writeAcceptsEntry

        StreamWriter writeAcceptsEntry()
        Deprecated.
        Writes an app:accept element indicating that entries are accepted
      • writeAcceptsNothing

        StreamWriter writeAcceptsNothing()
        Deprecated.
        Writes an app:accept element indicating that nothing is accepted
      • startCategories

        StreamWriter startCategories()
        Deprecated.
        Start an app:categories element
      • startCategories

        StreamWriter startCategories​(boolean fixed)
        Deprecated.
        Start an app:categories element
        Parameters:
        fixed - True if the app:categories element is fixed
      • startCategories

        StreamWriter startCategories​(boolean fixed,
                                     java.lang.String scheme)
        Deprecated.
        Start an app:categories element
        Parameters:
        fixed - True if the app:categories element is fixed
        scheme - The scheme value
      • endCategories

        StreamWriter endCategories()
        Deprecated.
        End the app:categories element
      • startControl

        StreamWriter startControl()
        Deprecated.
        Start the app:control element
      • endControl

        StreamWriter endControl()
        Deprecated.
        End the app:control element
      • writeDraft

        StreamWriter writeDraft​(boolean draft)
        Deprecated.
        Write an app:draft element
        Parameters:
        draft - true if app:draft=yes
      • writeAttribute

        StreamWriter writeAttribute​(javax.xml.namespace.QName qname,
                                    java.lang.String value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.lang.String value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.lang.String prefix,
                                    java.lang.String value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(javax.xml.namespace.QName qname,
                                    java.util.Date value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.util.Date value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.util.Date value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.lang.String prefix,
                                    java.util.Date value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(javax.xml.namespace.QName qname,
                                    int value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    int value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    int value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.lang.String prefix,
                                    int value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(javax.xml.namespace.QName qname,
                                    long value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    long value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    long value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.lang.String prefix,
                                    long value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(javax.xml.namespace.QName qname,
                                    double value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    double value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    double value)
        Deprecated.
        Write an attribute
      • writeAttribute

        StreamWriter writeAttribute​(java.lang.String name,
                                    java.lang.String namespace,
                                    java.lang.String prefix,
                                    double value)
        Deprecated.
        Write an attribute
      • indent

        StreamWriter indent()
        Deprecated.
        Write a new line and indent
      • setAutoIndent

        StreamWriter setAutoIndent​(boolean indent)
        Deprecated.
        True to enable automatic indenting
      • writeBase

        StreamWriter writeBase​(java.lang.String iri)
        Deprecated.
        Write the xml:base attribute
      • writeBase

        StreamWriter writeBase​(IRI iri)
        Deprecated.
        Write the xml:base attribute
      • writeLanguage

        StreamWriter writeLanguage​(java.lang.String lang)
        Deprecated.
        Write the xml:lang attribute
      • writeLanguage

        StreamWriter writeLanguage​(Lang lang)
        Deprecated.
        Write the xml:lang attribute
      • writeLanguage

        StreamWriter writeLanguage​(java.util.Locale locale)
        Deprecated.
        Write the xml:lang attribute
      • setPrefix

        StreamWriter setPrefix​(java.lang.String prefix,
                               java.lang.String uri)
        Deprecated.
        Specify the namespace prefix
      • writeNamespace

        StreamWriter writeNamespace​(java.lang.String prefix,
                                    java.lang.String uri)
        Deprecated.
        Write a namespace declaration