buildframework/helium/sf/java/core/src/com/nokia/helium/core/PPInputSource.java
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 629 541af5ee3ed9
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
     1 /*
       
     2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 package com.nokia.helium.core;
       
    20 /**
       
    21  * Template source.
       
    22  */
       
    23 public class PPInputSource implements TemplateInputSource {
       
    24 
       
    25     private String name = "pp";
       
    26 
       
    27      /**
       
    28     * Get source name
       
    29     *     
       
    30     * @return 
       
    31     *        name of source
       
    32     */
       
    33     @Override
       
    34     public String getSourceName() {
       
    35         return name;
       
    36     }
       
    37 
       
    38      /**
       
    39     * Get hash
       
    40     *     
       
    41     * @return 
       
    42     *        hash
       
    43     */
       
    44     public PPHash getPPHash() {
       
    45         return new PPHash();
       
    46     }
       
    47 }