|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.opensagres.xdocreport.remoting.resources.domain.ResourceFactory
public class ResourceFactory
Factory to create Resource.
| Field Summary | |
|---|---|
static String |
FIELDS_XML
|
static String |
META_INF
|
| Constructor Summary | |
|---|---|
ResourceFactory()
|
|
| Method Summary | |
|---|---|
static Resource |
createCategory(String name,
Resource parent)
Create category resource. |
static Resource |
createDocument(String name,
Resource parent)
Create document resource. |
static Resource |
createResource(String name,
ResourceType type,
Resource parent)
Create generic resource. |
static Resource |
createTemplate(String name,
Resource parent)
Create template resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String META_INF
public static final String FIELDS_XML
| Constructor Detail |
|---|
public ResourceFactory()
| Method Detail |
|---|
public static Resource createResource(String name,
ResourceType type,
Resource parent)
name - of the resource to create.type - of the resource to create.parent - resource of the resource to create.
public static Resource createCategory(String name,
Resource parent)
name - of the resource to create.parent - resource of the resource to create.
public static Resource createDocument(String name,
Resource parent)
name - of the resource to create.parent - resource of the resource to create.
public static Resource createTemplate(String name,
Resource parent)
name - of the resource to create.parent - resource of the resource to create.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||