| java.lang.Object org.mandarax.zkb.framework.AbstractAdapter org.mandarax.zkb.framework.Adapter4Predicates
Adapter4Predicates | public class Adapter4Predicates extends AbstractAdapter (Code) | | XML adapter class for Predicates
author: Jens Dietrich version: 3.4 <7 March 05> since: 2.2 |
exportObject | 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 - the object persistency service exception: a - ZKBException is thrown if export fails |
getTagName | public String getTagName()(Code) | | Get the name of the associated tag (element).
a string |
importObject | 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 - the object persistency service Parameters: lfactory - the logic factory used to create objects exception: a - ZKBException is thrown if export fails |
printDTD | public void printDTD(StringBuffer out)(Code) | | Print the DTD associated with this adapter on a string buffer.
Parameters: out - the buffer to print on. |
Methods inherited from org.mandarax.zkb.framework.AbstractAdapter | protected void assignURI(Element e, ObjectPersistencyService ops, Object obj)(Code)(Java Doc) protected void check(Object obj, Class clazz) throws ZKBException(Code)(Java Doc) protected Class class4Name(String name) throws ZKBException(Code)(Java Doc) protected void exportChildren(Object[] objs, Element parent, String kindOfObject, GenericDriver driver, ObjectPersistencyService ops) throws ZKBException(Code)(Java Doc) protected void exportChildren(Collection objs, Element parent, String kindOfObject, GenericDriver driver, ObjectPersistencyService ops) throws ZKBException(Code)(Java Doc) protected Element exportObject(Object obj, String kindOfObject, GenericDriver driver, ObjectPersistencyService ops) throws ZKBException(Code)(Java Doc) protected void exportProperties(Element parent, PropertiesSupport ps)(Code)(Java Doc) protected String getClauseSetType(ClauseSet cs)(Code)(Java Doc) protected Object getObjectByURI(Element e, ObjectPersistencyService ops)(Code)(Java Doc) protected Object importChild(Element parent, String name, GenericDriver driver, ObjectPersistencyService ops, LogicFactory lfactory) throws ZKBException(Code)(Java Doc) protected Object importChildren(Element parent, String name, GenericDriver driver, ObjectPersistencyService ops, LogicFactory lfactory, Class targetType) throws ZKBException(Code)(Java Doc) protected void importProperties(Element parent, PropertiesSupport ps)(Code)(Java Doc) abstract public void printDTD(StringBuffer out)(Code)(Java Doc) protected void setTypeAttribute(Element e, Term t)(Code)(Java Doc)
|
|
|