1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.opensaml.saml2.core.impl;
22
23 import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
24 import org.opensaml.common.xml.SAMLConstants;
25 import org.opensaml.saml2.core.AttributeStatement;
26
27
28
29
30 public class AttributeStatementBuilder extends AbstractSAMLObjectBuilder<AttributeStatement> {
31
32
33 public AttributeStatementBuilder() {
34
35 }
36
37
38 public AttributeStatement buildObject() {
39 return buildObject(SAMLConstants.SAML20_NS, AttributeStatement.DEFAULT_ELEMENT_LOCAL_NAME,
40 SAMLConstants.SAML20_PREFIX);
41 }
42
43
44 public AttributeStatement buildObject(String namespaceURI, String localName, String namespacePrefix) {
45 return new AttributeStatementImpl(namespaceURI, localName, namespacePrefix);
46 }
47 }