Package org.faktorips.runtime.internal
Interface IXmlPersistenceSupport
-
- All Superinterfaces:
IClRepositoryObject
- All Known Implementing Classes:
ProductComponent,ProductComponentGeneration,ProductComponentLink
public interface IXmlPersistenceSupport extends IClRepositoryObject
Common interface for runtime classes that support XML persistence through the methodsIClRepositoryObject.initFromXml(Element)andtoXml(Document).- Author:
- Stefan Widmaier, FaktorZehn AG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.w3c.dom.ElementtoXml(org.w3c.dom.Document document)Creates anElement(using the given document) that represents this object in XML.-
Methods inherited from interface org.faktorips.runtime.IClRepositoryObject
initFromXml
-
-
-
-
Method Detail
-
toXml
org.w3c.dom.Element toXml(org.w3c.dom.Document document)
Creates anElement(using the given document) that represents this object in XML. The caller is responsible of adding the returned element to an otherElementorDocumentif required.- Parameters:
document- the document to use for creatingElements- Returns:
- an
Elementthat represents this object as XML element
-
-