|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oktiva.mogno.DefaultComponentFiler
This is the DefaultComponentFiler, wich uses an XML file to store the component's params.
| Constructor Summary | |
DefaultComponentFiler()
|
|
| Method Summary | |
java.util.Hashtable |
load()
Loads the component's params from a XML file. |
java.util.Hashtable |
load(java.io.InputStream in)
Loads the component's params using an InputStream. |
void |
setParams(java.util.Hashtable params)
|
void |
store(java.util.Hashtable mine,
java.util.Hashtable owned)
Store the attributes to the XML file set. |
void |
store(java.util.Hashtable mine,
java.util.Vector owned)
Store the attributes to the XML file set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultComponentFiler()
| Method Detail |
public void setParams(java.util.Hashtable params)
setParams in interface ComponentFilerparams - This filer only needs one parameter: a File where is the XML, under the key "xmlFile".
If there is a second parameter with key "designing", this filer don't use the cache.
public java.util.Hashtable load()
throws java.io.IOException
load in interface ComponentFilerjava.io.IOException
public java.util.Hashtable load(java.io.InputStream in)
throws java.io.IOException
load in interface ComponentFilerin - InputStream from where the data will be read.
java.io.IOException
public void store(java.util.Hashtable mine,
java.util.Hashtable owned)
throws java.io.IOException
store in interface ComponentFilermine - Hashtable contendo os atributos do compomente a ser salvo.owned - Hashtable de hashtables contendo as propriedades dos
componentes possuídos pelo componente a ser salvo.
Os componentes serão salvos na ordem das chaves deste hash.
java.io.IOException
public void store(java.util.Hashtable mine,
java.util.Vector owned)
throws java.io.IOException
store in interface ComponentFilermine - Hashtable contendo os atributos do compomente a ser salvo.owned - Vector de hashtables contendo as propriedades dos
componentes possuídos pelo componente a ser salvo, na ordem desejada.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||