KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xml > internal > security > utils > EncryptionElementProxy


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */

17 package com.sun.org.apache.xml.internal.security.utils;
18
19
20
21 import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
22 import org.w3c.dom.Document JavaDoc;
23 import org.w3c.dom.Element JavaDoc;
24
25
26 /**
27  * This is the base object for all objects which map directly to an Element from
28  * the xenc spec.
29  *
30  * @author $Author: raul $
31  */

32 public abstract class EncryptionElementProxy extends ElementProxy {
33
34    /**
35     * Constructor EncryptionElementProxy
36     *
37     * @param doc
38     */

39    public EncryptionElementProxy(Document JavaDoc doc) {
40       super(doc);
41    }
42
43    /**
44     * Constructor EncryptionElementProxy
45     *
46     * @param element
47     * @param BaseURI
48     * @throws XMLSecurityException
49     */

50    public EncryptionElementProxy(Element JavaDoc element, String JavaDoc BaseURI)
51            throws XMLSecurityException {
52       super(element, BaseURI);
53    }
54
55    /** @inheritDoc */
56    public final String JavaDoc getBaseNamespace() {
57       return EncryptionConstants.EncryptionSpecNS;
58    }
59 }
60
Popular Tags