org.apache.velocity.convert
Class WebMacro

java.lang.Object
  extended by org.apache.velocity.convert.WebMacro

Deprecated. Obsolete and outdated.

public class WebMacro
extends Object

This is deprecated without replacement.

Version:
$Id: WebMacro.java 898028 2010-01-11 19:36:31Z nbubna $
Author:
Jason van Zyl, Daniel Rall

Field Summary
protected static String[] perLineREs
          Deprecated. The regexes to use for line by line substition.
protected static String VM_EXT
          Deprecated.  
protected static String WM_EXT
          Deprecated.  
 
Constructor Summary
WebMacro()
          Deprecated.  
 
Method Summary
 void convert(String target)
          Deprecated. Iterate through the set of find/replace regexes that will convert a given WM template to a VM template
 String convertTemplate(String template)
          Deprecated. Apply find/replace regexes to our WM template
static void main(String[] args)
          Deprecated. Main hook for the conversion process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VM_EXT

protected static final String VM_EXT
Deprecated. 
See Also:
Constant Field Values

WM_EXT

protected static final String WM_EXT
Deprecated. 
See Also:
Constant Field Values

perLineREs

protected static String[] perLineREs
Deprecated. 
The regexes to use for line by line substition. The regexes come in pairs. The first is the string to match, the second is the substitution to make.

Constructor Detail

WebMacro

public WebMacro()
Deprecated. 
Method Detail

convert

public void convert(String target)
Deprecated. 
Iterate through the set of find/replace regexes that will convert a given WM template to a VM template

Parameters:
target -

convertTemplate

public String convertTemplate(String template)
Deprecated. 
Apply find/replace regexes to our WM template

Parameters:
template -
Returns:
Returns the template with all regexprs applied.

main

public static void main(String[] args)
Deprecated. 
Main hook for the conversion process.

Parameters:
args -


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.