| org.mandarax.zkb.framework.Adapter
All known Subclasses: org.mandarax.zkb.framework.AbstractAdapter,
Adapter | public interface Adapter (Code) | | An XML adapter specifies how to convert a predicate to an element in the xml
document tree, and how to recover it from a (JDOM) element.
See Also: org.jdom.Element author: Jens Dietrich version: 3.4 <7 March 05> since: 2.2 |
exportObject | abstract public Element exportObject(Object obj, GenericDriver driver, ObjectPersistencyService ops) throws ZKBException(Code) | | Export an object, i.e., convert it to an element in the DOM.
Parameters: obj - an object Parameters: driver - the generic driver Parameters: ops - an object persistency service exception: a - ZKBException is thrown if export fails |
getTagName | abstract public String getTagName()(Code) | | Get the name of the associated tag (element).
a string |
importObject | abstract public Object importObject(Element e, GenericDriver driver, ObjectPersistencyService ops, LogicFactory lfactory) throws ZKBException(Code) | | Build an object from an XML element.
Parameters: e - an element Parameters: driver - the generic driver Parameters: ops - an object persistency service Parameters: lfactory - the logic factory used to create objects exception: a - ZKBException is thrown if import fails |
printDTD | abstract public void printDTD(StringBuffer out)(Code) | | Print the DTD associated with this adapter on a string buffer.
Parameters: out - the buffer to print on. |
|
|