| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbforms.event.datalist.dao.XMLDataResult
public class XMLDataResult
Delegates the whole xpath stuff to this class. Holds the result of an xpath query. Do the mapping between java objects and fields.
| Constructor Summary | |
|---|---|
XMLDataResult(Element root,
              String qry)
Creates a new XMLDataResult object.  | 
|
| Method Summary | |
|---|---|
 Object | 
getItemValue(int i,
             String expression,
             int objectType)
returns the field value of a special node as Object.  | 
 Element | 
getRoot()
DOCUMENT ME!  | 
 boolean | 
hasChanged()
DOCUMENT ME!  | 
 Node | 
item(int index)
returns the result at index as dom node  | 
 void | 
setItemValue(int i,
             String expression,
             int objectType,
             Object value)
sets the field value of a special node as string. node is decribed by an xpath string  | 
 int | 
size()
size of resultset  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public XMLDataResult(Element root,
                     String qry)
root - xml dom objectqry - xpath string to query| Method Detail | 
|---|
public void setItemValue(int i,
                         String expression,
                         int objectType,
                         Object value)
i - node of result to returnexpression - xpath string which discribes the field to returnobjectType - field type to returnvalue - value to set
public Object getItemValue(int i,
                           String expression,
                           int objectType)
i - node of result to returnexpression - xpath string which discribes the field to returnobjectType - field type to return
public Element getRoot()
public boolean hasChanged()
public Node item(int index)
index - node of result to return
public int size()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||