1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.xml.encryption.impl;
18
19 import org.opensaml.xml.AbstractXMLObjectBuilder;
20 import org.opensaml.xml.encryption.CarriedKeyName;
21 import org.opensaml.xml.encryption.XMLEncryptionBuilder;
22 import org.opensaml.xml.util.XMLConstants;
23
24
25
26
27 public class CarriedKeyNameBuilder extends AbstractXMLObjectBuilder<CarriedKeyName> implements
28 XMLEncryptionBuilder<CarriedKeyName> {
29
30
31 public CarriedKeyNameBuilder() {
32 }
33
34
35 public CarriedKeyName buildObject(String namespaceURI, String localName, String namespacePrefix) {
36 return new CarriedKeyNameImpl(namespaceURI, localName, namespacePrefix);
37 }
38
39
40 public CarriedKeyName buildObject() {
41 return buildObject(XMLConstants.XMLENC_NS, CarriedKeyName.DEFAULT_ELEMENT_LOCAL_NAME,
42 XMLConstants.XMLENC_PREFIX);
43 }
44
45 }