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