Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/mvsteenb/javauitransformer/xmltransformer/components/XmlComponentMapper.java


1   package com.mvsteenb.javauitransformer.xmltransformer.components;
2   
3   import com.mvsteenb.javauitransformer.xmltransformer.components.exception.UnknownComponentException;
4   import com.mvsteenb.javauitransformer.xmltransformer.components.awt.XmlComponent;
5   import com.mvsteenb.javauitransformer.xmltransformer.layout.exception.UnknownLayoutManagerException;
6   import com.mvsteenb.javauitransformer.xmltransformer.layout.XmlLayoutMapper;
7   
8   import java.awt.*;
9   
10  /**
11   * com.mvsteenb.javauitransformer.xmltransformer.components
12   *
13   * <p><b>About</b></p>
14   *
15   * <p>
16   *   This class is part of the JavaUITransformer version @build.version@ (build #@build.number@) which was built on @build.date@.
17   * </p>
18   *
19   * <p><b>Description</b></p>
20   *
21   * <p>
22   *   Maps Java components to Xml Components
23   * </p>
24   *
25   * <p><b>Free Software</b></p>
26   *
27   * <p>
28   *   Copyright (C) 2003 Mario Van Steenberghe
29   * </p>
30   *
31   * <p>
32   *   <small>
33   *     This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
34   *     General Public License as published by the Free Software Foundation; either version 2.1 of the License, or
35   *     (at your option) any later version. This library is distributed in the hope that it will be useful,
36   *     but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
37   *     PURPOSE.  See the GNU Lesser General Public License for more details. You should have received a copy of the
38   *     GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc.,
39   *     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
40   *   </small>
41   * </p>
42   *
43   * <p>
44   *   <small>
45   *     Please contact me at mario.vansteenberghe@pandora.be for more information.
46   *   </small>
47   * </p>
48   *
49   * <p><b>Revision History</b></p>
50   *
51   * <p>
52   *   Aug 23, 2003 : mvsteenb : Initial Revision
53   * </p>
54   * 
55   */
56  
57  public interface XmlComponentMapper {
58  
59    /**
60     * Maps Java component to Xml Component
61     */
62  
63    public XmlComponent findComponent(Component c) throws UnknownComponentException, UnknownLayoutManagerException;
64  
65    /**
66     * Returns the layout mapper
67     */
68  
69    public XmlLayoutMapper getLayoutMapper();
70  
71    /**
72     * Sets the layout mapper
73     */
74  
75    public void setLayoutMapper(XmlLayoutMapper layoutMapper);
76  
77  }