svn-gvsig-desktop / trunk / frameworks / _fwAndami / src / com / iver / andami / plugins / config / generate / SkinExtension.java @ 598
History | View | Annotate | Download (2.65 KB)
1 | 598 | fernando | /*
|
---|---|---|---|
2 | * This class was automatically generated with
|
||
3 | * <a href="http://www.castor.org">Castor 0.9.5.3</a>, using an XML
|
||
4 | * Schema.
|
||
5 | * $Id$
|
||
6 | */
|
||
7 | |||
8 | package com.iver.andami.plugins.config.generate; |
||
9 | |||
10 | //---------------------------------/
|
||
11 | //- Imported classes and packages -/
|
||
12 | //---------------------------------/
|
||
13 | |||
14 | import java.io.IOException; |
||
15 | import java.io.Reader; |
||
16 | import java.io.Serializable; |
||
17 | import java.io.Writer; |
||
18 | import org.exolab.castor.xml.MarshalException; |
||
19 | import org.exolab.castor.xml.Marshaller; |
||
20 | import org.exolab.castor.xml.Unmarshaller; |
||
21 | import org.exolab.castor.xml.ValidationException; |
||
22 | import org.xml.sax.ContentHandler; |
||
23 | |||
24 | /**
|
||
25 | * Class SkinExtension.
|
||
26 | *
|
||
27 | * @version $Revision$ $Date$
|
||
28 | */
|
||
29 | public class SkinExtension extends SkinExtensionType |
||
30 | implements java.io.Serializable
|
||
31 | { |
||
32 | |||
33 | |||
34 | //----------------/
|
||
35 | //- Constructors -/
|
||
36 | //----------------/
|
||
37 | |||
38 | public SkinExtension() {
|
||
39 | super();
|
||
40 | } //-- com.iver.andami.plugins.config.generate.SkinExtension()
|
||
41 | |||
42 | |||
43 | //-----------/
|
||
44 | //- Methods -/
|
||
45 | //-----------/
|
||
46 | |||
47 | /**
|
||
48 | * Method isValid
|
||
49 | */
|
||
50 | public boolean isValid() |
||
51 | { |
||
52 | try {
|
||
53 | validate(); |
||
54 | } |
||
55 | catch (org.exolab.castor.xml.ValidationException vex) {
|
||
56 | return false; |
||
57 | } |
||
58 | return true; |
||
59 | } //-- boolean isValid()
|
||
60 | |||
61 | /**
|
||
62 | * Method marshal
|
||
63 | *
|
||
64 | * @param out
|
||
65 | */
|
||
66 | public void marshal(java.io.Writer out) |
||
67 | throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
||
68 | { |
||
69 | |||
70 | Marshaller.marshal(this, out);
|
||
71 | } //-- void marshal(java.io.Writer)
|
||
72 | |||
73 | /**
|
||
74 | * Method marshal
|
||
75 | *
|
||
76 | * @param handler
|
||
77 | */
|
||
78 | public void marshal(org.xml.sax.ContentHandler handler) |
||
79 | throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
||
80 | { |
||
81 | |||
82 | Marshaller.marshal(this, handler);
|
||
83 | } //-- void marshal(org.xml.sax.ContentHandler)
|
||
84 | |||
85 | /**
|
||
86 | * Method unmarshal
|
||
87 | *
|
||
88 | * @param reader
|
||
89 | */
|
||
90 | public static java.lang.Object unmarshal(java.io.Reader reader) |
||
91 | throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
|
||
92 | { |
||
93 | return (com.iver.andami.plugins.config.generate.SkinExtension) Unmarshaller.unmarshal(com.iver.andami.plugins.config.generate.SkinExtension.class, reader);
|
||
94 | } //-- java.lang.Object unmarshal(java.io.Reader)
|
||
95 | |||
96 | /**
|
||
97 | * Method validate
|
||
98 | */
|
||
99 | public void validate() |
||
100 | throws org.exolab.castor.xml.ValidationException
|
||
101 | { |
||
102 | org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
|
||
103 | validator.validate(this);
|
||
104 | } //-- void validate()
|
||
105 | |||
106 | } |