|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deltava.util.bbcode.BBCode
public class BBCode
Represents each bbcode.
| Constructor Summary | |
|---|---|
BBCode()
|
|
BBCode(String tagName,
String regex,
String replace)
BBCode class constructor |
|
| Method Summary | |
|---|---|
boolean |
alwaysProcess()
|
void |
enableAlwaysProcess()
|
void |
enableRemoveQuotes()
|
String |
getRegex()
Gets the regex |
String |
getReplace()
Gets the replacement string |
String |
getTagName()
Getst the tag name |
boolean |
removeQuotes()
|
void |
setRegex(String regex)
Sets the regular expression associated to the tag |
void |
setReplace(String replace)
Sets the replacement string, to be aplyied when matching the code |
void |
setTagName(String tagName)
Setst the tag name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BBCode()
public BBCode(String tagName,
String regex,
String replace)
tagName - The tag name we are going to matchregex - Regular expression relacted to the tagreplace - The replacement string| Method Detail |
|---|
public String getRegex()
public String getReplace()
public String getTagName()
public boolean removeQuotes()
public void setRegex(String regex)
regex - Regular expression stringpublic void setReplace(String replace)
replace - The replacement string datapublic void setTagName(String tagName)
tagName - The tag namepublic void enableAlwaysProcess()
public boolean alwaysProcess()
public void enableRemoveQuotes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||