| java.lang.Object net.jforum.util.bbcode.BBCode
BBCode | public class BBCode implements Serializable(Code) | | Represents each bbcode.
author: Rafael Steil version: $Id: BBCode.java,v 1.11 2006/08/23 02:13:55 rafaelsteil Exp $ |
BBCode | public BBCode(String tagName, String regex, String replace)(Code) | | BBCode class constructor
Parameters: tagName - The tag name we are going to match Parameters: regex - Regular expression relacted to the tag Parameters: replace - The replacement string |
alwaysProcess | public boolean alwaysProcess()(Code) | | |
enableAlwaysProcess | public void enableAlwaysProcess()(Code) | | |
enableRemoveQuotes | public void enableRemoveQuotes()(Code) | | |
getRegex | public String getRegex()(Code) | | Gets the regex
String witht the regex |
getReplace | public String getReplace()(Code) | | Gets the replacement string
string with the replacement data |
getTagName | public String getTagName()(Code) | | Getst the tag name
The tag name |
removeQuotes | public boolean removeQuotes()(Code) | | |
setRegex | public void setRegex(String regex)(Code) | | Sets the regular expression associated to the tag
Parameters: regex - Regular expression string |
setReplace | public void setReplace(String replace)(Code) | | Sets the replacement string, to be aplyied when matching the code
Parameters: replace - The replacement string data |
setTagName | public void setTagName(String tagName)(Code) | | Setst the tag name
Parameters: tagName - The tag name |
|
|