Class BBCode
java.lang.Object
org.deltava.util.bbcode.BBCode
Represents each bbcode.
- Version:
- $Id: BBCode.java,v 1.11 2006/08/23 02:13:55 rafaelsteil Exp $
- Author:
- Rafael Steil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
getRegex()
Gets the regexGets the replacement stringGetst the tag nameboolean
void
Sets the regular expression associated to the tagvoid
setReplace
(String replace) Sets the replacement string, to be aplyied when matching the codevoid
setTagName
(String tagName) Setst the tag name
-
Constructor Details
-
BBCode
public BBCode() -
BBCode
-
-
Method Details
-
getRegex
-
getReplace
-
getTagName
-
removeQuotes
public boolean removeQuotes() -
setRegex
Sets the regular expression associated to the tag- Parameters:
regex
- Regular expression string
-
setReplace
Sets the replacement string, to be aplyied when matching the code- Parameters:
replace
- The replacement string data
-
setTagName
-
enableAlwaysProcess
public void enableAlwaysProcess() -
alwaysProcess
public boolean alwaysProcess() -
enableRemoveQuotes
public void enableRemoveQuotes()
-