public final class StandardMappingUtils
extends java.lang.Object
EmailAddress
,
PersonName
... etc), also called Support Type Objects.Modifier and Type | Method and Description |
---|---|
static EmailAddress |
getEmailAddress(javax.xml.registry.infomodel.EmailAddress emailAdrress)
Gets the
EmailAddress for given JAXR
EmailAddress . |
static InternationalString |
getInternationalString(javax.xml.registry.infomodel.InternationalString internationalString)
Gets the
InternationalString for given JAXR
InternationalString . |
static javax.xml.registry.infomodel.EmailAddress |
getJAXREmailAddress(EmailAddress emailAdrress)
Gets JAXR
EmailAddress for given EmailAddress . |
static javax.xml.registry.infomodel.InternationalString |
getJAXRInternationalString(InternationalString internationalString)
Gets the JAXR
InternationalString for given
InternationalString . |
static javax.xml.registry.infomodel.LocalizedString |
getJAXRLoclizedString(LocalizedString localizedString)
Gets the JAXR
LocalizedString for given
LocalizedString . |
static javax.xml.registry.infomodel.PersonName |
getJAXRPersonName(PersonName personName)
Gets the JAXR
PersonName for given PersonName . |
static javax.xml.registry.infomodel.PostalAddress |
getJAXRPostalAddress(PostalAddress postalAddress)
Gets the JAXR
PostalAddress for given PostalAddress . |
static javax.xml.registry.infomodel.Slot |
getJAXRSlot(Slot slot)
Gets the JAXR
Slot for given
Slot . |
static javax.xml.registry.infomodel.TelephoneNumber |
getJAXRTelephoneNumber(TelephoneNumber telephoneNumber)
Gets JAXR
TelephoneNumber for given
TelephoneNumber . |
static LocalizedString |
getLoclizedString(javax.xml.registry.infomodel.LocalizedString localizedString)
Gets the
LocalizedString for given JAXR
LocalizedString . |
static PersonName |
getPersonName(javax.xml.registry.infomodel.PersonName personName)
Gets the
PersonName for given JAXR PersonName . |
static PostalAddress |
getPostalAddress(javax.xml.registry.infomodel.PostalAddress postalAddress)
Gets the
PostalAddress for given JAXR PostalAddress . |
static Slot |
getSlot(javax.xml.registry.infomodel.Slot slot)
Gets the
Slot for given JAXR Slot . |
static TelephoneNumber |
getTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber telephoneNumber)
Gets the
TelephoneNumber for given JAXR
TelephoneNumber . |
static java.lang.Object |
getValue(java.lang.Object value,
java.util.Locale locale)
Deprecated.
|
static boolean |
isCSAFSupportType(java.lang.Object value)
Deprecated.
|
static boolean |
isJAXRSupportType(java.lang.Object value)
Deprecated.
|
static java.lang.Object |
toBeanValue(java.lang.Object value,
java.util.Locale locale)
Transforms a JAXR support type object to a registry bean support type
object.
|
static java.lang.Object |
toJAXRValue(java.lang.Object value,
java.util.Locale locale)
Transforms a registry bean support type object to a JAXR support type
object Support type objects are
TelephoneNumber ,
PostaAddress ... etc |
public static javax.xml.registry.infomodel.EmailAddress getJAXREmailAddress(EmailAddress emailAdrress)
EmailAddress
for given EmailAddress
.emailAdrress
- the email adress object.public static javax.xml.registry.infomodel.PersonName getJAXRPersonName(PersonName personName)
PersonName
for given PersonName
.personName
- the person name object.public static javax.xml.registry.infomodel.InternationalString getJAXRInternationalString(InternationalString internationalString)
InternationalString
for given
InternationalString
.internationalString
- the international string object.public static javax.xml.registry.infomodel.LocalizedString getJAXRLoclizedString(LocalizedString localizedString)
LocalizedString
for given
LocalizedString
.localizedString
- the localized string object.public static javax.xml.registry.infomodel.PostalAddress getJAXRPostalAddress(PostalAddress postalAddress)
PostalAddress
for given PostalAddress
.postalAddress
- the postal address object.public static javax.xml.registry.infomodel.TelephoneNumber getJAXRTelephoneNumber(TelephoneNumber telephoneNumber)
TelephoneNumber
for given
TelephoneNumber
.telephoneNumber
- the telephone number object.public static javax.xml.registry.infomodel.Slot getJAXRSlot(Slot slot)
Slot
for given
Slot
.slot
- the slot object.public static EmailAddress getEmailAddress(javax.xml.registry.infomodel.EmailAddress emailAdrress)
EmailAddress
for given JAXR
EmailAddress
.emailAdrress
- the email address.EmailAddress
for given JAXRpublic static PersonName getPersonName(javax.xml.registry.infomodel.PersonName personName)
PersonName
for given JAXR PersonName
.personName
- the person name.PersonName
for given JAXR.public static InternationalString getInternationalString(javax.xml.registry.infomodel.InternationalString internationalString)
InternationalString
for given JAXR
InternationalString
.internationalString
- the internationalString object.InternationalString
for given JAXR.public static LocalizedString getLoclizedString(javax.xml.registry.infomodel.LocalizedString localizedString)
LocalizedString
for given JAXR
LocalizedString
.localizedString
- the localized string.LocalizedString
for given JAXRpublic static PostalAddress getPostalAddress(javax.xml.registry.infomodel.PostalAddress postalAddress)
PostalAddress
for given JAXR PostalAddress
.postalAddress
- the postal address.PostalAddress
for given JAXR PostalAddress
.public static TelephoneNumber getTelephoneNumber(javax.xml.registry.infomodel.TelephoneNumber telephoneNumber)
TelephoneNumber
for given JAXR
TelephoneNumber
.telephoneNumber
- the telephoneNumber.TelephoneNumber
for given JAXR.public static Slot getSlot(javax.xml.registry.infomodel.Slot slot)
Slot
for given JAXR Slot
.slot
- the slot.Slot
for given JAXR Slot
.@Deprecated public static java.lang.Object getValue(java.lang.Object value, java.util.Locale locale) throws CSAppFrameworkException
value
- the corresponding value.locale
- the current locale.CSAppFrameworkException
- if an internal error occurs.public static java.lang.Object toBeanValue(java.lang.Object value, java.util.Locale locale) throws CSAppFrameworkException
TelephoneNumber
,
PostaAddress
... etc.value
- the JAXR support type.locale
- the current locale.CSAppFrameworkException
- if an internal error occurs.public static java.lang.Object toJAXRValue(java.lang.Object value, java.util.Locale locale) throws CSAppFrameworkException
TelephoneNumber
,
PostaAddress
... etcvalue
- the JAXR support type.locale
- the current locale.CSAppFrameworkException
- if an internal error occurs.@Deprecated public static boolean isJAXRSupportType(java.lang.Object value)
TelephoneNumber
, PostaAddress
... etc)
This method is @Deprecated, use SupportType's method isJAXRSupportType().value
- the JAXR support type.true
if it is a JAXR support type.@Deprecated public static boolean isCSAFSupportType(java.lang.Object value)
TelephoneNumber
, PostaAddress
... etc)
This method is @Deprecated, use SupportType's method isCSAFSupportType().value
- the JAXR support type.true
if it is a CSAF support type.