|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colle.xml.Mapper
Mapper interface that has to be implemented by mapper class. Created: 26 Sep 2001
Field Summary | |
protected Mapper |
mxParentMapper
|
Constructor Summary | |
protected |
Mapper(Mapper pxParentMapper)
Constructs a mapper with the parent mapper. |
Method Summary | |
protected abstract void |
map(org.jdom.Element pxParent,
Object pxObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
boolean pbObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
char[] pxObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
char pxObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
double pnObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
float pnObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
int pnObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
long pnObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
void |
map(org.jdom.Element pxParent,
String psName,
Object pxObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
static void |
map(org.jdom.Element pxParent,
String psName,
String psObject,
Set pxPaths,
String psPath)
Maps the object into a DOM document. |
void |
mapCollection(org.jdom.Element pxParent,
String psName,
Collection pxCollection,
Set pxPaths,
String psPath)
Maps the collection into a DOM document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Mapper mxParentMapper
Constructor Detail |
protected Mapper(Mapper pxParentMapper)
Method Detail |
public void map(org.jdom.Element pxParent, String psName, Object pxObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpxObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, String psObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpsObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, boolean pbObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpbObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, char pxObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpxObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, char[] pxObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpxObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, double pnObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpnObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, float pnObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpnObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, int pnObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpnObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic static void map(org.jdom.Element pxParent, String psName, long pnObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the top element tag should be calledpnObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- ignored, included to simplify generated codepublic void mapCollection(org.jdom.Element pxParent, String psName, Collection pxCollection, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopsName
- name the first element tag should be calledpxCollection
- collection being mappedpxPaths
- paths to each explicitly requested objectprotected abstract void map(org.jdom.Element pxParent, Object pxObject, Set pxPaths, String psPath)
pxParent
- parent element to add new elements ontopxObject
- object being mappedpxPaths
- paths to each explicitly requested objectpsPath
- xpath to the current object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |