| 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCommentEvent
public class CommentEvent
Persistent capture of a SAX comment() event.
LexicalHandler.comment(char[], int, int)| Constructor Summary | |
|---|---|
CommentEvent(char[] ch,
                         int start,
                         int length)
Creates a CommentEvent.  | 
|
| Method Summary | |
|---|---|
 char[] | 
ch()
 | 
static CommentEvent | 
createOrReturn(char[] ch,
                             int start,
                             int length)
Creates a CommentEvent or, if length is zero or less, returns i0().  | 
static CommentEvent | 
i0()
The common instance of an empty CommentEvent.  | 
 int | 
length()
 | 
 void | 
send(ContentHandler handler)
Sends this event to the specified content handler.  | 
 int | 
start()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CommentEvent(char[] ch,
                    int start,
                    int length)
| Method Detail | 
|---|
public static CommentEvent i0()
public static CommentEvent createOrReturn(char[] ch,
                                          int start,
                                          int length)
public char[] ch()
public int start()
public int length()
public void send(ContentHandler handler)
          throws SAXException
SAXEvent
send in interface SAXEventSAXException
  | 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||