Apache Abdera API

Uses of Interface
org.apache.abdera.model.Element

Packages that use Element
org.apache.abdera.factory   
org.apache.abdera.model   
org.apache.abdera.parser   
org.apache.abdera.protocol.client   
org.apache.abdera.protocol.error   
org.apache.abdera.protocol.server   
org.apache.abdera.protocol.server.context   
org.apache.abdera.security   
 

Uses of Element in org.apache.abdera.factory
 

Methods in org.apache.abdera.factory with type parameters of type Element
<T extends Element>
T
ExtensionFactory.getElementWrapper(Element internal)
          Abdera's support for static extensions is based on a simple delegation model.
<T extends Element>
T
ExtensionFactoryMap.getElementWrapper(Element internal)
           
<T extends Element>
Document<T>
Factory.newDocument()
          Create a new Document instance with a root Element of type T.
<T extends Element>
T
Factory.newElement(QName qname)
          Create a new Element with the given QName.
<T extends Element>
T
Factory.newElement(QName qname, Base parent)
          Create a new Element with the given QName as a child of the given Base.
<T extends Element>
T
Factory.newExtensionElement(QName qname)
          Create a new extension element with the given QName.
<T extends Element>
T
Factory.newExtensionElement(QName qname, Base parent)
          Create a new extension element with the given QName as a child of the given Base.
 

Methods in org.apache.abdera.factory that return Element
 Element Factory.newEmail()
          Create a new email element.
 Element Factory.newEmail(Element parent)
          Create a new email element as a child of the given Element.
 Element Factory.newName()
          Create a new name element.
 Element Factory.newName(Element parent)
          Create a new name element as a child of the given Element.
 

Methods in org.apache.abdera.factory with parameters of type Element
<T extends Element>
T
ExtensionFactory.getElementWrapper(Element internal)
          Abdera's support for static extensions is based on a simple delegation model.
<T extends Element>
T
ExtensionFactoryMap.getElementWrapper(Element internal)
           
 Person Factory.newAuthor(Element parent)
          Create a new author element as a child of the given Element.
 Category Factory.newCategory(Element parent)
          Create a new Category element as a child of the given Element.
 Collection Factory.newCollection(Element parent)
          Create a new Collection element as a child of the given Element.
 Content Factory.newContent(Content.Type type, Element parent)
          Create a new Content element of the given Content.Type as a child of the given Element.
 Content Factory.newContent(javax.activation.MimeType mediaType, Element parent)
          Create a new Content element of the given MediaType as a child of the given Element.
 Person Factory.newContributor(Element parent)
          Create a new contributor element as a child of the given Element.
 Control Factory.newControl(Element parent)
          Create a new Control element as a child of the given Element.
 DateTime Factory.newDateTime(QName qname, Element parent)
          Create a new DateTime element with the given QName as a child of the given Element.
 Generator Factory.newDefaultGenerator(Element parent)
          Create a new Generator using Abdera's default name and version as a child of the given Element.
 DateTime Factory.newEdited(Element parent)
          Create a new app:edited element.
 Element Factory.newEmail(Element parent)
          Create a new email element as a child of the given Element.
 Generator Factory.newGenerator(Element parent)
          Create a new Generator element as a child of the given Element.
 IRIElement Factory.newIcon(Element parent)
          Create a new icon element as a child of the given Element.
 IRIElement Factory.newID(Element parent)
          Create a new id element as a child of the given Element.
 IRIElement Factory.newIRIElement(QName qname, Element parent)
          Create a new IRI element with the given QName as a child of the given Element.
 Link Factory.newLink(Element parent)
          Create a new Link element as a child of the given Element.
 IRIElement Factory.newLogo(Element parent)
          Create a new logo element as a child of the given Element.
 Element Factory.newName(Element parent)
          Create a new name element as a child of the given Element.
 Person Factory.newPerson(QName qname, Element parent)
          Create a new Person element with the given QName as a child of the given Element.
 DateTime Factory.newPublished(Element parent)
          Create a new published element as a child of the given Element.
 Text Factory.newRights(Element parent)
          Create a new rights element as a child of the given Element.
 Text Factory.newRights(Text.Type type, Element parent)
          Create a new rights element with the given Text.Type as a child of the given Element.
 Source Factory.newSource(Element parent)
          Create a new Source element as a child of the given Element.
 Text Factory.newSubtitle(Element parent)
          Create a new subtitle element as a child of the given Element.
 Text Factory.newSubtitle(Text.Type type, Element parent)
          Create a new subtitle element with the given Text.Type as a child of the given Element.
 Text Factory.newSummary(Element parent)
          Create a new summary element as a child of the given Element.
 Text Factory.newSummary(Text.Type type, Element parent)
          Create a new summary element with the given Text.Type as a child of the given Element.
 Text Factory.newText(QName qname, Text.Type type, Element parent)
          Create a new Text element with the given QName and Text.Type as a child of the given Element.
 Text Factory.newTitle(Element parent)
          Create a new title element as a child of the given Element.
 Text Factory.newTitle(Text.Type type, Element parent)
          Create a new title element with the given Text.Type as a child of the given Element.
 DateTime Factory.newUpdated(Element parent)
          create a new updated element as a child of the given Element.
 IRIElement Factory.newUri(Element parent)
          Create a new uri element as a child of the given Element.
 Workspace Factory.newWorkspace(Element parent)
          Create a new Workspace element as a child of the given Element.
 

