src/share/classes/com/sun/org/apache/xml/internal/security/encryption/Transforms.java

Print this page


   1 /*
   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  */
  21 package 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  */
  41 public 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 }
   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */
   5 /**
   6  * Licensed to the Apache Software Foundation (ASF) under one
   7  * or more contributor license agreements. See the NOTICE file
   8  * distributed with this work for additional information
   9  * regarding copyright ownership. The ASF licenses this file
  10  * to you under the Apache License, Version 2.0 (the
  11  * "License"); you may not use this file except in compliance
  12  * with the License. You may obtain a copy of the License at
  13  *
  14  * http://www.apache.org/licenses/LICENSE-2.0
  15  *
  16  * Unless required by applicable law or agreed to in writing,
  17  * software distributed under the License is distributed on an
  18  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  19  * KIND, either express or implied. See the License for the
  20  * specific language governing permissions and limitations
  21  * under the License.
  22  */
  23 package com.sun.org.apache.xml.internal.security.encryption;
  24 



  25 /**
  26  * A container for <code>ds:Transform</code>s.
  27  * <p>
  28  * It is defined as follows:
  29  * <xmp>
  30  * <complexType name='TransformsType'>
  31  *     <sequence>
  32  *         <element ref='ds:Transform' maxOccurs='unbounded'/>
  33  *     </sequence>
  34  * </complexType>
  35  * </xmp>
  36  *
  37  * @author Axl Mattheus
  38  * @see com.sun.org.apache.xml.internal.security.encryption.CipherReference
  39  */
  40 public interface Transforms {
  41     /**






















  42      * Temporary method to turn the XMLEncryption Transforms class
  43      * into a DS class.  The main logic is currently implemented in the
  44      * DS class, so we need to get to get the base class.
  45      * <p>
  46      * <b>Note</b> This will be removed in future versions

  47      */

  48     com.sun.org.apache.xml.internal.security.transforms.Transforms getDSTransforms();
  49 
  50 }