blob: b2434c025a560908ddf2e6acf3a8d66e70ab1a17 [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 2003-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.encryption;
22
23
24
25
26/**
27 * A container for <code>ds:Transform</code>s.
28 * <p>
29 * It is defined as follows:
30 * <xmp>
31 * <complexType name='TransformsType'>
32 * <sequence>
33 * <element ref='ds:Transform' maxOccurs='unbounded'/>
34 * </sequence>
35 * </complexType>
36 * </xmp>
37 *
38 * @author Axl Mattheus
39 * @see com.sun.org.apache.xml.internal.security.encryption.CipherReference
40 */
41public interface Transforms {
42 /**
43 * Returns an <code>Iterator</code> over all the transforms contained in
44 * this transform list.
45 *
46 * @return all transforms.
47 */
48 /* Iterator getTransforms(); */
49
50 /**
51 * Adds a <code>ds:Transform</code> to the list of transforms.
52 *
53 * @param transform.
54 */
55 /* void addTransform(Transform transform); */
56
57 /**
58 * Removes the specified transform.
59 *
60 * @param transform.
61 */
62 /* void removeTransform(Transform transform); */
63
64 /**
65 * Temporary method to turn the XMLEncryption Transforms class
66 * into a DS class. The main logic is currently implemented in the
67 * DS class, so we need to get to get the base class.
68 * <p>
69 * <b>Note</b> This will be removed in future versions
70 * @return
71 */
72
73 com.sun.org.apache.xml.internal.security.transforms.Transforms getDSTransforms();
74
75}