Uses of Element in org.apache.abdera.model
 

Classes in org.apache.abdera.model with type parameters of type Element
 interface Document<T extends Element>
          The top level artifact of the Feed Object Model.
 

Subinterfaces of Element in org.apache.abdera.model
 interface Categories
          The Atom Publishing Protocol introduces the notion of a "Category Document" and the app:categories element.
 interface Category
          Provides categorization informaton for a feed or entry
 interface Collection
          Represents an collection element in an Atom Publishing Protocol introspection document.
 interface Content
          Represents an atom:content element.
 interface Control
          Represents an Atom Publishing Protocol control element.
 interface DateTime
          An element conforming to the Atom Date Construct.
 interface Div
          Represents an XHTML div tag.
 interface Entry
          Represents an Atom Entry element.
 interface ExtensibleElement
          An abstract element that can be extended with namespaced child elements
 interface Feed
          Represents an Atom Feed Element
 interface Generator
          Identifies the software implementation that produced the Atom feed.
 interface IRIElement
          The IRI interface provides a common base for a set of feed and entry elements whose content value must be a valid IRI/URI reference.
 interface Link
          Represents an Atom Link element.
 interface Person
          An Atom Person Construct
 interface Service
          Represents the root of an Atom Publishing Protocol Introspection Document.
 interface Source
          Per RFC4287:
 interface Text
          Represents an Atom Text Contruct.
 interface Workspace
          An Atom Publishing Protocol Introspection Document workspace element.
 

Classes in org.apache.abdera.model that implement Element
 class DateTimeWrapper
          An ElementWrapper implementation that can serve as the basis for Atom Date Construct based extensions.
 class ElementWrapper
          Base implementation used for static extensions.
 class ExtensibleElementWrapper
          ElementWrapper implementation that implements the ExtensibleElement interface.
 class PersonWrapper
          ElementWrapper implementation that implements the Person interface.
 

Methods in org.apache.abdera.model with type parameters of type Element
<T extends Element>
T
ExtensibleElement.addExtension(QName qname)
          Adds an individual extension element
<T extends Element>
T
ExtensibleElementWrapper.addExtension(QName qname)
           
<T extends Element>
T
ExtensibleElement.addExtension(QName qname, QName before)
          Adds an individual extension element
<T extends Element>
T
ExtensibleElementWrapper.addExtension(QName qname, QName before)
           
<T extends Element>
T
ExtensibleElement.addExtension(String namespace, String localPart, String prefix)
          Adds an individual extension element
<T extends Element>
T
ExtensibleElementWrapper.addExtension(String namespace, String localPart, String prefix)
           
<T extends Element>
T
Element.declareNS(String uri, String prefix)
          Declare a namespace
<T extends Element>
T
ElementWrapper.declareNS(String uri, String prefix)
           
<T extends Element>
Document<T>
Element.getDocument()
          Returns the document to which this element belongs
<T extends Element>
Document<T>
ElementWrapper.getDocument()
           
<T extends Element>
List<T>
Element.getElements()
          Return a listing of this elements child elements
<T extends Element>
List<T>
ElementWrapper.getElements()
           
<T extends Element>
T
ExtensibleElement.getExtension(Class<T> _class)
          Find an extension by Class rather than QName
