|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.overlord.sramp.client.SrampClientUtils
public final class SrampClientUtils
Some useful static utils for users of the s-ramp client.
| Method Summary | |
|---|---|
static String |
getArtifactModel(org.jboss.resteasy.plugins.providers.atom.Entry entry)
Figures out the S-RAMP artifact model for the given Entry. |
static String |
getArtifactType(org.jboss.resteasy.plugins.providers.atom.Entry entry)
Figures out the S-RAMP artifact type for the given Entry. |
static BaseArtifactType |
unwrapSrampArtifact(ArtifactType artifactType,
Artifact artifact)
Unwraps the specific BaseArtifactType from the S-RAMP Artifact wrapper
element. |
static BaseArtifactType |
unwrapSrampArtifact(ArtifactType artifactType,
org.jboss.resteasy.plugins.providers.atom.Entry entry)
Unwraps a specific BaseArtifactType from the Atom Entry containing it. |
static BaseArtifactType |
unwrapSrampArtifact(String artifactType,
Artifact artifact)
Unwraps the specific BaseArtifactType from the S-RAMP Artifact wrapper
element. |
static BaseArtifactType |
unwrapSrampArtifact(String artifactType,
org.jboss.resteasy.plugins.providers.atom.Entry entry)
Unwraps a specific BaseArtifactType from the Atom Entry containing it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BaseArtifactType unwrapSrampArtifact(String artifactType,
Artifact artifact)
BaseArtifactType from the S-RAMP Artifact wrapper
element. This method requires the artifact's type.
artifactType - the s-ramp artifact typeartifact - the s-ramp wrapper Artifact
BaseArtifactType
public static BaseArtifactType unwrapSrampArtifact(ArtifactType artifactType,
Artifact artifact)
BaseArtifactType from the S-RAMP Artifact wrapper
element. This method requires the artifact's type.
artifactType - the s-ramp artifact typeartifact - the s-ramp wrapper Artifact
BaseArtifactType
public static BaseArtifactType unwrapSrampArtifact(String artifactType,
org.jboss.resteasy.plugins.providers.atom.Entry entry)
throws JAXBException
BaseArtifactType from the Atom Entry containing it. This
method grabs the Artifact child from the Atom Entry and then unwraps the
BaseArtifactType from that.
artifactType - the s-ramp artifact typeentry - an Atom Entry
BaseArtifactType
JAXBException
public static BaseArtifactType unwrapSrampArtifact(ArtifactType artifactType,
org.jboss.resteasy.plugins.providers.atom.Entry entry)
throws JAXBException
BaseArtifactType from the Atom Entry containing it. This
method grabs the Artifact child from the Atom Entry and then unwraps the
BaseArtifactType from that.
artifactType - the s-ramp artifact typeentry - an Atom Entry
BaseArtifactType
JAXBExceptionpublic static String getArtifactModel(org.jboss.resteasy.plugins.providers.atom.Entry entry)
Entry.
entry - public static String getArtifactType(org.jboss.resteasy.plugins.providers.atom.Entry entry)
Entry.
entry -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||