org.apache.abdera.ext.rss
Class RssGenerator
java.lang.Object
org.apache.abdera.model.ElementWrapper
org.apache.abdera.ext.rss.RssGenerator
- All Implemented Interfaces:
- Cloneable, Iterable<Element>, Base, Element, Generator
public class RssGenerator
- extends ElementWrapper
- implements Generator
Method Summary |
IRI |
getResolvedUri()
Returns the fully qualified form of the generator element's uri attribute (resolved against the in-scope Base
URI) |
IRI |
getUri()
The atom:generator element MAY have a "uri" attribute whose value MUST be an IRI reference [RFC3987]. |
String |
getVersion()
The atom:generator element MAY have a "version" attribute that indicates the version of the generating agent. |
Generator |
setUri(String uri)
The atom:generator element MAY have a "uri" attribute whose value MUST be an IRI reference [RFC3987]. |
Generator |
setVersion(String version)
The atom:generator element MAY have a "version" attribute that indicates the version of the generating agent. |
Methods inherited from class org.apache.abdera.model.ElementWrapper |
addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getMustPreserveWhitespace, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setMustPreserveWhitespace, setParentElement, setText, setText, toString, 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.Base |
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo |
RssGenerator
public RssGenerator(Element internal)
RssGenerator
public RssGenerator(Factory factory,
QName qname)
getResolvedUri
public IRI getResolvedUri()
- Description copied from interface:
Generator
- Returns the fully qualified form of the generator element's uri attribute (resolved against the in-scope Base
URI)
- Specified by:
getResolvedUri
in interface Generator
- Returns:
- the resolved uri value
getUri
public IRI getUri()
- Description copied from interface:
Generator
- The atom:generator element MAY have a "uri" attribute whose value MUST be an IRI reference [RFC3987]. When
dereferenced, the resulting URI (mapped from an IRI, if necessary) SHOULD produce a representation that is
relevant to that agent.
- Specified by:
getUri
in interface Generator
getVersion
public String getVersion()
- Description copied from interface:
Generator
- The atom:generator element MAY have a "version" attribute that indicates the version of the generating agent.
- Specified by:
getVersion
in interface Generator
- Returns:
- The version attribute value
setUri
public Generator setUri(String uri)
- Description copied from interface:
Generator
- The atom:generator element MAY have a "uri" attribute whose value MUST be an IRI reference [RFC3987]. When
dereferenced, the resulting URI (mapped from an IRI, if necessary) SHOULD produce a representation that is
relevant to that agent.
- Specified by:
setUri
in interface Generator
- Parameters:
uri
- The URI attribute value
setVersion
public Generator setVersion(String version)
- Description copied from interface:
Generator
- The atom:generator element MAY have a "version" attribute that indicates the version of the generating agent.
- Specified by:
setVersion
in interface Generator
- Parameters:
version
- The version attribute
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.