public class ContentEntity extends AbstractLocalizedEntity implements IContentEntity
dir, lang, LEFT_TO_RIGHT, LEFT_TO_RIGHT_OVERRIDE, RIGHT_TO_LEFT, RIGHT_TO_LEFT_OVERRIDE| Constructor and Description |
|---|
ContentEntity() |
ContentEntity(java.lang.String src,
java.lang.String charSet,
java.lang.String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object
|
void |
fromXML(org.jdom.Element element,
java.lang.String[] locales,
java.lang.String[] encodings,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
java.lang.String |
getCharSet() |
java.lang.String |
getSrc() |
java.lang.String |
getType() |
void |
setCharSet(java.lang.String charSet) |
void |
setSrc(java.lang.String src) |
void |
setType(java.lang.String type) |
org.jdom.Element |
toXml()
Marshall the entity into an XML Element
|
getDir, getLang, getLocalizedTextContent, getTextDirection, isValid, setDir, setLang, setLocalisationAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLang, setLanggetDir, isValid, setDirpublic ContentEntity()
public ContentEntity(java.lang.String src,
java.lang.String charSet,
java.lang.String type)
public java.lang.String getCharSet()
getCharSet in interface IContentpublic void setCharSet(java.lang.String charSet)
setCharSet in interface IContentpublic void fromXML(org.jdom.Element element)
IElementfromXML in interface IElementfromXML in class AbstractLocalizedEntityelement - The Element to unmarshallpublic void fromXML(org.jdom.Element element,
java.lang.String[] locales,
java.lang.String[] encodings,
org.apache.commons.compress.archivers.zip.ZipFile zip)
throws BadManifestException
fromXML in interface IContentEntityBadManifestException2012 Apache Software Foundation.