public class DocumentFormatter extends Object implements IDocumentFormatter
DEFAULT_IMPLEMENTATION| Constructor and Description |
|---|
DocumentFormatter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List |
docToNodes(String jdoc)
Convert JavaDoc text to a list of formatted nodes.
|
List |
getClassDocumentation(IClass info)
Get formatted documentation from class, in the form of a list of
org.w3c.dom.Node instances. |
List |
getItemDocumentation(IClassItem info)
Get formatted documentation from class item, in the form of a list of
org.w3c.dom.Node instances. |
protected Node |
reformDocSegment(String jdoc)
Reformat a segment of JavaDoc text as either a CDATA section (if it contains embedded HTML tags) or a simple text
node.
|
protected Node reformDocSegment(String jdoc)
jdoc - raw JavaDoc textpublic List docToNodes(String jdoc)
docToNodes in interface IDocumentFormatterjdoc - JavaDoc text (may be null)null)public List getClassDocumentation(IClass info)
org.w3c.dom.Node instances.getClassDocumentation in interface IDocumentFormatterinfo - class informationnull if none)public List getItemDocumentation(IClassItem info)
org.w3c.dom.Node instances.getItemDocumentation in interface IDocumentFormatterinfo - item informationnull if none)Copyright © 2005-2014 jibx.org. All Rights Reserved.