View Javadoc

1   /*
2    * Copyright 2004-2005 the original author or authors.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5    * use this file except in compliance with the License. You may obtain a copy of
6    * 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, WITHOUT
12   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13   * License for the specific language governing permissions and limitations under
14   * the License.
15   */
16  package net.sf.morph.transform;
17  
18  /**
19   * <p>
20   * An extension of the Transformer interface that defines extra methods. All
21   * methods specified in this interface can be easily implemented using just the
22   * methods in the Transformer interface. Thus, if you are defining your own
23   * transformer you should implement only the Transformer interface. If you
24   * extend from {@link net.sf.morph.transform.transformers.BaseTransformer},
25   * your transformer will implement this interface automatically.
26   * </p>
27   * 
28   * <p>
29   * If you don't want to extend from <code>BaseTransformer</code>, you can
30   * still easily expose this interface by using the
31   * {@link net.sf.morph.transform.transformer.TransformerDecorator}.
32   * </p>
33   * 
34   * @author Matt Sgarlata
35   * @since Dec 5, 2004
36   */
37  public interface DecoratedTransformer extends Transformer, ExplicitTransformer {
38  		
39  }