public class DelegateToImpl extends com.sun.xml.ws.security.trust.impl.bindings.DelegateToType implements com.sun.xml.ws.security.trust.elements.DelegateTo
final JAXBElement obj = (JAXBElement)ctType.getAny();
final String local = obj.getName().getLocalPart();
if ("SecurityTokenReference".equals(local)) {
final SecurityTokenReference str =
new SecurityTokenReferenceImpl((SecurityTokenReferenceType)obj.getValue());
setSecurityTokenReference(str);
setTargetType(WSTrustConstants.STR_TYPE);
} else {
//ToDo
}