org.apache.wookie.w3c.xml
Interface IElement

All Known Subinterfaces:
IContentEntity, IIconEntity
All Known Implementing Classes:
AbstractLocalizedEntity, AccessEntity, AuthorEntity, ContentEntity, DescriptionEntity, FeatureEntity, IconEntity, LicenseEntity, NameEntity, ParamEntity, PreferenceEntity, WidgetManifestModel

public interface IElement

Base class for model objects that are unmarshalled from an XML element


Method Summary
 void fromXML(org.jdom.Element element)
          Unmarshall the given XML Element to this Object
 org.jdom.Element toXml()
          Marshall the entity into an XML Element
 

Method Detail

fromXML

void fromXML(org.jdom.Element element)
             throws BadManifestException
Unmarshall the given XML Element to this Object

Parameters:
element - The Element to unmarshall
Throws:
BadManifestException

toXml

org.jdom.Element toXml()
Marshall the entity into an XML Element

Returns:
the W3C Widgets Element representing the content of the entity


2012 Apache Software Foundation.