<T extends Element>
T
ExtensibleElementWrapper.getExtension(Class<T> _class)
           
<T extends Element>
T
ExtensibleElement.getExtension(QName qname)
          Returns the first extension element with the XML qualified name
<T extends Element>
T
ExtensibleElementWrapper.getExtension(QName qname)
           
<T extends Element>
List<T>
ExtensibleElement.getExtensions(QName qname)
          Returns the complete set of extension elements using the specified XML qualified name
<T extends Element>
List<T>
ExtensibleElementWrapper.getExtensions(QName qname)
           
<T extends Element>
T
Element.getFirstChild()
          Get the first child element
<T extends Element>
T
ElementWrapper.getFirstChild()
           
<T extends Element>
T
Element.getFirstChild(QName qname)
          Get the first child element with the given QName
<T extends Element>
T
ElementWrapper.getFirstChild(QName qname)
           
<T extends Element>
T
Element.getNextSibling()
          Get the element following this one
<T extends Element>
T
ElementWrapper.getNextSibling()
           
<T extends Element>
T
Element.getNextSibling(QName qname)
          Get the first following sibling with the specified QName
<T extends Element>
T
ElementWrapper.getNextSibling(QName qname)
           
<T extends Element>
T
Element.getPreviousSibling()
          Get the element preceding this one
<T extends Element>
T
ElementWrapper.getPreviousSibling()
           
<T extends Element>
T
Element.getPreviousSibling(QName qname)
          Get the first previous sibling with the specified QName
<T extends Element>
T
ElementWrapper.getPreviousSibling(QName qname)
           
<T extends Element>
T
Content.getValueElement()
          Return the value element or null if type="text", type="html" or type is some non-XML media type
<T extends Element>
T
Element.removeAttribute(QName qname)
          Remove the named Attribute
<T extends Element>
T
ElementWrapper.removeAttribute(QName qname)
           
<T extends Element>
T
Element.removeAttribute(String name)
          Remove the named attribute
<T extends Element>
T
ElementWrapper.removeAttribute(String name)
           
<T extends Element>
T
Element.setAttributeValue(QName qname, String value)
          Sets the value of the named attribute
<T extends Element>
T
ElementWrapper.setAttributeValue(QName qname, String value)
           
<T extends Element>
T
Element.setAttributeValue(String name, String value)
          Sets the value of the named attribute
<T extends Element>
T
ElementWrapper.setAttributeValue(String name, String value)
           
<T extends Element>
T
Element.setBaseUri(IRI base)
          Sets the value of this element's xml:base attribute.
<T extends Element>
T
ElementWrapper.setBaseUri(IRI base)
           
<T extends Element>
T
Element.setBaseUri(String base)
          Sets the value of this element's xml:base attribute.
<T extends Element>
T
ElementWrapper.setBaseUri(String base)
           
<T extends Element>
T
Element.setLanguage(String language)
          Sets the value of this elements xml:lang attribute.
<T extends Element>
T
ElementWrapper.setLanguage(String language)
           
<T extends Element>
T
Element.setMustPreserveWhitespace(boolean preserve)
          Set to true to preserve insignificant whitespace
<T extends Element>
T
ElementWrapper.setMustPreserveWhitespace(boolean preserve)
           
<T extends Element>
T
ExtensibleElementWrapper.setMustPreserveWhitespace(boolean preserve)
           
<T extends Element>
T
Element.setParentElement(Element parent)
          Set this Element's parent element
<T extends Element>
T
ElementWrapper.setParentElement(Element parent)
           
<T extends Element>
T
Element.setText(javax.activation.DataHandler dataHandler)
          Set the Text value of this element using the data handler
<T extends Element>
T
ElementWrapper.setText(javax.activation.DataHandler handler)
           
<T extends Element>
T
Element.setText(String text)
          Set the Text value of this element
<T extends Element>
T
ElementWrapper.setText(String text)
           
<T extends Element>
Content
Content.setValueElement(T value)
          Set the value element of the content.
 

