1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.xacml.policy.impl;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22 import org.opensaml.xacml.policy.ActionType;
23 import org.opensaml.xacml.policy.ActionsType;
24 import org.opensaml.xml.XMLObject;
25 import org.opensaml.xml.util.XMLObjectChildrenList;
26 import org.opensaml.xml.validation.AbstractValidatingXMLObject;
27
28
29
30
31 public class ActionsTypeImpl extends AbstractValidatingXMLObject implements ActionsType {
32
33
34 private XMLObjectChildrenList<ActionType> action;
35
36
37
38
39
40
41
42
43 protected ActionsTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix){
44 super(namespaceURI,elementLocalName,namespacePrefix);
45 action = new XMLObjectChildrenList<ActionType>(this);
46 }
47
48 public List<ActionType> getActions() {
49 return action;
50 }
51
52
53 public List<XMLObject> getOrderedChildren() {
54
55 ArrayList<XMLObject> children = new ArrayList<XMLObject>();
56
57 children.addAll(action);
58
59 return children;
60 }
61
62 }