|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectav.meta.MetaComposition
public class MetaComposition
This class is the foundation to programmaticly authoring meta resources under a repository.
| Nested Class Summary | |
|---|---|
class |
MetaComposition.MetaCompositor
This class is the MUTABLE version of root Metas. |
| Constructor Summary | |
|---|---|
MetaComposition(String fileExt,
MetaLoader loader)
Cosntruct a composition with a meta loader. |
|
| Method Summary | |
|---|---|
MetaComposition.MetaCompositor |
getCompositor(String name,
Locale l)
Get a compositor for a meta bundle with specified name and locale. |
Collection<MetaComposition.MetaCompositor> |
getCompositors()
Get all compositors ever constructed and returned, this is a good memory of what has been edited. |
void |
reload()
This clears the compositor cache, which causes reconstructions of compositors upon subsequent getting on compositors. |
void |
storeAllXMLs(File dir)
Store all edited compositors as XML files to a directory of local file system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaComposition(String fileExt,
MetaLoader loader)
loader - a meta loader for default values| Method Detail |
|---|
public MetaComposition.MetaCompositor getCompositor(String name,
Locale l)
name - name of the meta bundle to modifyl - locale of the meta bundle to modify
public void reload()
public Collection<MetaComposition.MetaCompositor> getCompositors()
public void storeAllXMLs(File dir)
throws FileNotFoundException
dir - under which to store meta bundle files
FileNotFoundException - if dir doesn't exist
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||