|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPluginContext
org.gcube.contentmanagement.contentmanager.factsheetplugin.contexts.FactsheetPluginContext
public class FactsheetPluginContext
The context of the plugin.
Field Summary | |
---|---|
static java.lang.String |
NS
The plugin's namespace. |
Constructor Summary | |
---|---|
FactsheetPluginContext()
|
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(FactsheetCreateParameters 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 FactsheetPluginContext() 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(FactsheetCreateParameters o) throws java.lang.Exception
o
- the object.
java.lang.Exception
- if the object could not be transformed.public static <T extends FactsheetCreateParameters> 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 |