org.apache.ws.scout.util
Class ScoutJaxrUddiHelper
java.lang.Object
org.apache.ws.scout.util.ScoutJaxrUddiHelper
public class ScoutJaxrUddiHelper
- extends java.lang.Object
Helper class that does Jaxr->UDDI Mapping
- Author:
- Anil Saldhana, Geir Magnusson Jr.
Method Summary |
static org.apache.juddi.datatype.Address |
getAddress(javax.xml.registry.infomodel.PostalAddress post)
Get UDDI Address given JAXR Postal Address |
static org.apache.juddi.datatype.binding.BindingTemplate |
getBindingTemplateFromJAXRSB(javax.xml.registry.infomodel.ServiceBinding serve)
|
static org.apache.juddi.datatype.business.BusinessEntity |
getBusinessEntityFromJAXROrg(javax.xml.registry.infomodel.Organization org)
|
static org.apache.juddi.datatype.service.BusinessService |
getBusinessServiceFromJAXRService(javax.xml.registry.infomodel.Service serve)
|
static org.apache.juddi.datatype.business.Contact |
getContactFromJAXRUser(javax.xml.registry.infomodel.User user)
TODO - should we really return new Contact() rather than null on
null input?
Convert JAXR User Object to UDDI Contact |
static org.apache.juddi.datatype.assertion.PublisherAssertion |
getPubAssertionFromJAXRAssociation(javax.xml.registry.infomodel.Association assc)
|
static org.apache.juddi.datatype.assertion.PublisherAssertion |
getPubAssertionFromJAXRAssociationKey(java.lang.String key)
|
static org.apache.juddi.datatype.tmodel.TModel |
getTModelFromJAXRClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme scheme)
|
static org.apache.juddi.datatype.tmodel.TModel |
getTModelFromJAXRConcept(javax.xml.registry.infomodel.Concept scheme)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScoutJaxrUddiHelper
public ScoutJaxrUddiHelper()
getAddress
public static org.apache.juddi.datatype.Address getAddress(javax.xml.registry.infomodel.PostalAddress post)
throws javax.xml.registry.JAXRException
- Get UDDI Address given JAXR Postal Address
- Throws:
javax.xml.registry.JAXRException
getBindingTemplateFromJAXRSB
public static org.apache.juddi.datatype.binding.BindingTemplate getBindingTemplateFromJAXRSB(javax.xml.registry.infomodel.ServiceBinding serve)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getPubAssertionFromJAXRAssociation
public static org.apache.juddi.datatype.assertion.PublisherAssertion getPubAssertionFromJAXRAssociation(javax.xml.registry.infomodel.Association assc)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getPubAssertionFromJAXRAssociationKey
public static org.apache.juddi.datatype.assertion.PublisherAssertion getPubAssertionFromJAXRAssociationKey(java.lang.String key)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getBusinessServiceFromJAXRService
public static org.apache.juddi.datatype.service.BusinessService getBusinessServiceFromJAXRService(javax.xml.registry.infomodel.Service serve)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getTModelFromJAXRClassificationScheme
public static org.apache.juddi.datatype.tmodel.TModel getTModelFromJAXRClassificationScheme(javax.xml.registry.infomodel.ClassificationScheme scheme)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getTModelFromJAXRConcept
public static org.apache.juddi.datatype.tmodel.TModel getTModelFromJAXRConcept(javax.xml.registry.infomodel.Concept scheme)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getBusinessEntityFromJAXROrg
public static org.apache.juddi.datatype.business.BusinessEntity getBusinessEntityFromJAXROrg(javax.xml.registry.infomodel.Organization org)
throws javax.xml.registry.JAXRException
- Throws:
javax.xml.registry.JAXRException
getContactFromJAXRUser
public static org.apache.juddi.datatype.business.Contact getContactFromJAXRUser(javax.xml.registry.infomodel.User user)
throws javax.xml.registry.JAXRException
- TODO - should we really return new Contact() rather than null on
null input?
Convert JAXR User Object to UDDI Contact
- Throws:
javax.xml.registry.JAXRException