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