public class LicenseEntity extends AbstractLocalizedEntity implements ILicense, IElement
dir, lang, LEFT_TO_RIGHT, LEFT_TO_RIGHT_OVERRIDE, RIGHT_TO_LEFT, RIGHT_TO_LEFT_OVERRIDE| Constructor and Description |
|---|
LicenseEntity() |
LicenseEntity(java.lang.String licenseText,
java.lang.String href,
java.lang.String language,
java.lang.String dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object
|
java.lang.String |
getHref()
Get widget license href URL.
|
java.lang.String |
getLicenseText()
Get widget license text.
|
void |
setHref(java.lang.String href)
Set widget license href URL.
|
void |
setLicenseText(java.lang.String licenseText)
Set widget license text.
|
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 LicenseEntity()
public LicenseEntity(java.lang.String licenseText,
java.lang.String href,
java.lang.String language,
java.lang.String dir)
public java.lang.String getLicenseText()
ILicensegetLicenseText in interface ILicensepublic void setLicenseText(java.lang.String licenseText)
ILicensesetLicenseText in interface ILicenselicenseText - license textpublic java.lang.String getHref()
ILicensepublic void setHref(java.lang.String href)
ILicensepublic void fromXML(org.jdom.Element element)
IElementfromXML in interface IElementfromXML in class AbstractLocalizedEntityelement - The Element to unmarshall2012 Apache Software Foundation.