01: /*
02: * The contents of this file are subject to the terms
03: * of the Common Development and Distribution License
04: * (the License). You may not use this file except in
05: * compliance with the License.
06: *
07: * You can obtain a copy of the license at
08: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
09: * See the License for the specific language governing
10: * permissions and limitations under the License.
11: *
12: * When distributing Covered Code, include this CDDL
13: * Header Notice in each file and include the License file
14: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
15: * If applicable, add the following below the CDDL Header,
16: * with the fields enclosed by brackets [] replaced by
17: * you own identifying information:
18: * "Portions Copyrighted [year] [name of copyright owner]"
19: *
20: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
21: */
22:
23: /*
24: * Parameter.java
25: *
26: * Created on August 1, 2005, 3:02 PM
27: *
28: * To change this template, choose Tools | Options and locate the template under
29: * the Source Creation and Management node. Right-click the template and choose
30: * Open. You can then make changes to the template in the Source Editor.
31: */
32:
33: package com.sun.xml.wss.impl.policy.mls;
34:
35: import javax.xml.crypto.dsig.spec.TransformParameterSpec;
36:
37: /**
38: *
39: * @author K.venugopal@sun.com
40: */
41: public class Parameter implements TransformParameterSpec {
42: private String paramName = null;
43: private String paramValue = null;
44:
45: /** Creates a new instance of Parameter */
46: public Parameter() {
47:
48: }
49:
50: public Parameter(String name, String value) {
51: this .paramName = name;
52: this .paramValue = value;
53: }
54:
55: public String getParamName() {
56: return paramName;
57: }
58:
59: public void setParamName(String paramName) {
60: this .paramName = paramName;
61: }
62:
63: public String getParamValue() {
64: return paramValue;
65: }
66:
67: public void setParamValue(String paramValue) {
68: this.paramValue = paramValue;
69: }
70:
71: }
|