|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hardcode.gdbms.engine.data.persistence.OperationLayerMemento
public class OperationLayerMemento
A memento from the operation layer
Constructor Summary | |
---|---|
OperationLayerMemento(java.lang.String name,
Memento[] mementos,
java.lang.String sql)
Creates a new OperationLayerMemento. |
Method Summary | |
---|---|
Memento |
getMemento(int i)
Returns the ith memento |
int |
getMementoCount()
Return the number of childs of this memento |
java.lang.String |
getSql()
Returns the SQL that created the DataSource |
void |
getXML()
Parses the memento and generates the corresponding SAX events in the content handler stablished by setContentHandler. |
void |
setContentHandler(org.xml.sax.ContentHandler saxHandler)
Sets the content handler for the getXML method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationLayerMemento(java.lang.String name, Memento[] mementos, java.lang.String sql)
name
- DataSource namemementos
- mementos of DataSources involved in the operationsql
- sql query of the operationMethod Detail |
---|
public int getMementoCount()
public Memento getMemento(int i)
i
- index of the memento
public java.lang.String getSql()
public void setContentHandler(org.xml.sax.ContentHandler saxHandler)
Memento
setContentHandler
in interface Memento
saxHandler
- content handlerMemento.setContentHandler(org.xml.sax.ContentHandler)
public void getXML() throws org.xml.sax.SAXException
Memento
getXML
in interface Memento
org.xml.sax.SAXException
- If errorMemento.getXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |