org.apache.lucene.gdata.gom
Interface GOMLink
- All Superinterfaces:
- AtomParser, GOMElement, GOMXmlEntity
- All Known Implementing Classes:
- GOMLinkImpl
public interface GOMLink
- extends GOMElement
The "atom:link" element defines a reference from an entry or feed to a Web
resource. This specification assigns no meaning to the content (if any) of
this element.
atomLink =
element atom:link {
atomCommonAttributes,
attribute href { atomUri },
attribute rel { atomNCName | atomUri }?,
attribute type { atomMediaType }?,
attribute hreflang { atomLanguageTag }?,
attribute title { text }?,
attribute length { text }?,
undefinedContent
}
- Author:
- Simon Willnauer
Fields inherited from interface org.apache.lucene.gdata.gom.core.AtomParser |
DUPLICATE_ATTRIBUTE, DUPLICATE_ELEMENT, DUPLICATE_ELEMENT_VALUE, INVALID_ATTRIBUTE, INVALID_ELEMENT_VALUE, MISSING_ELEMENT_ATTRIBUTE, MISSING_ELEMENT_CHILD, MISSING_ELEMENT_VALUE, MISSING_ELEMENT_VALUE_PLAIN, UNEXPECTED_ATTRIBUTE, UNEXPECTED_ELEMENT, UNEXPECTED_ELEMENT_CHILD, UNEXPECTED_ELEMENT_VALUE, URECOGNIZED_ELEMENT_CHILD |
LOCALNAME
static final String LOCALNAME
- Atom local name for the xml element
- See Also:
- Constant Field Values
getHref
String getHref()
- Returns:
- - the href attribute value of the element link
setHref
void setHref(String aHref)
- Parameters:
aHref
- -
the href attribute value of the element link to set.
getHrefLang
String getHrefLang()
- Returns:
- the hreflang attribute value of the element link
setHrefLang
void setHrefLang(String aHrefLang)
- Parameters:
aHrefLang
- -
the hreflang attribute value of the element link to set.
getLength
Integer getLength()
- Returns:
- - the length attribute value of the element link.
setLength
void setLength(Integer aLength)
- Parameters:
aLength
- -
the length attribute value of the element link to set.
getRel
String getRel()
- Returns:
- - the rel attribute value of the element link.
setRel
void setRel(String aRel)
- Parameters:
aRel
- -
the rel attribute value of the element link to set
getTitle
String getTitle()
- Returns:
- - the title attribute value of the element link.
setTitle
void setTitle(String aTitle)
- Parameters:
aTitle
- -
the title attribute value of the element link to set
getType
String getType()
- Returns:
- - the type attribute value of the element link.
setType
void setType(String aType)
- Parameters:
aType
- -
the type attribute value of the element link.
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.