Class XMLTaglet
- java.lang.Object
-
- com.norconex.commons.lang.javadoc.AbstractInlineTaglet
-
- com.norconex.commons.lang.javadoc.XMLTaglet
-
- All Implemented Interfaces:
Taglet
- Direct Known Subclasses:
XMLExampleTaglet,XMLUsageTaglet
public class XMLTaglet extends AbstractInlineTaglet
{@nx.xml} XML beautifier with enhanced functionality.
Refer to taglet source code to find out how the following XML samples were generated.
- Since:
- 2.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jdk.javadoc.doclet.Taglet
Taglet.Location
-
-
Field Summary
Fields Modifier and Type Field Description static XMLFormatterFORMATTERstatic StringNAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringtoString(TagContent tag)-
Methods inherited from class com.norconex.commons.lang.javadoc.AbstractInlineTaglet
getAllowedLocations, getHeadingProvider, getName, init, isInlineTag, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
FORMATTER
public static final XMLFormatter FORMATTER
-
-
Constructor Detail
-
XMLTaglet
public XMLTaglet()
-
XMLTaglet
protected XMLTaglet(String name, Function<TagContent,String> headingProvider)
-
-
Method Detail
-
toString
protected String toString(TagContent tag)
- Specified by:
toStringin classAbstractInlineTaglet
-
-