/** * Helper method to get an attributed URI. * * @param uri the URI * @return an AttributedURIType encapsulating the URI */ public static AttributedURIType getAttributedURI(String uri) { AttributedURIType attributedURI = WSA_OBJECT_FACTORY.createAttributedURIType(); attributedURI.setValue(uri); return attributedURI; }
/** * Helper method to get an attributed URI. * * @param uri the URI * @return an AttributedURIType encapsulating the URI */ public static AttributedURIType getAttributedURI(String uri) { AttributedURIType attributedURI = WSA_OBJECT_FACTORY.createAttributedURIType(); attributedURI.setValue(uri); return attributedURI; }
/** * Helper method to get an attributed URI. * * @param uri the URI * @return an AttributedURIType encapsulating the URI */ public static AttributedURIType getAttributedURI(String uri) { AttributedURIType attributedURI = WSA_OBJECT_FACTORY.createAttributedURIType(); attributedURI.setValue(uri); return attributedURI; }
/** * Helper method to get an attributed URI. * * @param uri the URI * @return an AttributedURIType encapsulating the URI */ public static AttributedURIType getAttributedURI(String uri) { AttributedURIType attributedURI = WSA_OBJECT_FACTORY.createAttributedURIType(); attributedURI.setValue(uri); return attributedURI; }
/** * Set the address of the provided endpoint reference. * @param ref - the endpoint reference * @param address - the address */ public static void setAddress(EndpointReferenceType ref, String address) { AttributedURIType a = WSA_OBJECT_FACTORY.createAttributedURIType(); a.setValue(address); ref.setAddress(a); }
/** * Set the address of the provided endpoint reference. * @param ref - the endpoint reference * @param address - the address */ public static void setAddress(EndpointReferenceType ref, String address) { AttributedURIType a = WSA_OBJECT_FACTORY.createAttributedURIType(); a.setValue(address); ref.setAddress(a); }
/** * Set the address of the provided endpoint reference. * @param ref - the endpoint reference * @param address - the address */ public static void setAddress(EndpointReferenceType ref, String address) { AttributedURIType a = WSA_OBJECT_FACTORY.createAttributedURIType(); a.setValue(address); ref.setAddress(a); }
public static org.apache.cxf.ws.addressing.EndpointReferenceType createReference(String address) { org.apache.cxf.ws.addressing.ObjectFactory factory = new org.apache.cxf.ws.addressing.ObjectFactory(); org.apache.cxf.ws.addressing.EndpointReferenceType epr = factory.createEndpointReferenceType(); org.apache.cxf.ws.addressing.AttributedURIType uri = factory.createAttributedURIType(); uri.setValue(address); epr.setAddress(uri); return epr; }
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
if (Names.WSA_MESSAGEID_NAME.equals(ent.getKey())) { AttributedURIType aAttributedURIType = WSA_OBJECT_FACTORY .createAttributedURIType(); aAttributedURIType.setValue(wsaHeaderValue); maps.setMessageID(aAttributedURIType); } else if (Names.WSA_ACTION_NAME.equals(ent.getKey())) { AttributedURIType aAttributedURIType = WSA_OBJECT_FACTORY .createAttributedURIType(); aAttributedURIType.setValue(wsaHeaderValue); maps.setAction(aAttributedURIType);
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/03 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/03 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(org.apache.cxf.ws.addressing.v200403.AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200403.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200403.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }
/** * Convert from 2004/08 AttributedURI to 2005/08 AttributedURI. * * @param exposed the 2004/08 AttributedURI * @return an equivalent 2005/08 AttributedURIType */ public static AttributedURIType convert(AttributedURI exposed) { AttributedURIType internal = ContextUtils.WSA_OBJECT_FACTORY.createAttributedURIType(); String internalValue = Names200408.WSA_ANONYMOUS_ADDRESS.equals(exposed.getValue()) ? Names.WSA_ANONYMOUS_ADDRESS : Names200408.WSA_NONE_ADDRESS.equals(exposed.getValue()) ? Names.WSA_NONE_ADDRESS : exposed.getValue(); internal.setValue(internalValue); putAll(internal.getOtherAttributes(), exposed.getOtherAttributes()); return internal; }