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.ConfirmationMethod;
22
23
24
25
26 public class ConfirmationMethodBuilder extends AbstractSAMLObjectBuilder<ConfirmationMethod> {
27
28
29
30
31 public ConfirmationMethodBuilder() {
32
33 }
34
35
36 public ConfirmationMethod buildObject() {
37 return buildObject(SAMLConstants.SAML1_NS, ConfirmationMethod.DEFAULT_ELEMENT_LOCAL_NAME, SAMLConstants.SAML1_PREFIX);
38 }
39
40
41 public ConfirmationMethod buildObject(String namespaceURI, String localName, String namespacePrefix) {
42 return new ConfirmationMethodImpl(namespaceURI, localName, namespacePrefix);
43 }
44 }