|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.tonbeller.jpivot.core.ModelFactory
public class ModelFactory
creates a model instance from an xml description. Example
<?xml version="1.0" encoding="utf-8"?> <model id="m1" class="com.tonbeller.jpivot.core.ModelSupport"> <extension id="f1" class="com.tonbeller.jpivot.core.ExtensionSupport"/> <extension id="f2" class="com.tonbeller.jpivot.core.ExtensionSupport"/> </model>
| Nested Class Summary | |
|---|---|
static class |
ModelFactory.ModelHolder
not for external use. |
| Method Summary | |
|---|---|
static Model |
instance(java.net.URL url)
creates a model from an xml configuration file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Model instance(java.net.URL url)
throws org.xml.sax.SAXException,
java.io.IOException
url - url of model configuration file
org.xml.sax.SAXException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||