@Target(value=PACKAGE) @Retention(value=RUNTIME) @Repeatable(value=Dtds.class) public @interface Dtd
Dtd annotation captures the necessary information for generating an API from a DTD.| Modifier and Type | Required Element and Description |
|---|---|
String |
path |
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends AttributeNameConverter> |
attributeNameConverter |
Class<?> |
baseInterface
Returns the base interface to be used for non-empty, non-text elements.
|
Class<?> |
baseInterfaceEmpty |
Class<?> |
baseInterfaceText |
String |
contentNameFormat |
String |
elementNameFormat |
Class<?> |
mixedContentInterface |
public abstract String path
public abstract Class<?> baseInterface
Object indicates that no
specific base interface will be extended)public abstract Class<?> baseInterfaceEmpty
Object indicates that no specific base interface will
be extended)public abstract Class<?> baseInterfaceText
Object indicates that no specific base interface will
be extended)public abstract Class<?> mixedContentInterface
Object indicates that no
specific base interface will be extendedpublic abstract String elementNameFormat
MessageFormatpublic abstract String contentNameFormat
Content)MessageFormatpublic abstract Class<? extends AttributeNameConverter> attributeNameConverter
AttributeNameConverter to be used for converting XML/SGML attribute
names to Java method namesCopyright © 2022. All rights reserved.