org.apache.wookie.w3c.impl
Class LicenseEntity
java.lang.Object
org.apache.wookie.w3c.impl.AbstractLocalizedEntity
org.apache.wookie.w3c.impl.LicenseEntity
- All Implemented Interfaces:
- IElement, ILicenseEntity, ILocalizedElement, ILocalizedEntity
public class LicenseEntity
- extends AbstractLocalizedEntity
- implements ILicenseEntity
the element
|
Constructor Summary |
LicenseEntity()
|
LicenseEntity(java.lang.String licenseText,
java.lang.String href,
java.lang.String language,
java.lang.String dir)
|
|
Method Summary |
void |
fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object |
java.lang.String |
getHref()
|
java.lang.String |
getLicenseText()
|
void |
setHref(java.lang.String href)
|
void |
setLicenseText(java.lang.String licenseText)
|
org.jdom.Element |
toXml()
Marshall the entity into an XML Element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LicenseEntity
public LicenseEntity()
LicenseEntity
public LicenseEntity(java.lang.String licenseText,
java.lang.String href,
java.lang.String language,
java.lang.String dir)
getLicenseText
public java.lang.String getLicenseText()
- Specified by:
getLicenseText in interface ILicenseEntity
setLicenseText
public void setLicenseText(java.lang.String licenseText)
- Specified by:
setLicenseText in interface ILicenseEntity
getHref
public java.lang.String getHref()
- Specified by:
getHref in interface ILicenseEntity
setHref
public void setHref(java.lang.String href)
- Specified by:
setHref in interface ILicenseEntity
fromXML
public void fromXML(org.jdom.Element element)
- Description copied from interface:
IElement
- Unmarshall the given XML Element to this Object
- Specified by:
fromXML in interface IElement- Overrides:
fromXML in class AbstractLocalizedEntity
- Parameters:
element - The Element to unmarshall
toXml
public org.jdom.Element toXml()
- Description copied from interface:
IElement
- Marshall the entity into an XML Element
- Specified by:
toXml in interface IElement
- Returns:
- the W3C Widgets Element representing the content of the entity
2011 Apache Software Foundation.