@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 |
|---|---|
Alias[] |
aliases |
Class<? extends AttributeNameConverter> |
attributeNameConverter |
Attribute[] |
attributes |
Class<?> |
baseInterface
Returns the base interface to be used for non-empty, non-text elements.
|
Class<?> |
baseInterfaceEmpty |
Class<?> |
baseInterfaceText |
String |
contentNameFormat |
String |
elementNameFormat |
int |
implicitTypeParameters
Indicates the number of implicit type parameters that are present in
the base interfaces.
|
Class<?> |
mixedContentInterface |
Options |
options |
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 namespublic abstract Alias[] aliases
public abstract Attribute[] attributes
public abstract int implicitTypeParameters
Copyright © 2024. All rights reserved.