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.
<test>
<sub
attr="xml-taglet-test">
This is an XML example.
</sub>
</test>
<test>
<sub
attr="xml-taglet-test">
This is another XML example.
</sub>
</test>
Modifier and Type | Field and Description |
---|---|
static XMLFormatter |
FORMATTER |
static String |
NAME |
Constructor and Description |
---|
XMLTaglet() |
Modifier and Type | Method and Description |
---|---|
protected String |
getHeading(String text,
String id) |
String |
getName() |
static void |
register(Map<String,com.sun.tools.doclets.Taglet> tagletMap)
Register an instance of this taglet.
|
protected String |
toString(com.sun.javadoc.Tag tag,
String text,
String id) |
inConstructor, inField, inMethod, inOverview, inPackage, inType, isInlineTag, resolveIncludes, toString, toString
public static final String NAME
public static final XMLFormatter FORMATTER
public static void register(Map<String,com.sun.tools.doclets.Taglet> tagletMap)
tagletMap
- registry of tagletspublic String getName()
protected String toString(com.sun.javadoc.Tag tag, String text, String id)
toString
in class AbstractInlineTaglet
Copyright © 2008–2023 Norconex Inc.. All rights reserved.