Constructor and Description |
---|
DocumentImpl(java.lang.String rawComment,
com.nomagic.magicreport.engine.ITool tool)
Create a document.
|
Modifier and Type | Method and Description |
---|---|
Tag |
get(java.lang.String tagName)
Return tag of specified kind of this document item.
|
com.nomagic.magicreport.engine.ITool.HTMLString |
getComment()
Return formatted text for this document.
|
java.util.Collection<Tag> |
getFirstSentenceTags()
Return the first sentence of the comment as a collection of tags.
|
java.util.Collection<Tag> |
getInlineTags()
Return comment as a collection of tags.
|
java.lang.String |
getRawComment()
Return the full unprocessed text of the comment.
|
java.util.Collection<Tag> |
getTags()
Return all tags in this document item.
|
java.util.Collection<Tag> |
getTags(java.lang.String tagName)
Return tags of specified kind of this document item.
|
protected com.nomagic.magicreport.engine.ITool |
getTool()
Access to Tool.
|
public DocumentImpl(java.lang.String rawComment, com.nomagic.magicreport.engine.ITool tool)
tool
uses to retrieve the system configuration from report engine. You
can leave this parameter to null.rawComment
- raw comment.tool
- Document Toolpublic Tag get(java.lang.String tagName)
public java.lang.String getRawComment()
getRawComment
in interface Document
public java.util.Collection<Tag> getTags()
public java.util.Collection<Tag> getTags(java.lang.String tagName)
public com.nomagic.magicreport.engine.ITool.HTMLString getComment()
public java.util.Collection<Tag> getInlineTags()
public java.util.Collection<Tag> getFirstSentenceTags()
protected com.nomagic.magicreport.engine.ITool getTool()
ITool