Methods in org.apache.abdera.model that return Element
 Element ExtensibleElement.addSimpleExtension(QName qname, String value)
          Adds a simple extension (text content only)
 Element ExtensibleElementWrapper.addSimpleExtension(QName qname, String value)
           
 Element ExtensibleElement.addSimpleExtension(String namespace, String localPart, String prefix, String value)
          Adds a simple extension (text content only)
 Element ExtensibleElementWrapper.addSimpleExtension(String namespace, String localPart, String prefix, String value)
           
 Element Person.getEmailElement()
          The "atom:email" element's content conveys an e-mail address associated with the person.
 Element PersonWrapper.getEmailElement()
           
 Element ElementWrapper.getInternal()
           
 Element Person.getNameElement()
          The "atom:name" element's content conveys a human-readable name for the person.
 Element PersonWrapper.getNameElement()
           
 Element Person.setEmail(String email)
          The "atom:email" element's content conveys an e-mail address associated with the person.
 Element PersonWrapper.setEmail(String email)
           
 Element Person.setName(String name)
          The "atom:name" element's content conveys a human-readable name for the person.
 Element PersonWrapper.setName(String name)
           
 

Methods in org.apache.abdera.model that return types with arguments of type Element
 List<Element> ExtensibleElement.getExtensions()
          Returns the complete set of extension elements
 List<Element> ExtensibleElementWrapper.getExtensions()
           
 List<Element> ExtensibleElement.getExtensions(String uri)
          Returns the complete set of extension elements using the specified XML Namespace URI
 List<Element> ExtensibleElementWrapper.getExtensions(String uri)
           
 Iterator<Element> ElementWrapper.iterator()
           
 

Methods in org.apache.abdera.model with parameters of type Element
<T extends ExtensibleElement>
T
ExtensibleElement.addExtension(Element extension)
          Adds an individual extension element
<T extends ExtensibleElement>
T
ExtensibleElementWrapper.addExtension(Element extension)
           
<T extends ExtensibleElement>
T
ExtensibleElement.addExtension(Element extension, Element before)
          Adds an individual extension element before the specified element
<T extends ExtensibleElement>
T
ExtensibleElementWrapper.addExtension(Element extension, Element before)
           
 Content Entry.setContent(Element value)
          Sets the content for this entry
 Content Entry.setContent(Element element, String mediaType)
          Sets the content for this entry
 Person Person.setEmailElement(Element element)
          The "atom:email" element's content conveys an e-mail address associated with the person.
 Person PersonWrapper.setEmailElement(Element element)
           
 Person Person.setNameElement(Element element)
          The "atom:name" element's content conveys a human-readable name for the person.
 Person PersonWrapper.setNameElement(Element element)
           
<T extends Element>
T
Element.setParentElement(Element parent)
          Set this Element's parent element
<T extends Element>
T
ElementWrapper.setParentElement(Element parent)
           
 

Constructors in org.apache.abdera.model with parameters of type Element
DateTimeWrapper(Element internal)
           
ElementWrapper(Element internal)
           
ExtensibleElementWrapper(Element internal)
           
PersonWrapper(Element internal)
           
 

Uses of Element in org.apache.abdera.parser
 

Methods in org.apache.abdera.parser with type parameters of type Element
<T extends Element>
Document<T>
Parser.parse(InputStream in)
          Parse the input stream using the default character set encoding (UTF-8)
<T extends Element>
Document<T>
Parser.parse(InputStream in, ParserOptions options)
          Parse the input stream using the default character set encoding (UTF-8).
<T extends Element>
Document<T>
Parser.parse(InputStream in, String base)
          Parse the input stream using the default character set encoding (UTF-8).
<T extends Element>
Document<T>
Parser.parse(InputStream in, String base, ParserOptions options)
          Parse the input stream using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(ReadableByteChannel buf)
          Parse the channel using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(ReadableByteChannel buf, ParserOptions options)
          Parse the channel using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(ReadableByteChannel buf, String base)
          Parse the channel using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(ReadableByteChannel buf, String base, ParserOptions options)
          Parse the channel using using the specified Parse options.
<T extends Element>
Document<T>
Parser.parse(Reader in)
          Parse the reader using the default Base URI and options
<T extends Element>
Document<T>
Parser.parse(Reader in, ParserOptions options)
          Parse the reader using the specified Base URI
<T extends Element>
Document<T>
Parser.parse(Reader in, String base)
          Parse the reader using the specified Base URI
<T extends Element>
Document<T>
Parser.parse(Reader in, String base, ParserOptions options)
          Parse the reader using using the specified Parse options.
 

Uses of Element in org.apache.abdera.protocol.client
 

