Node.java :  » XML » pirka » org » pirkaengine » core » template » Java Open Source

Java Open Source » XML » pirka 
pirka » org » pirkaengine » core » template » Node.java
package org.pirkaengine.core.template;

import java.io.Serializable;
import java.util.Map;

import org.pirkaengine.core.expression.Function;


/**
 * 
 * <p>
 * Node
 * </p>
 * @author shuji.w6e
 * @since 0.1.0
 */
public abstract class Node implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * .
     * @param model 
     * @param functions 
     * @return 
     */
    public abstract String getText(Map<String, Object> model, Map<String, Function> functions);
    
    /**
     * .
     * <p>
     * foo
     * hoge.huga
     * foo.poo()
     * 
     * 
     * 
     * </p>
     * @return 
     */
    public String[] getExpressions() {
        return new String[0];
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.