Class FOMCollection

  • All Implemented Interfaces:
    Cloneable, Iterable<org.apache.abdera.model.Element>, org.apache.abdera.model.Base, org.apache.abdera.model.Collection, org.apache.abdera.model.Element, org.apache.abdera.model.ExtensibleElement, org.apache.abdera.util.Constants, org.apache.axiom.om.impl.llom.IChildNode, org.apache.axiom.om.impl.llom.IContainer, org.apache.axiom.om.impl.llom.IElement, org.apache.axiom.om.impl.llom.IParentNode, org.apache.axiom.om.impl.OMContainerEx, org.apache.axiom.om.impl.OMElementEx, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMConstants, org.apache.axiom.om.OMContainer, org.apache.axiom.om.OMElement, org.apache.axiom.om.OMInformationItem, org.apache.axiom.om.OMNamedInformationItem, org.apache.axiom.om.OMNode, org.apache.axiom.om.OMSerializable
    Direct Known Subclasses:
    FOMMultipartCollection

    @Deprecated
    public class FOMCollection
    extends FOMExtensibleElement
    implements org.apache.abdera.model.Collection
    Deprecated.
    • Field Summary

      • Fields inherited from interface org.apache.abdera.util.Constants

        ACCEPT, AID, ALTERNATE, APP_MEDIA_TYPE, APP_NS, APP_NS_PRE_RFC, APP_PREFIX, ATITLE, ATOM_MEDIA_TYPE, ATOM_NS, AURI, AUTHOR, BASE, CAT_MEDIA_TYPE, CATEGORIES, CATEGORY, CLASS, COLLECTION, CONFIG_FACTORY, CONFIG_PARSER, CONFIG_PARSERFACTORY, CONFIG_STREAMWRITER, CONFIG_WRITER, CONFIG_WRITERFACTORY, CONFIG_XPATH, CONTENT, CONTRIBUTOR, CONTROL, CONTROL_NS, CONTROL_PREFIX, DEFAULT_FACTORY, DEFAULT_PARSER, DEFAULT_PARSERFACTORY, DEFAULT_STREAMWRITER, DEFAULT_WRITER, DEFAULT_WRITERFACTORY, DEFAULT_XPATH, DIV, DRAFT, EDITED, EMAIL, ENTRY_MEDIA_TYPE, FEED, FEED_MEDIA_TYPE, FIXED, GENERATOR, HREF, HREFLANG, HTML, ICON, ID, LABEL, LANG, LENGTH, LINK, LN_ACCEPT, LN_ALTERNATE, LN_ALTERNATE_MULTIPART_RELATED, LN_AUTHOR, LN_BASE, LN_CATEGORIES, LN_CATEGORY, LN_CLASS, LN_COLLECTION, LN_CONTENT, LN_CONTRIBUTOR, LN_CONTROL, LN_DIV, LN_DRAFT, LN_EDITED, LN_EMAIL, LN_ENTRY, LN_FEED, LN_FIXED, LN_GENERATOR, LN_HREF, LN_HREFLANG, LN_ICON, LN_ID, LN_LABEL, LN_LANG, LN_LENGTH, LN_LINK, LN_LOGO, LN_NAME, LN_PUBLISHED, LN_REL, LN_RIGHTS, LN_SCHEME, LN_SERVICE, LN_SOURCE, LN_SPACE, LN_SRC, LN_SUBTITLE, LN_SUMMARY, LN_TERM, LN_TITLE, LN_TYPE, LN_UPDATED, LN_URI, LN_VERSION, LN_WORKSPACE, LOGO, MULTIPART_RELATED_TYPE, NAME, NAMED_PARSER, NAMED_WRITER, NO, PRE_RFC_ACCEPT, PRE_RFC_CATEGORIES, PRE_RFC_COLLECTION, PRE_RFC_CONTROL, PRE_RFC_DRAFT, PRE_RFC_EDITED, PRE_RFC_SERVICE, PRE_RFC_WORKSPACE, PREFIX, PREFIXED_TITLE, PUBLISHED, REL, RIGHTS, SCHEME, SERVICE, SOURCE, SPACE, SRC, STREAM_WRITER, SUBTITLE, SUMMARY, TERM, TEXT, TITLE, TYPE, UPDATED, URI, VERSION, WORKSPACE, XHTML, XHTML_NS, XML, XML_MEDIA_TYPE, XML_NS, YES
      • Fields inherited from interface org.apache.axiom.om.impl.llom.IParentNode

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

        ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLATTRTYPE_CDATA, XMLATTRTYPE_ENTITIES, XMLATTRTYPE_ENTITY, XMLATTRTYPE_ID, XMLATTRTYPE_IDREF, XMLATTRTYPE_IDREFS, XMLATTRTYPE_NMTOKEN, XMLATTRTYPE_NMTOKENS, XMLATTRTYPE_NOTATION, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI
      • Fields inherited from interface org.apache.axiom.om.OMNode

        CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean accepts​(String mediaType)
      Deprecated.
       
      boolean accepts​(MimeType mediaType)
      Deprecated.
       
      boolean acceptsEntry()
      Deprecated.
       
      boolean acceptsNothing()
      Deprecated.
       
      org.apache.abdera.model.Collection addAccepts​(String mediaRange)
      Deprecated.
       
      org.apache.abdera.model.Collection addAccepts​(String... mediaRanges)
      Deprecated.
       
      org.apache.abdera.model.Collection addAcceptsEntry()
      Deprecated.
       
      org.apache.abdera.model.Categories addCategories()
      Deprecated.
       
      org.apache.abdera.model.Categories addCategories​(String href)
      Deprecated.
       
      org.apache.abdera.model.Categories addCategories​(List<org.apache.abdera.model.Category> categories, boolean fixed, String scheme)
      Deprecated.
       
      org.apache.abdera.model.Collection addCategories​(org.apache.abdera.model.Categories categories)
      Deprecated.
       
      String[] getAccept()
      Deprecated.
       
      List<org.apache.abdera.model.Categories> getCategories()
      Deprecated.
       
      org.apache.abdera.i18n.iri.IRI getHref()
      Deprecated.
       
      org.apache.abdera.i18n.iri.IRI getResolvedHref()
      Deprecated.
       
      String getTitle()
      Deprecated.
       
      org.apache.abdera.model.Text getTitleElement()
      Deprecated.
       
      org.apache.abdera.model.Collection setAccept​(String mediaRange)
      Deprecated.
       
      org.apache.abdera.model.Collection setAccept​(String... mediaRanges)
      Deprecated.
       
      org.apache.abdera.model.Collection setAcceptsEntry()
      Deprecated.
       
      org.apache.abdera.model.Collection setAcceptsNothing()
      Deprecated.
       
      org.apache.abdera.model.Collection setHref​(String href)
      Deprecated.
       
      org.apache.abdera.model.Text setTitle​(String title)
      Deprecated.
       
      org.apache.abdera.model.Text setTitleAsHtml​(String title)
      Deprecated.
       
      org.apache.abdera.model.Text setTitleAsXHtml​(String title)
      Deprecated.
       
      • Methods inherited from class org.apache.axiom.om.impl.llom.OMElementImpl

        addAttribute, addAttribute, addChild, addChild, addNamespaceDeclaration, build, buildWithAttachments, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, detach, discard, discarded, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getBuilder, getChildElements, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDefaultNamespace, getDescendants, getFirstChildWithName, getFirstElement, getFirstOMChild, getFirstOMChildIfAvailable, getLastKnownOMChild, getLineNumber, getLocalName, getNamespace, getNamespaceContext, getNamespacesInScope, getNamespaceURI, getPrefix, getQName, getSAXSource, getState, getTextAsQName, getTextAsStream, getType, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, internalSerialize, isComplete, removeAttribute, removeChildren, resolveQName, setBuilder, setComplete, setFirstChild, setLastChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
      • Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl

        clone, getIParentNode, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling
      • 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.abdera.model.Base

        addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
      • Methods inherited from interface org.apache.abdera.model.Element

        declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText
      • Methods inherited from interface org.apache.abdera.model.ExtensibleElement

        addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getSimpleExtension, getSimpleExtension
      • Methods inherited from interface org.apache.axiom.om.impl.llom.IChildNode

        getIParentNode
      • Methods inherited from interface org.apache.axiom.om.OMContainer

        addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
      • Methods inherited from interface org.apache.axiom.om.OMElement

        addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
      • Methods inherited from interface org.apache.axiom.om.OMInformationItem

        clone, getOMFactory
      • Methods inherited from interface org.apache.axiom.om.OMNamedInformationItem

        getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName
      • Methods inherited from interface org.apache.axiom.om.OMNode

        buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
      • Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx

        getNextOMSiblingIfAvailable, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling
      • Methods inherited from interface org.apache.axiom.om.OMSerializable

        build, close, isComplete, serialize, serialize, serializeAndConsume
    • Method Detail

      • getTitle

        public String getTitle()
        Deprecated.
        Specified by:
        getTitle in interface org.apache.abdera.model.Collection
      • setTitle

        public org.apache.abdera.model.Text setTitle​(String title)
        Deprecated.
        Specified by:
        setTitle in interface org.apache.abdera.model.Collection
      • setTitleAsHtml

        public org.apache.abdera.model.Text setTitleAsHtml​(String title)
        Deprecated.
        Specified by:
        setTitleAsHtml in interface org.apache.abdera.model.Collection
      • setTitleAsXHtml

        public org.apache.abdera.model.Text setTitleAsXHtml​(String title)
        Deprecated.
        Specified by:
        setTitleAsXHtml in interface org.apache.abdera.model.Collection
      • getTitleElement

        public org.apache.abdera.model.Text getTitleElement()
        Deprecated.
        Specified by:
        getTitleElement in interface org.apache.abdera.model.Collection
      • getHref

        public org.apache.abdera.i18n.iri.IRI getHref()
        Deprecated.
        Specified by:
        getHref in interface org.apache.abdera.model.Collection
      • getResolvedHref

        public org.apache.abdera.i18n.iri.IRI getResolvedHref()
        Deprecated.
        Specified by:
        getResolvedHref in interface org.apache.abdera.model.Collection
      • setHref

        public org.apache.abdera.model.Collection setHref​(String href)
        Deprecated.
        Specified by:
        setHref in interface org.apache.abdera.model.Collection
      • getAccept

        public String[] getAccept()
        Deprecated.
        Specified by:
        getAccept in interface org.apache.abdera.model.Collection
      • setAccept

        public org.apache.abdera.model.Collection setAccept​(String mediaRange)
        Deprecated.
      • setAccept

        public org.apache.abdera.model.Collection setAccept​(String... mediaRanges)
        Deprecated.
        Specified by:
        setAccept in interface org.apache.abdera.model.Collection
      • addAccepts

        public org.apache.abdera.model.Collection addAccepts​(String mediaRange)
        Deprecated.
        Specified by:
        addAccepts in interface org.apache.abdera.model.Collection
      • addAccepts

        public org.apache.abdera.model.Collection addAccepts​(String... mediaRanges)
        Deprecated.
        Specified by:
        addAccepts in interface org.apache.abdera.model.Collection
      • addAcceptsEntry

        public org.apache.abdera.model.Collection addAcceptsEntry()
        Deprecated.
        Specified by:
        addAcceptsEntry in interface org.apache.abdera.model.Collection
      • setAcceptsEntry

        public org.apache.abdera.model.Collection setAcceptsEntry()
        Deprecated.
        Specified by:
        setAcceptsEntry in interface org.apache.abdera.model.Collection
      • setAcceptsNothing

        public org.apache.abdera.model.Collection setAcceptsNothing()
        Deprecated.
        Specified by:
        setAcceptsNothing in interface org.apache.abdera.model.Collection
      • acceptsEntry

        public boolean acceptsEntry()
        Deprecated.
        Specified by:
        acceptsEntry in interface org.apache.abdera.model.Collection
      • acceptsNothing

        public boolean acceptsNothing()
        Deprecated.
        Specified by:
        acceptsNothing in interface org.apache.abdera.model.Collection
      • accepts

        public boolean accepts​(String mediaType)
        Deprecated.
        Specified by:
        accepts in interface org.apache.abdera.model.Collection
      • accepts

        public boolean accepts​(MimeType mediaType)
        Deprecated.
        Specified by:
        accepts in interface org.apache.abdera.model.Collection
      • addCategories

        public org.apache.abdera.model.Categories addCategories()
        Deprecated.
        Specified by:
        addCategories in interface org.apache.abdera.model.Collection
      • addCategories

        public org.apache.abdera.model.Collection addCategories​(org.apache.abdera.model.Categories categories)
        Deprecated.
        Specified by:
        addCategories in interface org.apache.abdera.model.Collection
      • addCategories

        public org.apache.abdera.model.Categories addCategories​(String href)
        Deprecated.
        Specified by:
        addCategories in interface org.apache.abdera.model.Collection
      • addCategories

        public org.apache.abdera.model.Categories addCategories​(List<org.apache.abdera.model.Category> categories,
                                                                boolean fixed,
                                                                String scheme)
        Deprecated.
        Specified by:
        addCategories in interface org.apache.abdera.model.Collection
      • getCategories

        public List<org.apache.abdera.model.Categories> getCategories()
        Deprecated.
        Specified by:
        getCategories in interface org.apache.abdera.model.Collection