View Javadoc
1   // =================== DO NOT EDIT THIS FILE ====================
2   // Generated by Modello 2.1.2,
3   // any modifications will be overwritten.
4   // ==============================================================
5   
6   package org.apache.maven.doxia.site.skin;
7   
8   /**
9    * 
10   *          The <code>&lt;skin&gt;</code> element is the root of
11   * the skin descriptor.
12   *       
13   * 
14   * @version $Revision$ $Date$
15   */
16  @SuppressWarnings( "all" )
17  public class SkinModel
18      implements java.io.Serializable, java.lang.Cloneable
19  {
20  
21        //--------------------------/
22       //- Class/Member Variables -/
23      //--------------------------/
24  
25      /**
26       * Describes the prerequisites in the build environment for
27       * using this skin.
28       */
29      private Prerequisites prerequisites;
30  
31      /**
32       * Encoding of text content, like the Velocity template itself.
33       */
34      private String encoding;
35  
36      /**
37       * Field modelEncoding.
38       */
39      private String modelEncoding = "UTF-8";
40  
41  
42        //-----------/
43       //- Methods -/
44      //-----------/
45  
46      /**
47       * Method clone.
48       * 
49       * @return SkinModel
50       */
51      public SkinModel clone()
52      {
53          try
54          {
55              SkinModel copy = (SkinModel) super.clone();
56  
57              if ( this.prerequisites != null )
58              {
59                  copy.prerequisites = (Prerequisites) this.prerequisites.clone();
60              }
61  
62              return copy;
63          }
64          catch ( java.lang.Exception ex )
65          {
66              throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
67                  + " does not support clone()" ).initCause( ex );
68          }
69      } //-- SkinModel clone()
70  
71      /**
72       * Get encoding of text content, like the Velocity template
73       * itself.
74       * 
75       * @return String
76       */
77      public String getEncoding()
78      {
79          return this.encoding;
80      } //-- String getEncoding()
81  
82      /**
83       * Get the modelEncoding field.
84       * 
85       * @return String
86       */
87      public String getModelEncoding()
88      {
89          return this.modelEncoding;
90      } //-- String getModelEncoding()
91  
92      /**
93       * Get describes the prerequisites in the build environment for
94       * using this skin.
95       * 
96       * @return Prerequisites
97       */
98      public Prerequisites getPrerequisites()
99      {
100         return this.prerequisites;
101     } //-- Prerequisites getPrerequisites()
102 
103     /**
104      * Set encoding of text content, like the Velocity template
105      * itself.
106      * 
107      * @param encoding a encoding object.
108      */
109     public void setEncoding( String encoding )
110     {
111         this.encoding = encoding;
112     } //-- void setEncoding( String )
113 
114     /**
115      * Set the modelEncoding field.
116      * 
117      * @param modelEncoding a modelEncoding object.
118      */
119     public void setModelEncoding( String modelEncoding )
120     {
121         this.modelEncoding = modelEncoding;
122     } //-- void setModelEncoding( String )
123 
124     /**
125      * Set describes the prerequisites in the build environment for
126      * using this skin.
127      * 
128      * @param prerequisites a prerequisites object.
129      */
130     public void setPrerequisites( Prerequisites prerequisites )
131     {
132         this.prerequisites = prerequisites;
133     } //-- void setPrerequisites( Prerequisites )
134 
135     
136             
137     public static final String SKIN_DESCRIPTOR_LOCATION = "META-INF/maven/skin.xml";
138             
139           
140 }