1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.samlext.saml2mdquery.impl;
18
19 import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
20 import org.opensaml.common.xml.SAMLConstants;
21 import org.opensaml.samlext.saml2mdquery.AttributeQueryDescriptorType;
22
23
24
25
26 public class AttributeQueryDescriptorTypeBuilder extends AbstractSAMLObjectBuilder<AttributeQueryDescriptorType> {
27
28
29 public AttributeQueryDescriptorType buildObject() {
30 return buildObject(SAMLConstants.SAML20MDQUERY_NS, AttributeQueryDescriptorType.DEFAULT_ELEMENT_LOCAL_NAME,
31 SAMLConstants.SAML20MDQUERY_PREFIX, AttributeQueryDescriptorType.TYPE_NAME);
32 }
33
34
35 public AttributeQueryDescriptorType buildObject(String namespaceURI, String localName, String namespacePrefix) {
36 return new AttributeQueryDescriptorTypeImpl(namespaceURI, localName, namespacePrefix);
37 }
38 }