FileDocCategorySizeDatePackage
GOMContent.javaAPI DocApache Lucene 2.1.02764Wed Feb 14 10:46:00 GMT 2007org.apache.lucene.gdata.gom

GOMContent

public interface GOMContent implements GOMTextConstruct

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
author
Simon Willnauer
see
org.apache.lucene.gdata.gom.GOMTextConstruct

Fields Summary
public static final String
LOCALNAME
Atom local name for the xml element
public static final String
LOCAL_NAME_RSS
RSS local name for the xml element
Constructors Summary
Methods Summary
public abstract AtomMediaTypegetAtomMediaType()

return
- the atom media type of the content element
see
AtomMediaType

public abstract java.lang.StringgetSrc()
The src attribute value

return
- the value of the src attribute

public abstract voidsetAtomMediaType(AtomMediaType aMediaType)
The contents abstract media type

param
aMediaType -

public abstract voidsetSrc(java.lang.String aSrc)
The src attribute value

param
aSrc - the src attribute value to set