Methods in org.apache.abdera.protocol.client with type parameters of type Element
<T extends Element>
Document<T>
AbstractClientResponse.getDocument()
          Get the response payload as a parsed Abdera FOM Document
<T extends Element>
Document<T>
ClientResponse.getDocument()
          If the response contains an XML document, parse the document
<T extends Element>
Document<T>
AbstractClientResponse.getDocument(Parser parser)
          Get the response payload as a parsed Abdera FOM Document using the specified parser
<T extends Element>
Document<T>
ClientResponse.getDocument(Parser parser)
          If the response contains an XML document, parse the document using the specified Parser
<T extends Element>
Document<T>
AbstractClientResponse.getDocument(ParserOptions options)
          Get the response payload as a parsed Abdera FOM Document using the specified parser options
<T extends Element>
Document<T>
ClientResponse.getDocument(ParserOptions options)
          If the response contains an XML document, parse the document using the specified ParserOptions
<T extends Element>
Document<T>
AbstractClientResponse.getDocument(Parser parser, ParserOptions options)
          Get the response payload as a parsed Abdera FOM Document using the specified parser and parser options
<T extends Element>
Document<T>
ClientResponse.getDocument(Parser parser, ParserOptions options)
          If the response contains an XML document, parse the document using the specified Parser and ParserOptions
 

Uses of Element in org.apache.abdera.protocol.error
 

Classes in org.apache.abdera.protocol.error that implement Element
 class Error
          Abdera protocol error element.
 

Constructors in org.apache.abdera.protocol.error with parameters of type Element
Error(Element internal)
           
 

Uses of Element in org.apache.abdera.protocol.server
 

Methods in org.apache.abdera.protocol.server with type parameters of type Element
<T extends Element>
Document<T>
RequestContext.getDocument()
          Use the Abdera Parser to parse the request entity as an XML document
<T extends Element>
Document<T>
RequestContext.getDocument(Parser parser)
          Use the Abdera Parser to parse the request entity as an XML document
<T extends Element>
Document<T>
RequestContext.getDocument(ParserOptions options)
          Use the Abdera Parser to parse the request entity as an XML document
<T extends Element>
Document<T>
RequestContext.getDocument(Parser parser, ParserOptions options)
          Use the Abdera Parser to parse the request entity as an XML document
 

Methods in org.apache.abdera.protocol.server with parameters of type Element
static boolean ProviderHelper.checkElementNamespaces(Element element, List<String> ignore)
          Return false if the element contains any extension elements that are not supported
 

Uses of Element in org.apache.abdera.protocol.server.context
 

Methods in org.apache.abdera.protocol.server.context with type parameters of type Element
<T extends Element>
Document<T>
AbstractRequestContext.getDocument()
           
<T extends Element>
Document<T>
RequestContextWrapper.getDocument()
           
<T extends Element>
Document<T>
AbstractRequestContext.getDocument(Parser parser)
           
<T extends Element>
Document<T>
RequestContextWrapper.getDocument(Parser parser)
           
<T extends Element>
Document<T>
AbstractRequestContext.getDocument(ParserOptions options)
           
<T extends Element>
Document<T>
RequestContextWrapper.getDocument(ParserOptions options)
           
<T extends Element>
Document<T>
AbstractRequestContext.getDocument(Parser parser, ParserOptions options)
           
<T extends Element>
Document<T>
RequestContextWrapper.getDocument(Parser parser, ParserOptions options)
           
 

Uses of Element in org.apache.abdera.security
 

Methods in org.apache.abdera.security with type parameters of type Element
<T extends Element>
org.apache.xml.security.keys.KeyInfo
Signature.getSignatureKeyInfo(T element, SignatureOptions options)
           
<T extends Element>
X509Certificate[]
Signature.getValidSignatureCertificates(T element, SignatureOptions options)
          Returns a listing of X.509 certificates of valid digital signatures in the element
<T extends Element>
boolean
Signature.isSigned(T element)
          Return true if the element has been digitally signed
<T extends Element>
T
Signature.removeInvalidSignatures(T element, SignatureOptions options)
           
<T extends Element>
T
Signature.sign(T element, SignatureOptions options)
          Adds a digital signature to the specified element
<T extends Element>
boolean
Signature.verify(T element, SignatureOptions options)
          Verifies that the digitally signed element is valid
 


Apache Abdera API

Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.