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 methods IClRepositoryObject.initFromXml(Element) and toXml(Document).

Author:
Stefan Widmaier, FaktorZehn AG

Method Summary
 Element toXml(Document document)
          Creates an Element (using the given document) that represents this object in XML.
 
Methods inherited from interface org.faktorips.runtime.IClRepositoryObject
initFromXml
 

Method Detail

toXml

Element toXml(Document document)
Creates an Element (using the given document) that represents this object in XML. The caller is responsible of adding the returned element to an other Element or Document if required.

Parameters:
document - the document to use for creating Elements
Returns:
an Element that represents this object as XML element


Copyright © 2015. All rights reserved.