|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.contentmanagement.contentmanager.stubs.calls.Utils
public class Utils
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static GCUBEFault |
buildFault(GCUBEFault fault)
Creates a specific fault from a generic one. |
static org.w3c.dom.Element |
getDocument(AnyHolder d)
Extracts a document from its packaging for transmission. |
static AnyHolder |
getDocumentHolder(org.w3c.dom.Element e)
Returns a packaging of a document suitable for transmission. |
static Predicate |
getPredicate(AnyHolder p)
Extracts a predicate from its packaging for transmission. |
static AnyHolder |
getPredicateHolder(Predicate p)
Returns a packaging of a given predicate suitable for transmission. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static AnyHolder getPredicateHolder(Predicate p) throws java.lang.Exception
p
- the predicate.
java.lang.Exception
- if the predicate could not be packaged.public static Predicate getPredicate(AnyHolder p) throws java.lang.Exception
p
- the packaging.
java.lang.Exception
- if the predicate could not be extracted.public static AnyHolder getDocumentHolder(org.w3c.dom.Element e) throws java.lang.Exception
e
- the DOM-representation of the document.
java.lang.Exception
- if the document could not be packaged.public static org.w3c.dom.Element getDocument(AnyHolder d)
d
- the packaging.
public static GCUBEFault buildFault(GCUBEFault fault)
fault
- the generic fault.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |