1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.opensaml.xacml.policy.impl;
19
20 import org.opensaml.xacml.policy.PolicySetCombinerParametersType;
21 import org.opensaml.xml.XMLObject;
22 import org.opensaml.xml.io.MarshallingException;
23 import org.opensaml.xml.util.DatatypeHelper;
24 import org.w3c.dom.Element;
25
26
27
28
29 public class PolicySetCombinerParametersTypeMarshaller extends CombinerParametersTypeMarshaller {
30
31
32 public PolicySetCombinerParametersTypeMarshaller() {
33 super();
34 }
35
36
37 protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
38 PolicySetCombinerParametersType policySetCombinerParametersType = (PolicySetCombinerParametersType)xmlObject;
39
40 if(!DatatypeHelper.isEmpty(policySetCombinerParametersType.getPolicySetIdRef())){
41 domElement.setAttribute(PolicySetCombinerParametersType.POLICY_SET_ID_REF_ATTRIB_NAME,
42 policySetCombinerParametersType.getPolicySetIdRef());
43 }
44 super.marshallAttributes(xmlObject, domElement);
45 }
46
47
48 protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
49
50 }
51
52 }