|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPluginContext
org.gcube.contentmanagement.contentmanager.oaiplugin.contexts.OAIPluginContext
public class OAIPluginContext
The context of the plugin.
| Field Summary | |
|---|---|
static java.lang.String |
NS
The plugin's namespace. |
| Constructor Summary | |
|---|---|
OAIPluginContext()
|
|
| Method Summary | ||
|---|---|---|
static
|
fromElement(org.w3c.dom.Element e,
java.lang.Class<T> type)
Facility to transform a DOM element into an JAXB-annotated object |
|
java.util.List<org.w3c.dom.Element> |
getCreatePayloads()
|
|
FactoryDelegate |
getFactory()
|
|
static org.w3c.dom.Element |
toElement(OAICreateParameters o)
Facility to transform a JAXB-annotated object into a DOM element. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NS
| Constructor Detail |
|---|
public OAIPluginContext()
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.util.List<org.w3c.dom.Element> getCreatePayloads()
public FactoryDelegate getFactory()
public static org.w3c.dom.Element toElement(OAICreateParameters o)
throws java.lang.Exception
o - the object.
java.lang.Exception - if the object could not be transformed.
public static <T extends OAICreateParameters> T fromElement(org.w3c.dom.Element e,
java.lang.Class<T> type)
throws java.lang.Exception
T - the type of the object.e - the element.type - the (runtime representation) of the type of the object.
java.lang.Exception - if the element could not be transformed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||