|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.abdera.model.ElementWrapper
org.apache.abdera.model.ExtensibleElementWrapper
org.apache.abdera.ext.rss.RssFeed
public class RssFeed
| Constructor Summary | |
|---|---|
RssFeed(Element internal)
|
|
RssFeed(Factory factory,
QName qname)
|
|
| Method Summary | ||
|---|---|---|
|
addAuthor(Person person)
Adds an individual author to the entry |
|
Person |
addAuthor(String name)
Adds an author |
|
Person |
addAuthor(String name,
String email,
String iri)
Adds an author |
|
|
addCategory(Category category)
Adds an individual category to the entry |
|
Category |
addCategory(String term)
Adds a category to the feed |
|
Category |
addCategory(String scheme,
String term,
String label)
Adds a category to the feed |
|
|
addContributor(Person person)
Adds an individual contributor to this entry |
|
Person |
addContributor(String name)
Adds a contributor |
|
Person |
addContributor(String name,
String email,
String iri)
Adds a contributor |
|
Entry |
addEntry()
Adds a new Entry to the end of the Feeds collection of entries |
|
Feed |
addEntry(Entry entry)
Adds a new Entry to the end of the Feeds collection of entries |
|
|
addExtension(Element extension)
Adds an individual extension element |
|
|
addExtension(QName qname)
Adds an individual extension element |
|
|
addExtension(String namespace,
String localPart,
String prefix)
Adds an individual extension element |
|
|
addLink(Link link)
Adds an individual link to the entry |
|
Link |
addLink(String href)
Adds an individual link element |
|
Link |
addLink(String href,
String rel)
Adds an individual link element |
|
Link |
addLink(String href,
String rel,
String type,
String title,
String hreflang,
long length)
Adds an individual link element |
|
Element |
addSimpleExtension(QName qname,
String value)
Adds a simple extension (text content only) |
|
Element |
addSimpleExtension(String namespace,
String localPart,
String prefix,
String value)
Adds a simple extension (text content only) |
|
Link |
getAlternateLink()
Returns this entries first alternate link |
|
Link |
getAlternateLink(String type,
String hreflang)
|
|
IRI |
getAlternateLinkResolvedHref()
|
|
IRI |
getAlternateLinkResolvedHref(String type,
String hreflang)
|
|
Feed |
getAsFeed()
Convert the Source element into an empty Feed element |
|
Source |
getAsSource()
Creates a Source element from this Feed |
|
List<QName> |
getAttributes()
Returns a listing of all attributes on this element |
|
String |
getAttributeValue(QName qname)
Returns the value of the named attribute |
|
String |
getAttributeValue(String name)
Returns the value of the named attribute |
|
Person |
getAuthor()
Returns the first author listed for the entry |
|
List<Person> |
getAuthors()
Returns the complete set of authors listed for the entry |
|
List<Category> |
getCategories()
Lists the complete set of categories listed for the entry |
|
List<Category> |
getCategories(String scheme)
Lists the complete set of categories using the specified scheme |
|
Collection |
getCollection()
Return an app:collection element associatd with this atom:source. |
|
List<Person> |
getContributors()
Lists the complete set of contributors for this entry |
|
List<Entry> |
getEntries()
Returns the complete set of entries contained in this feed |
|
Entry |
getEntry(String id)
Retrieves the first entry in the feed with the given atom:id value |
|
|
getExtension(Class<T> _class)
Find an extension by Class rather than QName |
|
|
getExtension(QName qname)
Returns the first extension element with the XML qualified name |
|
List<QName> |
getExtensionAttributes()
Returns a listing of extension attributes on this element (extension attributes are attributes whose namespace URI is different than the elements) |
|
List<Element> |
getExtensions()
Returns the complete set of extension elements |
|
|
getExtensions(QName qname)
Returns the complete set of extension elements using the specified XML qualified name |
|
List<Element> |
getExtensions(String uri)
Returns the complete set of extension elements using the specified XML Namespace URI |
|
Generator |
getGenerator()
RFC4287: The "atom:generator" element's content identifies the agent used to generate a feed, for debugging and other purposes. |
|
IRI |
getIcon()
RFC4287: The "atom:icon" element's content is an IRI reference [RFC3987] that identifies an image that provides iconic visual identification for a feed... |
|
IRIElement |
getIconElement()
RFC4287: The "atom:icon" element's content is an IRI reference [RFC3987] that identifies an image that provides iconic visual identification for a feed... |
|
IRI |
getId()
Returns the universally unique identifier for this feed |
|
IRIElement |
getIdElement()
RFC4287: The "atom:id" element conveys a permanent, universally unique identifier for an entry or feed. |
|
String |
getLanguage()
Returns the value of this elements xml:lang attribute or null if xml:lang is undefined. |
|
Link |
getLink(String rel)
Returns the first link with the specified rel attribute value |
|
IRI |
getLinkResolvedHref(String rel)
|
|
List<Link> |
getLinks()
Lists the complete set of links for this entry |
|
List<Link> |
getLinks(String... rel)
Lists the complete set of links using the specified rel attributes values |
|
List<Link> |
getLinks(String rel)
Lists the complete set of links using the specified rel attribute value |
|
IRI |
getLogo()
RFC4287: The "atom:logo" element's content is an IRI reference [RFC3987] that identifies an image that provides visual identification for a feed. |
|
IRIElement |
getLogoElement()
RFC4287: The "atom:logo" element's content is an IRI reference [RFC3987] that identifies an image that provides visual identification for a feed. |
|
Date |
getPublished()
|
|
DateTime |
getPublisheddElement()
|
|
String |
getPublishedString()
|
|
String |
getRights()
Returns the text of atom:rights |
|
Text |
getRightsElement()
The rights element is typically used to convey a human readable copyright (e.g. |
|
Text.Type |
getRightsType()
Returns the type of atom:rights |
|
Link |
getSelfLink()
Returns the first link using the rel attribute value "self" |
|
IRI |
getSelfLinkResolvedHref()
|
|
String |
getSimpleExtension(QName qname)
Gets the value of a simple extension |
|
String |
getSimpleExtension(String namespace,
String localPart,
String prefix)
Gets the value of a simple extension |
|
String |
getSubtitle()
Returns the text value of atom:subtitle |
|
Text |
getSubtitleElement()
RFC4287: The "atom:subtitle" element is a Text construct that conveys a human-readable description or subtitle for a feed. |
|
Text.Type |
getSubtitleType()
Returns the atom:subtitle type |
|
String |
getTitle()
Returns the text of atom:title |
|
Text |
getTitleElement()
RFC4287: The "atom:title" element is a Text construct that conveys a human-readable title for an entry or feed. |
|
Text.Type |
getTitleType()
Returns the type of atom:title |
|
Date |
getUpdated()
Return the atom:updated value |
|
DateTime |
getUpdatedElement()
RFC4287: The "atom:updated" element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant. |
|
String |
getUpdatedString()
Return the atom:updated value |
|
String |
getVersion()
|
|
Entry |
insertEntry()
Adds a new Entry to the start of the Feeds collection of entries |
|
Feed |
insertEntry(Entry entry)
Adds a new Entry to the start of the Feeds collection of entries |
|
IRIElement |
newId()
Creates a new randomized atom:id for the entry |
|
|
removeAttribute(QName qname)
Remove the named Attribute |
|
|
setAttributeValue(QName qname,
String value)
Sets the value of the named attribute |
|
|
setAttributeValue(String name,
String value)
Sets the value of the named attribute |
|
|
setBaseUri(IRI base)
Sets the value of this element's xml:base attribute. |
|
|
setBaseUri(String base)
Sets the value of this element's xml:base attribute. |
|
|
setCollection(Collection collection)
Set the app:collection element |
|
|
setGenerator(Generator generator)
RFC4287: The "atom:generator" element's content identifies the agent used to generate a feed, for debugging and other purposes. |
|
Generator |
setGenerator(String iri,
String version,
String value)
RFC4287: The "atom:generator" element's content identifies the agent used to generate a feed, for debugging and other purposes. |
|
IRIElement |
setIcon(String iri)
RFC4287: The "atom:icon" element's content is an IRI reference [RFC3987] that identifies an image that provides iconic visual identification for a feed... |
|
|
setIconElement(IRIElement iri)
RFC4287: The "atom:icon" element's content is an IRI reference [RFC3987] that identifies an image that provides iconic visual identification for a feed... |
|
IRIElement |
setId(String id)
Sets the universally unique identifier for this feed |
|
IRIElement |
setId(String id,
boolean normalize)
Sets the universally unique identifier for this feed |
|
|
setIdElement(IRIElement id)
RFC4287: The "atom:id" element conveys a permanent, universally unique identifier for an entry or feed. |
|
|
setLanguage(String language)
Sets the value of this elements xml:lang attribute. |
|
IRIElement |
setLogo(String iri)
RFC4287: The "atom:logo" element's content is an IRI reference [RFC3987] that identifies an image that provides visual identification for a feed. |
|
|
setLogoElement(IRIElement iri)
RFC4287: The "atom:logo" element's content is an IRI reference [RFC3987] that identifies an image that provides visual identification for a feed. |
|
Text |
setRights(Div value)
Sets the value of the rights as @type="xhtml" |
|
Text |
setRights(String value)
Sets the value of the rights as @type="text" |
|
Text |
setRights(String value,
Text.Type type)
Sets the value of the rights |
|
Text |
setRightsAsHtml(String value)
Sets the value of the rights as @type="html" |
|
Text |
setRightsAsXhtml(String value)
Sets the value of the rights as @type="xhtml" |
|
|
setRightsElement(Text text)
The rights element is typically used to convey a human readable copyright (e.g. |
|
Text |
setSubtitle(Div value)
Sets the value of the subtitle as @type="xhtml" |
|
Text |
setSubtitle(String value)
Sets the value of the subtitle as @type="text" |
|
Text |
setSubtitle(String value,
Text.Type type)
Sets the value of the subtitle |
|
Text |
setSubtitleAsHtml(String value)
Sets the value of the subtitle as @type="html" |
|
Text |
setSubtitleAsXhtml(String value)
Sets the value of the subtitle as @type="xhtml" |
|
|
setSubtitleElement(Text text)
RFC4287: The "atom:subtitle" element is a Text construct that conveys a human-readable description or subtitle for a feed. |
|
Text |
setTitle(Div value)
Sets the value of the title as @type="xhtml" |
|
Text |
setTitle(String value)
Sets the value of the title as @type="text" |
|
Text |
setTitle(String value,
Text.Type type)
Sets the value of the title |
|
Text |
setTitleAsHtml(String value)
Sets the value of the title as @type="html" |
|
Text |
setTitleAsXhtml(String value)
Sets the value of the title as @type="xhtml" |
|
|
setTitleElement(Text text)
RFC4287: The "atom:title" element is a Text construct that conveys a human-readable title for an entry or feed. |
|
DateTime |
setUpdated(Date value)
Set the atom:updated value |
|
DateTime |
setUpdated(String value)
Set the atom:updated value |
|
|
setUpdatedElement(DateTime dateTime)
RFC4287: The "atom:updated" element is a Date construct indicating the most recent instant in time when an entry or feed was modified in a way the publisher considers significant. |
|
Feed |
sortEntries(Comparator<Entry> comparator)
Sorts entries using the given comparator |
|
Feed |
sortEntriesByEdited(boolean new_first)
Sorts entries by the app:edited property. |
|
Feed |
sortEntriesByUpdated(boolean new_first)
Sorts entries by the atom:updated property |
|
| Methods inherited from class org.apache.abdera.model.ExtensibleElementWrapper |
|---|
addExtension, addExtension, getExtInternal, getMustPreserveWhitespace, setMustPreserveWhitespace |
| Methods inherited from class org.apache.abdera.model.ElementWrapper |
|---|
addComment, clone, complete, declareNS, discard, equals, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getFactory, getFirstChild, getFirstChild, getInternal, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.abdera.model.ExtensibleElement |
|---|
addExtension, addExtension |
| Methods inherited from interface org.apache.abdera.model.Element |
|---|
declareNS, discard, getBaseUri, getDocument, getElements, getFirstChild, getFirstChild, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, setMustPreserveWhitespace, setParentElement, setText, setText |
| 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 java.lang.Iterable |
|---|
iterator |
| Constructor Detail |
|---|
public RssFeed(Element internal)
public RssFeed(Factory factory,
QName qname)
| Method Detail |
|---|
public Feed addEntry(Entry entry)
Feed
addEntry in interface Feedentry - Add an entrypublic Entry addEntry()
Feed
addEntry in interface Feedpublic Source getAsSource()
Feed
getAsSource in interface Feedpublic List<Entry> getEntries()
Feed
getEntries in interface Feedpublic Entry getEntry(String id)
Feed
getEntry in interface Feedid - The id to retrieve
public Feed insertEntry(Entry entry)
Feed
insertEntry in interface Feedentry - An atom:entry to insertpublic Entry insertEntry()
Feed
insertEntry in interface Feedpublic Feed sortEntries(Comparator<Entry> comparator)
Feed
sortEntries in interface Feedcomparator - Sort the entries using the comparatorpublic Feed sortEntriesByEdited(boolean new_first)
Feed
sortEntriesByEdited in interface Feedpublic Feed sortEntriesByUpdated(boolean new_first)
Feed
sortEntriesByUpdated in interface Feednew_first - If true, entries with newer atom:updated values will come firstpublic <T extends Source> T addAuthor(Person person)
Source
addAuthor in interface Sourceperson - an atom:author elementpublic Person addAuthor(String name)
Source
addAuthor in interface Sourcename - The author name
public Person addAuthor(String name,
String email,
String iri)
Source
addAuthor in interface Sourcename - The author nameemail - The author emailiri - The author iri
public <T extends Source> T addCategory(Category category)
Source
addCategory in interface Sourcecategory - A atom:category elementpublic Category addCategory(String term)
Source
addCategory in interface Sourceterm - A category term
public Category addCategory(String scheme,
String term,
String label)
Source
addCategory in interface Sourcescheme - A category schemeterm - A category termlabel - The human readable label
public <T extends Source> T addContributor(Person person)
Source
addContributor in interface Sourceperson - a atom:contributor elementpublic Person addContributor(String name)
Source
addContributor in interface Sourcename - The name of a contributor
public Person addContributor(String name,
String email,
String iri)
Source
addContributor in interface Sourcename - The contributor nameemail - The contributor emailiri - The contributor uri
public <T extends Source> T addLink(Link link)
Source
addLink in interface Sourcelink - A atom:link elementpublic Link addLink(String href)
Source
addLink in interface Sourcehref - The href IRI of the link
public Link addLink(String href,
String rel)
Source
addLink in interface Sourcehref - The href IRI of the linkrel - The link rel attribute
public Link addLink(String href,
String rel,
String type,
String title,
String hreflang,
long length)
Source
addLink in interface Sourcehref - The href IRI of the linkrel - The link rel attributetype - The link type attributehreflang - The link hreflang attributelength - The length attribute
public Link getAlternateLink()
Source
getAlternateLink in interface Source
public Link getAlternateLink(String type,
String hreflang)
getAlternateLink in interface Sourcetype - A media typehreflang - A target language
public IRI getAlternateLinkResolvedHref()
getAlternateLinkResolvedHref in interface Source
public IRI getAlternateLinkResolvedHref(String type,
String hreflang)
getAlternateLinkResolvedHref in interface Sourcetype - A media typehreflang - A target language
public Person getAuthor()
Source
getAuthor in interface Sourcepublic List<Person> getAuthors()
Source
getAuthors in interface Sourcepublic List<Category> getCategories()
Source
getCategories in interface Sourcepublic List<Category> getCategories(String scheme)
Source
getCategories in interface Sourcescheme - A Scheme IRI
public Collection getCollection()
Source
getCollection in interface Sourcepublic List<Person> getContributors()
Source
getContributors in interface Sourcepublic Generator getGenerator()
Source
getGenerator in interface Sourcepublic IRI getIcon()
Source
getIcon in interface Sourcepublic IRIElement getIconElement()
Source
getIconElement in interface Sourcepublic IRI getId()
Source
getId in interface Sourcepublic IRIElement getIdElement()
Source
getIdElement in interface Sourcepublic Link getLink(String rel)
Source
getLink in interface Sourcerel - A link relation
public IRI getLinkResolvedHref(String rel)
getLinkResolvedHref in interface Sourcerel - A link relation
public List<Link> getLinks()
Source
getLinks in interface Sourcepublic List<Link> getLinks(String rel)
Source
getLinks in interface Sourcerel - A link relation
public List<Link> getLinks(String... rel)
Source
getLinks in interface Sourcepublic IRI getLogo()
Source
getLogo in interface Sourcepublic IRIElement getLogoElement()
Source
getLogoElement in interface Sourcepublic String getRights()
Source
getRights in interface Sourcepublic Text getRightsElement()
SourceThe rights element is typically used to convey a human readable copyright (e.g. "<atom:rights>Copyright (c), 2006</atom:rights>).
RFC4287: The "atom:rights" element is a Text construct that conveys information about rights held in and over an entry or feed.
getRightsElement in interface Sourcepublic Text.Type getRightsType()
Source
getRightsType in interface Sourcepublic Link getSelfLink()
Source
getSelfLink in interface Sourcepublic IRI getSelfLinkResolvedHref()
getSelfLinkResolvedHref in interface Sourcepublic String getSubtitle()
Source
getSubtitle in interface Sourcepublic Text getSubtitleElement()
Source
getSubtitleElement in interface Sourcepublic Text.Type getSubtitleType()
Source
getSubtitleType in interface Sourcepublic String getTitle()
Source
getTitle in interface Sourcepublic Text getTitleElement()
Source
getTitleElement in interface Sourcepublic Text.Type getTitleType()
Source
getTitleType in interface Sourcepublic Date getUpdated()
Source
getUpdated in interface Sourcepublic DateTime getUpdatedElement()
Source
getUpdatedElement in interface Sourcepublic String getUpdatedString()
Source
getUpdatedString in interface Sourcepublic Date getPublished()
public DateTime getPublisheddElement()
public String getPublishedString()
public IRIElement newId()
Source
newId in interface Sourcepublic <T extends Source> T setCollection(Collection collection)
Source
setCollection in interface Sourcecollection - An app:collection elementpublic <T extends Source> T setGenerator(Generator generator)
Source
setGenerator in interface Sourcegenerator - A atom:generator element
public Generator setGenerator(String iri,
String version,
String value)
Source
setGenerator in interface Sourceiri - The iri attributeversion - The version attributevalue - The value attribute
public IRIElement setIcon(String iri)
Source
setIcon in interface Sourceiri - The atom:icon IRI valuepublic <T extends Source> T setIconElement(IRIElement iri)
Source
setIconElement in interface Sourceiri - The atom:icon elementpublic IRIElement setId(String id)
Source
setId in interface Sourceid - The atom:id value
public IRIElement setId(String id,
boolean normalize)
Source
setId in interface Sourceid - The atom:id valuenormalize - True if the atom:id value should be normalized
public <T extends Source> T setIdElement(IRIElement id)
Source
setIdElement in interface Sourceid - A atom:id elementpublic IRIElement setLogo(String iri)
Source
setLogo in interface Sourceiri - The atom:logo value
public <T extends Source> T setLogoElement(IRIElement iri)
Source
setLogoElement in interface Sourceiri - The atom:logo elementpublic Text setRights(String value)
Source
setRights in interface Sourcevalue - The atom:rights text value
public Text setRights(String value,
Text.Type type)
Source
setRights in interface Sourcevalue - The atom:rights text valuetype - The atom:rights text type
public Text setRights(Div value)
Source
setRights in interface Sourcevalue - The XHTML div element
public Text setRightsAsHtml(String value)
Source
setRightsAsHtml in interface Sourcevalue - The atom:rights text value
public Text setRightsAsXhtml(String value)
Source
setRightsAsXhtml in interface Sourcevalue - The atom:rights text value
public <T extends Source> T setRightsElement(Text text)
SourceThe rights element is typically used to convey a human readable copyright (e.g. "<atom:rights>Copyright (c), 2006</atom:rights>).
RFC4287: The "atom:rights" element is a Text construct that conveys information about rights held in and over an entry or feed.
setRightsElement in interface Sourcetext - The atom:rights elementpublic Text setSubtitle(String value)
Source
setSubtitle in interface Sourcevalue - the value of the atom:subtitle element
public Text setSubtitle(String value,
Text.Type type)
Source
setSubtitle in interface Sourcevalue - The value of the atom:subtitle elementtype - The atom:subtitle Text.Type
public Text setSubtitle(Div value)
Source
setSubtitle in interface Sourcevalue - The atom:subtitle element
public Text setSubtitleAsHtml(String value)
Source
setSubtitleAsHtml in interface Sourcevalue - The value of the atom:subtitle element
public Text setSubtitleAsXhtml(String value)
Source
setSubtitleAsXhtml in interface Sourcevalue - The value of the atom:subtitle element
public <T extends Source> T setSubtitleElement(Text text)
Source
setSubtitleElement in interface Sourcetext - A atom:subtitle elementpublic Text setTitle(String value)
Source
setTitle in interface Sourcevalue - The atom:title value
public Text setTitle(String value,
Text.Type type)
Source
setTitle in interface Sourcevalue - The atom:title valuetype - The atom:title Text.Type
public Text setTitle(Div value)
Source
setTitle in interface Sourcevalue - The XHTML div
public Text setTitleAsHtml(String value)
Source
setTitleAsHtml in interface Sourcevalue - The atom:title value
public Text setTitleAsXhtml(String value)
Source
setTitleAsXhtml in interface Sourcevalue - The atom:title value
public <T extends Source> T setTitleElement(Text text)
Source
setTitleElement in interface Sourcetext - The atom:title elementpublic DateTime setUpdated(Date value)
Source
setUpdated in interface Sourcevalue - The java.util.Date
public DateTime setUpdated(String value)
Source
setUpdated in interface Sourcevalue - The serialized string date
public <T extends Source> T setUpdatedElement(DateTime dateTime)
Source
setUpdatedElement in interface SourcedateTime - A atom:updated elementpublic <T extends ExtensibleElement> T addExtension(Element extension)
ExtensibleElement
addExtension in interface ExtensibleElementaddExtension in class ExtensibleElementWrapperextension - An extension element to addpublic <T extends Element> T addExtension(QName qname)
ExtensibleElement
addExtension in interface ExtensibleElementaddExtension in class ExtensibleElementWrapperqname - An extension element to create
public <T extends Element> T addExtension(String namespace,
String localPart,
String prefix)
ExtensibleElement
addExtension in interface ExtensibleElementaddExtension in class ExtensibleElementWrappernamespace - An XML namespacelocalPart - A localnameprefix - A XML namespace prefix
public Element addSimpleExtension(QName qname,
String value)
ExtensibleElement
addSimpleExtension in interface ExtensibleElementaddSimpleExtension in class ExtensibleElementWrapperqname - An XML QNamevalue - The simple text value of the element
public Element addSimpleExtension(String namespace,
String localPart,
String prefix,
String value)
ExtensibleElement
addSimpleExtension in interface ExtensibleElementaddSimpleExtension in class ExtensibleElementWrappernamespace - An XML namespacelocalPart - A local nameprefix - A namespace prefixvalue - The simple text value
public <T extends Element> T getExtension(QName qname)
ExtensibleElement
getExtension in interface ExtensibleElementgetExtension in class ExtensibleElementWrapperqname - An XML QName
public <T extends Element> T getExtension(Class<T> _class)
ExtensibleElement
getExtension in interface ExtensibleElementgetExtension in class ExtensibleElementWrapper_class - The implementation class of the extension
public List<Element> getExtensions()
ExtensibleElement
getExtensions in interface ExtensibleElementgetExtensions in class ExtensibleElementWrapperpublic List<Element> getExtensions(String uri)
ExtensibleElement
getExtensions in interface ExtensibleElementgetExtensions in class ExtensibleElementWrapperuri - A namespace URI
public <T extends Element> List<T> getExtensions(QName qname)
ExtensibleElement
getExtensions in interface ExtensibleElementgetExtensions in class ExtensibleElementWrapperqname - An XML QName
public String getSimpleExtension(QName qname)
ExtensibleElement
getSimpleExtension in interface ExtensibleElementgetSimpleExtension in class ExtensibleElementWrapperqname - An XML QName
public String getSimpleExtension(String namespace,
String localPart,
String prefix)
ExtensibleElement
getSimpleExtension in interface ExtensibleElementgetSimpleExtension in class ExtensibleElementWrappernamespace - An XML namespacelocalPart - A localnameprefix - A namespace prefix
public String getAttributeValue(String name)
Element
getAttributeValue in interface ElementgetAttributeValue in class ElementWrappername - The name of the attribute
public String getAttributeValue(QName qname)
Element
getAttributeValue in interface ElementgetAttributeValue in class ElementWrapperqname - The XML QName of the attribute
public List<QName> getAttributes()
Element
getAttributes in interface ElementgetAttributes in class ElementWrapperpublic List<QName> getExtensionAttributes()
Element
getExtensionAttributes in interface ElementgetExtensionAttributes in class ElementWrapperpublic String getLanguage()
Elementxml:lang attribute or null if xml:lang is undefined.
getLanguage in interface ElementgetLanguage in class ElementWrapperpublic <T extends Element> T removeAttribute(QName qname)
Element
removeAttribute in interface ElementremoveAttribute in class ElementWrapperqname - The XML QName of the attribute to remove
public <T extends Element> T setAttributeValue(String name,
String value)
Element
setAttributeValue in interface ElementsetAttributeValue in class ElementWrappername - The name of the attributevalue - The value of the attribute
public <T extends Element> T setAttributeValue(QName qname,
String value)
Element
setAttributeValue in interface ElementsetAttributeValue in class ElementWrapperqname - The XML QName of the attributevalue - The value of the attributepublic <T extends Element> T setBaseUri(IRI base)
Elementxml:base attribute.
setBaseUri in interface ElementsetBaseUri in class ElementWrapperbase - The IRI base valuepublic <T extends Element> T setBaseUri(String base)
Elementxml:base attribute.
setBaseUri in interface ElementsetBaseUri in class ElementWrapperbase - The Base IRIpublic <T extends Element> T setLanguage(String language)
Elementxml:lang attribute.
setLanguage in interface ElementsetLanguage in class ElementWrapperlanguage - the value of the xml:lang elementpublic String getVersion()
public Feed getAsFeed()
Source
getAsFeed in interface Source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||