public class RequestSecurityTokenCollectionUnmarshaller extends AbstractWSTrustObjectUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
RequestSecurityTokenCollection rstc = (RequestSecurityTokenCollection) parentXMLObject;
if (childXMLObject instanceof RequestSecurityToken) {
rstc.getRequestSecurityTokens().add((RequestSecurityToken) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}