All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.doxia.site.skin.SkinModel Maven / Gradle / Ivy

The newest version!
/*
 =================== DO NOT EDIT THIS FILE ====================
 
 Generated by Modello 2.4.0,
 
 any modifications will be overwritten.
 
 ==============================================================
 */

package org.apache.maven.doxia.site.skin;

/**
 * 
 *          The <skin> element is the root of
 * the skin descriptor.
 *       
 * 
 * @version $Revision$ $Date$
 */
@SuppressWarnings( "all" )
public class SkinModel
    implements java.io.Serializable, java.lang.Cloneable
{

      //--------------------------/
     //- Class/Member Variables -/
    //--------------------------/

    /**
     * Describes the prerequisites in the build environment for
     * using this skin.
     */
    private Prerequisites prerequisites;

    /**
     * Encoding of text content, like the Velocity template itself.
     */
    private String encoding;

    /**
     * Field modelEncoding.
     */
    private String modelEncoding = "UTF-8";


      //-----------/
     //- Methods -/
    //-----------/

    /**
     * Method clone.
     * 
     * @return SkinModel
     */
    public SkinModel clone()
    {
        try
        {
            SkinModel copy = (SkinModel) super.clone();

            if ( this.prerequisites != null )
            {
                copy.prerequisites = (Prerequisites) this.prerequisites.clone();
            }

            return copy;
        }
        catch ( java.lang.Exception ex )
        {
            throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
                + " does not support clone()" ).initCause( ex );
        }
    } //-- SkinModel clone()

    /**
     * Get encoding of text content, like the Velocity template
     * itself.
     * 
     * @return String
     */
    public String getEncoding()
    {
        return this.encoding;
    } //-- String getEncoding()

    /**
     * Get the modelEncoding field.
     * 
     * @return String
     */
    public String getModelEncoding()
    {
        return this.modelEncoding;
    } //-- String getModelEncoding()

    /**
     * Get describes the prerequisites in the build environment for
     * using this skin.
     * 
     * @return Prerequisites
     */
    public Prerequisites getPrerequisites()
    {
        return this.prerequisites;
    } //-- Prerequisites getPrerequisites()

    /**
     * Set encoding of text content, like the Velocity template
     * itself.
     * 
     * @param encoding a encoding object.
     */
    public void setEncoding( String encoding )
    {
        this.encoding = encoding;
    } //-- void setEncoding( String )

    /**
     * Set the modelEncoding field.
     * 
     * @param modelEncoding a modelEncoding object.
     */
    public void setModelEncoding( String modelEncoding )
    {
        this.modelEncoding = modelEncoding;
    } //-- void setModelEncoding( String )

    /**
     * Set describes the prerequisites in the build environment for
     * using this skin.
     * 
     * @param prerequisites a prerequisites object.
     */
    public void setPrerequisites( Prerequisites prerequisites )
    {
        this.prerequisites = prerequisites;
    } //-- void setPrerequisites( Prerequisites )

    
            
    public static final String SKIN_DESCRIPTOR_LOCATION = "META-INF/maven/skin.xml";
            
          
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy