|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xqdoc.conversion.XQDocComment
public class XQDocComment
This class knows hows to 'parse' through a string of text that consists of a xqDoc Comment block. Longer term, this logic should probably be embedded in the actual xqDoc grammar, but for now it resides here. Perhaps when my experience with ANTLR grows, I will move this logic. The class does assume that a xqDoc comment is separated into 'lines'.
| Constructor Summary | |
|---|---|
XQDocComment()
|
|
| Method Summary | |
|---|---|
void |
clear()
Initailize the XQDocComment object for processing of a xqDoc comment block. |
java.lang.StringBuffer |
getXML()
Loop through the array of string buffers for the xqDoc comment block and construct a complete comment block. |
void |
setComment(java.lang.String comment)
Set the internal buffer with the specified xqDoc comment block. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XQDocComment()
| Method Detail |
|---|
public void clear()
public void setComment(java.lang.String comment)
comment - A xqDoc comment blockpublic java.lang.StringBuffer getXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||