站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

TextEvent - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.format.parser
Class TextEvent

java.lang.Object
  extended byorg.jboss.portal.format.parser.TextEvent
All Implemented Interfaces:
ParseEvent
Direct Known Subclasses:
CharacterEntityReferenceEvent

public class TextEvent
extends java.lang.Object
implements ParseEvent

An event implementation that says there is some text to handle.


Field Summary
protected  char[] chars
           
protected  int length
           
protected  int offset
           
 
Constructor Summary
TextEvent()
           
 
Method Summary
 char[] chars()
           
 int length()
           
 int offset()
           
 void setText(char[] chars, int offset, int length)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

chars

protected char[] chars

offset

protected int offset

length

protected int length
Constructor Detail

TextEvent

public TextEvent()
Method Detail

setText

public void setText(char[] chars,
                    int offset,
                    int length)

chars

public char[] chars()

offset

public int offset()

length

public int length()

toString

public java.lang.String toString()