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