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