KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Class SignatureElementProxy
28  *
29  * @author $Author: raul $
30  * @version $Revision: 1.7 $
31  */

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

39    public SignatureElementProxy(Document JavaDoc doc) {
40       super(doc);
41       //this._constructionElement.setAttributeNS(Constants.NamespaceSpecNS,"xmlns:ds",
42
// Constants.SignatureSpecNS);
43
}
44
45    /**
46     * Constructor SignatureElementProxy
47     *
48     * @param element
49     * @param BaseURI
50     * @throws XMLSecurityException
51     */

52    public SignatureElementProxy(Element JavaDoc element, String JavaDoc BaseURI)
53            throws XMLSecurityException {
54       super(element, BaseURI);
55
56    }
57
58    /** @inheritDoc */
59    public String JavaDoc getBaseNamespace() {
60       return Constants.SignatureSpecNS;
61    }
62 }
63
Popular Tags