blob: ee3385974df1bcfcc27b2a3574fe08661eb8a8df [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001/*
2 * reserved comment block
3 * DO NOT REMOVE OR ALTER!
4 */
5/*
6 * Copyright 1999-2004 The Apache Software Foundation.
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 */
21package com.sun.org.apache.xml.internal.security.utils;
22
23
24
25import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
26import org.w3c.dom.Document;
27import org.w3c.dom.Element;
28
29
30/**
31 * This is the base object for all objects which map directly to an Element from
32 * the xenc spec.
33 *
34 * @author $Author: raul $
35 */
36public abstract class EncryptionElementProxy extends ElementProxy {
37
38 /**
39 * Constructor EncryptionElementProxy
40 *
41 * @param doc
42 */
43 public EncryptionElementProxy(Document doc) {
44 super(doc);
45 }
46
47 /**
48 * Constructor EncryptionElementProxy
49 *
50 * @param element
51 * @param BaseURI
52 * @throws XMLSecurityException
53 */
54 public EncryptionElementProxy(Element element, String BaseURI)
55 throws XMLSecurityException {
56 super(element, BaseURI);
57 }
58
59 /** @inheritDoc */
60 public final String getBaseNamespace() {
61 return EncryptionConstants.EncryptionSpecNS;
62 }
63}