|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inria.ketuk.XBMapper
A mapper between XML elements and beans
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
called when a event of type action is fired |
void |
addXEditListener(XEditListener l)
Adds an event listener for XEdit events |
void |
beanEditPerformed(BeanEditEvent evt)
called when a event of type beanEdit is fired |
void |
caretUpdate(javax.swing.event.CaretEvent evt)
called when a event of type caret is fired |
void |
componentAdded(java.awt.event.ContainerEvent evt)
Default processing when a component has been changed |
void |
componentRemoved(java.awt.event.ContainerEvent evt)
Default processing when a component has been removed |
org.w3c.dom.Document |
doTransform()
Applies the transformation represented by the current xsl document to the source document |
java.lang.Object |
getRootBean()
The root of the generated beans |
org.w3c.dom.Document |
getXmlDocument()
The source XML document |
protected void |
notifyXEditPerformed(org.w3c.dom.Node n,
int eventType)
Notifies all registered listener when an XEdit event is received |
java.lang.Object |
processBM()
Applies the transformation represented by the current xslt document to the source document and generates the corresponding bean |
java.lang.Object |
processBM(org.w3c.dom.Document doc)
Performs the layout of the beans described by the the parameter bean markup document |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Default processing when a property has changed |
void |
removeXEditListener(XEditListener l)
Removes an event listener for XEdit events |
void |
updateBeans(java.beans.PropertyChangeEvent evt)
Updates the beans when a modification has been made on the source document |
void |
updateBeansTot(java.beans.PropertyChangeEvent evt)
For debug only. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public org.w3c.dom.Document getXmlDocument()
public java.lang.Object getRootBean()
public java.lang.Object processBM() throws XBException, BMException
public org.w3c.dom.Document doTransform() throws XBException
public java.lang.Object processBM(org.w3c.dom.Document doc) throws XBException, BMException
doc
- the bean markup documentpublic void caretUpdate(javax.swing.event.CaretEvent evt)
caretUpdate
in interface javax.swing.event.CaretListener
evt
- the fired eventpublic void beanEditPerformed(BeanEditEvent evt)
beanEditPerformed
in interface BeanEditListener
evt
- the fired eventpublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
evt
- the fired eventpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
evt
- the fired eventpublic void componentAdded(java.awt.event.ContainerEvent evt)
componentAdded
in interface java.awt.event.ContainerListener
evt
- the fired eventpublic void componentRemoved(java.awt.event.ContainerEvent evt)
componentRemoved
in interface java.awt.event.ContainerListener
evt
- the fired eventpublic void updateBeansTot(java.beans.PropertyChangeEvent evt) throws XBException
Generates all the beans at each modification made on the source document
evt
- the fired eventpublic void updateBeans(java.beans.PropertyChangeEvent evt) throws XBException
The update is composed of three successive operations
evt
- the fired eventpublic void addXEditListener(XEditListener l)
l
- the listener to addpublic void removeXEditListener(XEditListener l)
l
- the listener to removeprotected void notifyXEditPerformed(org.w3c.dom.Node n, int eventType)
n
- the node concerned by the eventeventType
- the type of the event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |