KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xml > internal > security > encryption > Transforms


1 /*
2  * Copyright 2003-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.encryption;
18
19
20
21
22 /**
23  * A container for <code>ds:Transform</code>s.
24  * <p>
25  * It is defined as follows:
26  * <xmp>
27  * <complexType name='TransformsType'>
28  * <sequence>
29  * <element ref='ds:Transform' maxOccurs='unbounded'/>
30  * </sequence>
31  * </complexType>
32  * </xmp>
33  *
34  * @author Axl Mattheus
35  * @see com.sun.org.apache.xml.internal.security.encryption.CipherReference
36  */

37 public interface Transforms {
38     /**
39      * Returns an <code>Iterator</code> over all the transforms contained in
40      * this transform list.
41      *
42      * @return all transforms.
43      */

44     /* Iterator getTransforms(); */
45
46     /**
47      * Adds a <code>ds:Transform</code> to the list of transforms.
48      *
49      * @param transform.
50      */

51     /* void addTransform(Transform transform); */
52
53     /**
54      * Removes the specified transform.
55      *
56      * @param transform.
57      */

58     /* void removeTransform(Transform transform); */
59
60     /**
61      * Temporary method to turn the XMLEncryption Transforms class
62      * into a DS class. The main logic is currently implemented in the
63      * DS class, so we need to get to get the base class.
64      * <p>
65      * <b>Note</b> This will be removed in future versions
66      * @return
67      */

68
69     com.sun.org.apache.xml.internal.security.transforms.Transforms getDSTransforms();
70
71 }
72
Popular Tags