Class FOMDocument<T extends org.apache.abdera.model.Element>

  • All Implemented Interfaces:
    Serializable, Cloneable, org.apache.abdera.model.Base, org.apache.abdera.model.Document<T>, org.apache.axiom.om.impl.llom.IContainer, org.apache.axiom.om.impl.llom.IParentNode, org.apache.axiom.om.impl.OMContainerEx, org.apache.axiom.om.OMContainer, org.apache.axiom.om.OMDocument, org.apache.axiom.om.OMInformationItem, org.apache.axiom.om.OMSerializable

    @Deprecated
    public class FOMDocument<T extends org.apache.abdera.model.Element>
    extends org.apache.axiom.om.impl.llom.OMDocumentImpl
    implements org.apache.abdera.model.Document<T>
    Deprecated.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.apache.axiom.om.impl.llom.IParentNode

        COMPLETE, DISCARDED, INCOMPLETE
      • Fields inherited from interface org.apache.axiom.om.OMDocument

        XML_10, XML_11
    • Constructor Summary

      Constructors 
      Constructor Description
      FOMDocument()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      <X extends org.apache.abdera.model.Base>
      X
      addComment​(String value)
      Deprecated.
       
      org.apache.abdera.model.Document<T> addProcessingInstruction​(String target, String value)
      Deprecated.
       
      org.apache.abdera.model.Document<T> addStylesheet​(String href, String media)
      Deprecated.
       
      Object clone()
      Deprecated.
       
      <X extends org.apache.abdera.model.Base>
      X
      complete()
      Deprecated.
      Ensure that the underlying streams are fully parsed.
      org.apache.abdera.i18n.iri.IRI getBaseUri()
      Deprecated.
       
      String getCharset()
      Deprecated.
       
      MimeType getContentType()
      Deprecated.
       
      org.apache.abdera.writer.WriterOptions getDefaultWriterOptions()
      Deprecated.
       
      org.apache.abdera.util.EntityTag getEntityTag()
      Deprecated.
       
      org.apache.abdera.factory.Factory getFactory()
      Deprecated.
       
      String getLanguage()
      Deprecated.
       
      org.apache.abdera.i18n.rfc4646.Lang getLanguageTag()
      Deprecated.
       
      Date getLastModified()
      Deprecated.
       
      boolean getMustPreserveWhitespace()
      Deprecated.
       
      String[] getProcessingInstruction​(String target)
      Deprecated.
       
      T getRoot()
      Deprecated.
       
      String getSlug()
      Deprecated.
       
      org.apache.abdera.util.XmlUtil.XMLVersion getXmlVersion()
      Deprecated.
       
      org.apache.abdera.model.Document<T> setBaseUri​(String base)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setCharset​(String charset)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setContentType​(String contentType)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setEntityTag​(String tag)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setEntityTag​(org.apache.abdera.util.EntityTag tag)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setLanguage​(String lang)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setLastModified​(Date lastModified)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setMustPreserveWhitespace​(boolean preserve)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setRoot​(T root)
      Deprecated.
       
      org.apache.abdera.model.Document<T> setSlug​(String slug)
      Deprecated.
       
      String toFormattedString()
      Deprecated.
       
      void writeTo​(OutputStream out)
      Deprecated.
       
      void writeTo​(OutputStream out, org.apache.abdera.writer.WriterOptions options)
      Deprecated.
       
      void writeTo​(Writer writer)
      Deprecated.
       
      void writeTo​(Writer out, org.apache.abdera.writer.WriterOptions options)
      Deprecated.
       
      void writeTo​(String writer, OutputStream out)
      Deprecated.
       
      void writeTo​(String writer, OutputStream out, org.apache.abdera.writer.WriterOptions options)
      Deprecated.
       
      void writeTo​(String writer, Writer out)
      Deprecated.
       
      void writeTo​(String writer, Writer out, org.apache.abdera.writer.WriterOptions options)
      Deprecated.
       
      void writeTo​(org.apache.abdera.writer.Writer writer, OutputStream out)
      Deprecated.
       
      void writeTo​(org.apache.abdera.writer.Writer writer, OutputStream out, org.apache.abdera.writer.WriterOptions options)
      Deprecated.
       
      void writeTo​(org.apache.abdera.writer.Writer writer, Writer out)
      Deprecated.
       
      void writeTo​(org.apache.abdera.writer.Writer writer, Writer out, org.apache.abdera.writer.WriterOptions options)
      Deprecated.
       
      • Methods inherited from class org.apache.axiom.om.impl.llom.OMDocumentImpl

        addChild, addChild, build, clone, discarded, getBuilder, getCharsetEncoding, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastKnownOMChild, getOMDocumentElement, getSAXSource, getState, getXMLEncoding, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, getXMLVersion, internalSerialize, internalSerialize, internalSerializeAndConsume, isComplete, isStandalone, removeChildren, setCharsetEncoding, setComplete, setFirstChild, setLastChild, setOMDocumentElement, setStandalone, setXMLEncoding, setXMLVersion
      • Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl

        close, getOMFactory, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
      • Methods inherited from interface org.apache.axiom.om.OMContainer

        serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
      • Methods inherited from interface org.apache.axiom.om.OMInformationItem

        getOMFactory
      • Methods inherited from interface org.apache.axiom.om.OMSerializable

        close, serialize, serialize, serializeAndConsume
    • Constructor Detail

      • FOMDocument

        public FOMDocument()
        Deprecated.
    • Method Detail

      • getRoot

        public T getRoot()
        Deprecated.
        Specified by:
        getRoot in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setRoot

        public org.apache.abdera.model.Document<T> setRoot​(T root)
        Deprecated.
        Specified by:
        setRoot in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getBaseUri

        public org.apache.abdera.i18n.iri.IRI getBaseUri()
        Deprecated.
        Specified by:
        getBaseUri in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setBaseUri

        public org.apache.abdera.model.Document<T> setBaseUri​(String base)
        Deprecated.
        Specified by:
        setBaseUri in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • writeTo

        public void writeTo​(OutputStream out,
                            org.apache.abdera.writer.WriterOptions options)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(Writer out,
                            org.apache.abdera.writer.WriterOptions options)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(org.apache.abdera.writer.Writer writer,
                            OutputStream out)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(org.apache.abdera.writer.Writer writer,
                            Writer out)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(org.apache.abdera.writer.Writer writer,
                            OutputStream out,
                            org.apache.abdera.writer.WriterOptions options)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(org.apache.abdera.writer.Writer writer,
                            Writer out,
                            org.apache.abdera.writer.WriterOptions options)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(OutputStream out)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(Writer writer)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • getContentType

        public MimeType getContentType()
        Deprecated.
        Specified by:
        getContentType in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setContentType

        public org.apache.abdera.model.Document<T> setContentType​(String contentType)
        Deprecated.
        Specified by:
        setContentType in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getLastModified

        public Date getLastModified()
        Deprecated.
        Specified by:
        getLastModified in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setLastModified

        public org.apache.abdera.model.Document<T> setLastModified​(Date lastModified)
        Deprecated.
        Specified by:
        setLastModified in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • clone

        public Object clone()
        Deprecated.
        Specified by:
        clone in interface org.apache.abdera.model.Base
      • getCharset

        public String getCharset()
        Deprecated.
        Specified by:
        getCharset in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setCharset

        public org.apache.abdera.model.Document<T> setCharset​(String charset)
        Deprecated.
        Specified by:
        setCharset in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getFactory

        public org.apache.abdera.factory.Factory getFactory()
        Deprecated.
        Specified by:
        getFactory in interface org.apache.abdera.model.Base
      • getProcessingInstruction

        public String[] getProcessingInstruction​(String target)
        Deprecated.
        Specified by:
        getProcessingInstruction in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • addProcessingInstruction

        public org.apache.abdera.model.Document<T> addProcessingInstruction​(String target,
                                                                            String value)
        Deprecated.
        Specified by:
        addProcessingInstruction in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • addStylesheet

        public org.apache.abdera.model.Document<T> addStylesheet​(String href,
                                                                 String media)
        Deprecated.
        Specified by:
        addStylesheet in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • addComment

        public <X extends org.apache.abdera.model.Base> X addComment​(String value)
        Deprecated.
        Specified by:
        addComment in interface org.apache.abdera.model.Base
      • getEntityTag

        public org.apache.abdera.util.EntityTag getEntityTag()
        Deprecated.
        Specified by:
        getEntityTag in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setEntityTag

        public org.apache.abdera.model.Document<T> setEntityTag​(org.apache.abdera.util.EntityTag tag)
        Deprecated.
        Specified by:
        setEntityTag in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setEntityTag

        public org.apache.abdera.model.Document<T> setEntityTag​(String tag)
        Deprecated.
        Specified by:
        setEntityTag in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getLanguage

        public String getLanguage()
        Deprecated.
        Specified by:
        getLanguage in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getLanguageTag

        public org.apache.abdera.i18n.rfc4646.Lang getLanguageTag()
        Deprecated.
        Specified by:
        getLanguageTag in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setLanguage

        public org.apache.abdera.model.Document<T> setLanguage​(String lang)
        Deprecated.
        Specified by:
        setLanguage in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getSlug

        public String getSlug()
        Deprecated.
        Specified by:
        getSlug in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setSlug

        public org.apache.abdera.model.Document<T> setSlug​(String slug)
        Deprecated.
        Specified by:
        setSlug in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getMustPreserveWhitespace

        public boolean getMustPreserveWhitespace()
        Deprecated.
        Specified by:
        getMustPreserveWhitespace in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • setMustPreserveWhitespace

        public org.apache.abdera.model.Document<T> setMustPreserveWhitespace​(boolean preserve)
        Deprecated.
        Specified by:
        setMustPreserveWhitespace in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getXmlVersion

        public org.apache.abdera.util.XmlUtil.XMLVersion getXmlVersion()
        Deprecated.
        Specified by:
        getXmlVersion in interface org.apache.abdera.model.Document<T extends org.apache.abdera.model.Element>
      • getDefaultWriterOptions

        public org.apache.abdera.writer.WriterOptions getDefaultWriterOptions()
        Deprecated.
        Specified by:
        getDefaultWriterOptions in interface org.apache.abdera.model.Base
      • complete

        public <X extends org.apache.abdera.model.Base> X complete()
        Deprecated.
        Ensure that the underlying streams are fully parsed. We might eventually need to find a more efficient way of doing this, but for now, calling toString() will ensure that this particular object is fully parsed and ready to be modified.
        Specified by:
        complete in interface org.apache.abdera.model.Base
      • writeTo

        public void writeTo​(String writer,
                            Writer out)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(String writer,
                            OutputStream out,
                            org.apache.abdera.writer.WriterOptions options)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • writeTo

        public void writeTo​(String writer,
                            Writer out,
                            org.apache.abdera.writer.WriterOptions options)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface org.apache.abdera.model.Base
        Throws:
        IOException
      • toFormattedString

        public String toFormattedString()
        Deprecated.