public class RequestedReferenceTypeUnmarshaller extends AbstractWSTrustObjectUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
RequestedReferenceType rrt = (RequestedReferenceType) parentXMLObject;
if (childXMLObject instanceof SecurityTokenReference) {
rrt.setSecurityTokenReference((SecurityTokenReference) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}