com.uwyn.rife.template
Class Parser

java.lang.Object
  extended by com.uwyn.rife.template.Parser
All Implemented Interfaces:
Cloneable

public class Parser
extends Object
implements Cloneable


Nested Class Summary
static class Parser.ConfigPart
           
static class Parser.MandatoryConfigPart
           
static class Parser.OptionalConfigPart
           
static class Parser.PartType
           
 
Field Summary
static String DEFAULT_TEMPLATES_PATH
           
static String TEMPLATE_PACKAGE
           
 
Method Summary
 Parser clone()
           
 boolean equals(Object object)
           
static long getModificationTime(ResourceFinder resourceFinder, URL resource)
           
 String getPackage()
           
 com.uwyn.rife.template.Parsed parse(String name, String encoding, TemplateTransformer transformer)
           
 com.uwyn.rife.template.Parsed prepare(String name, URL resource)
           
 URL resolve(String name)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TEMPLATES_PATH

public static final String DEFAULT_TEMPLATES_PATH
See Also:
Constant Field Values

TEMPLATE_PACKAGE

public static final String TEMPLATE_PACKAGE
See Also:
Constant Field Values
Method Detail

clone

public Parser clone()
Overrides:
clone in class Object

equals

public boolean equals(Object object)
Overrides:
equals in class Object

parse

public com.uwyn.rife.template.Parsed parse(String name,
                                           String encoding,
                                           TemplateTransformer transformer)
                                    throws TemplateException
Throws:
TemplateException

resolve

public URL resolve(String name)

getPackage

public String getPackage()

prepare

public com.uwyn.rife.template.Parsed prepare(String name,
                                             URL resource)

getModificationTime

public static long getModificationTime(ResourceFinder resourceFinder,
                                       URL resource)
                                throws TemplateException
Throws:
TemplateException


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.