|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauthentication.ResourceOffering
public class ResourceOffering
This class parses a resource offering from an XML node and holds it for other classes to use.
Field Summary | |
---|---|
private org.w3c.dom.Node |
offering
|
private java.lang.String |
offeringid
|
private java.lang.String |
resourceid
|
private java.lang.String |
securityMechId
|
Constructor Summary | |
---|---|
ResourceOffering(org.w3c.dom.Node offering)
This constructor stores the input XML node and retrieves a few useful values from it. |
Method Summary | |
---|---|
private org.w3c.dom.Node |
findNode(java.lang.String withName,
org.w3c.dom.Node parent)
This method looks for a node with the name withName that is a children of the Node parent. |
java.lang.String |
getMessageAuthMethod()
|
void |
getOffering(javax.xml.soap.SOAPElement appendto)
This method appends the resource offering node to the input SOAPElement, after converting the resource offering to a SOAPElement. |
java.lang.String |
getOfferingId()
|
java.lang.String |
getResourceId()
|
private void |
turnToSoap(org.w3c.dom.Node notSoap,
javax.xml.soap.SOAPElement parent)
This method turns the XML node notSoap into a SOAPElement by creating new SOAPElements and giving them the same properties as the XML node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String offeringid
private java.lang.String resourceid
private org.w3c.dom.Node offering
private java.lang.String securityMechId
Constructor Detail |
---|
public ResourceOffering(org.w3c.dom.Node offering)
offering
- Node The XML node containing the resource offering.Method Detail |
---|
private org.w3c.dom.Node findNode(java.lang.String withName, org.w3c.dom.Node parent)
withName
- String The local name of the node to look for.parent
- Node The parent of the node to look for.
public void getOffering(javax.xml.soap.SOAPElement appendto) throws javax.xml.soap.SOAPException
appendto
- SOAPElement The element to append this resource offering to.
javax.xml.soap.SOAPException
- If something is wrong with the offering a SOAPException is thrown.private void turnToSoap(org.w3c.dom.Node notSoap, javax.xml.soap.SOAPElement parent) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
public java.lang.String getOfferingId()
public java.lang.String getResourceId()
public java.lang.String getMessageAuthMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |