当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
BBCodeParser - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.format.parser.bbcode
Class BBCodeParser
java.lang.Object
org.jboss.portal.format.parser.AbstractParser
org.jboss.portal.format.parser.bbcode.BBCodeParser
- All Implemented Interfaces:
- ParseEventNotifier
- public class BBCodeParser
- extends AbstractParser
This nasty class parse BB code and create events.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Method Summary |
private void |
_end(int type)
|
private void |
_start(int type,
java.lang.String string)
|
private void |
_text()
|
void |
parse(char[] chars,
int offset,
int length)
Ask the parser to its job. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_NORMAL
public static final int EVENT_NORMAL
- See Also:
- Constant Field Values
EVENT_BOLD
public static final int EVENT_BOLD
- See Also:
- Constant Field Values
EVENT_ITALIC
public static final int EVENT_ITALIC
- See Also:
- Constant Field Values
EVENT_UNDERLINE
public static final int EVENT_UNDERLINE
- See Also:
- Constant Field Values
EVENT_COLOR
public static final int EVENT_COLOR
- See Also:
- Constant Field Values
EVENT_SIZE
public static final int EVENT_SIZE
- See Also:
- Constant Field Values
EVENT_QUOTE
public static final int EVENT_QUOTE
- See Also:
- Constant Field Values
EVENT_CODE
public static final int EVENT_CODE
- See Also:
- Constant Field Values
EVENT_ITEM
public static final int EVENT_ITEM
- See Also:
- Constant Field Values
EVENT_LINK
public static final int EVENT_LINK
- See Also:
- Constant Field Values
EVENT_UNORDERED_LIST
public static final int EVENT_UNORDERED_LIST
- See Also:
- Constant Field Values
EVENT_ALPHABETICALLY_ORDERED_LIST
public static final int EVENT_ALPHABETICALLY_ORDERED_LIST
- See Also:
- Constant Field Values
EVENT_NUMERICALLY_ORDERED_LIST
public static final int EVENT_NUMERICALLY_ORDERED_LIST
- See Also:
- Constant Field Values
BUNDLE_KEY_CODE
public static final java.lang.String BUNDLE_KEY_CODE
- See Also:
- Constant Field Values
BUNDLE_KEY_QUOTE
public static final java.lang.String BUNDLE_KEY_QUOTE
- See Also:
- Constant Field Values
BUNDLE_KEY_WROTE
public static final java.lang.String BUNDLE_KEY_WROTE
- See Also:
- Constant Field Values
NULL_READER
public static final java.io.Reader NULL_READER
analyzer
private Analyzer analyzer
myKey
private BBCodeParser.CodeKey myKey
buffer
private MutableChars buffer
textEvent
private TextEvent textEvent
openEvent
private BBCodeParser.OpenEvent openEvent
stack
private Stack stack
BBCodeParser
public BBCodeParser()
parse
public void parse(char[] chars,
int offset,
int length)
- Description copied from class:
AbstractParser
- Ask the parser to its job.
- Specified by:
parse
in class AbstractParser
_text
private void _text()
_start
private void _start(int type,
java.lang.String string)
_end
private void _end(int type)