}
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
throws UnmarshallingException {
PolicySetType policySet = (PolicySetType) parentXMLObject;
if (childXMLObject instanceof DescriptionType) {
policySet.setDescription((DescriptionType) childXMLObject);
} else if (childXMLObject instanceof DefaultsType) {
policySet.setPolicySetDefaults((DefaultsType) childXMLObject);
} else if (childXMLObject instanceof TargetType){
policySet.setTarget((TargetType) childXMLObject);
} else if (childXMLObject instanceof PolicySetType) {
policySet.getPolicySets().add((PolicySetType) childXMLObject);
} else if (childXMLObject instanceof PolicyType) {
policySet.getPolicies().add((PolicyType) childXMLObject);
} else if (childXMLObject.getElementQName().equals(IdReferenceType.POLICY_SET_ID_REFERENCE_ELEMENT_NAME)) {
policySet.getPolicySetIdReferences().add((IdReferenceType) childXMLObject);
} else if (childXMLObject.getElementQName().equals(IdReferenceType.POLICY_ID_REFERENCE_ELEMENT_NAME)) {
policySet.getPolicyIdReferences().add((IdReferenceType) childXMLObject);
} else if (childXMLObject.getElementQName().equals(CombinerParametersType.DEFAULT_ELEMENT_NAME)) {
policySet.getCombinerParameters().add((CombinerParametersType) childXMLObject);
} else if (childXMLObject.getElementQName().equals(PolicyCombinerParametersType.DEFAULT_ELEMENT_NAME)) {
policySet.getPolicyCombinerParameters().add((PolicyCombinerParametersType) childXMLObject);
} else if (childXMLObject.getElementQName().equals(PolicySetCombinerParametersType.DEFAULT_ELEMENT_NAME)) {
policySet.getPolicySetCombinerParameters().add((PolicySetCombinerParametersType) childXMLObject);
} else if (childXMLObject instanceof ObligationsType) {
policySet.setObligations((ObligationsType) childXMLObject);
} else {
super.processChildElement(parentXMLObject, childXMLObject);
}
}