|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GOMContent
GOMContent represents the atom:content element.
The "atom:content" element either contains or links to the content of the entry. The content of atom:content is Language-Sensitive.
atomInlineTextContent =
element atom:content {
atomCommonAttributes,
attribute type { "text" | "html" }?,
(text)*
}
atomInlineXHTMLContent =
element atom:content {
atomCommonAttributes,
attribute type { "xhtml" },
xhtmlDiv
}
atomInlineOtherContent =
element atom:content {
atomCommonAttributes,
attribute type { atomMediaType }?,
(text|anyElement)*
}
atomOutOfLineContent =
element atom:content {
atomCommonAttributes,
attribute type { atomMediaType }?,
attribute src { atomUri },
empty
}
atomContent = atomInlineTextContent
| atomInlineXHTMLContent
| atomInlineOtherContent
| atomOutOfLineContent
GOMTextConstruct| Field Summary | |
|---|---|
static String |
LOCAL_NAME_RSS
RSS local name for the xml element |
static String |
LOCALNAME
Atom local name for the xml element |
| Fields inherited from interface org.apache.lucene.gdata.gom.GOMElement |
|---|
XML_BASE, XML_LANG |
| 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 |
| Method Summary | |
|---|---|
AtomMediaType |
getAtomMediaType()
|
String |
getSrc()
The src attribute value |
void |
setAtomMediaType(AtomMediaType aMediaType)
The contents abstract media type |
void |
setSrc(String aSrc)
The src attribute value |
| Methods inherited from interface org.apache.lucene.gdata.gom.GOMElement |
|---|
getXmlBase, getXmlLang, writeAtomOutput, writeRssOutput, writeRssOutput |
| Methods inherited from interface org.apache.lucene.gdata.gom.GOMXmlEntity |
|---|
getLocalName, getQname, getTextValue, setLocalName, setNamespacePrefix, setNamespaceUri, setTextValue |
| Methods inherited from interface org.apache.lucene.gdata.gom.core.AtomParser |
|---|
getChildParser, processAttribute, processElementValue, processEndElement |
| Field Detail |
|---|
static final String LOCALNAME
static final String LOCAL_NAME_RSS
| Method Detail |
|---|
String getSrc()
void setSrc(String aSrc)
aSrc - - the src attribute value to setvoid setAtomMediaType(AtomMediaType aMediaType)
aMediaType - -AtomMediaType getAtomMediaType()
AtomMediaType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||