public class StatusUnmarshaller extends AbstractWSTrustObjectUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
Status status= (Status) parentXMLObject;
if (childXMLObject instanceof Code) {
status.setCode((Code) childXMLObject);
} else if (childXMLObject instanceof Reason) {
status.setReason((Reason) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}