![JAR search and dependency download from the Maven repository](/logo.png)
til.jaxb-delegate-plugin.4.0.0.source-code.delegate.xsd Maven / Gradle / Ivy
Represents a method parameter specification.
Represents a type parameter specification.
Specifies which annotation classes to use to add nullability constraints
to generated methods and their parameters. Use the "nullable" attribute on
method and param elements to specify nullability.
Specifies the method that will be generated in the JAXB class to return a formatted
representation of an instance of the generated class.
Specifies the method name. Names of the delegate method and the delegating method must
be the same.
Return type of the generated method. Note that the return type of the generated method must match
the return type of the delegated method.
Whitespace-separated list of modifiers of the generated method.
Default: "public" for delegate methods, "public static" for static methods.
If true, this method is generated as a static method, i.e. its invocation
is generated to reference the class instead of the delegate object.
If the delegate class also has "static=true", the static method invocation
is assumed to NOT have a first parameter that takes the instance of the generated
class.
Specifies a delegate class on which methods can be called. The methods are
specified as elements contained in this companion element.
The delegate class can have two forms:
1.) Instance delegate: All methods must be public. The delegate class must have a one-argument constructor taking
an instance of the generated class as an argument. The delegate class will be
instantiated lazily upon the first invocation of a delegate method.
2.) Utility class: All methods must be
public and static and must take an instance of the generated class as the
first argument.
The utility class should be final and non-instantiable (private no-arg constructor).
The plugin will never make an attempt to instantiate this class.
By default, an instance delegate is generated.
Fully qualified name of the class of the delegate.
This class must be in the classpath at the time when
the generated code is compiled.
If method inference is turned on, the class must be
in the classpath at the time the code is generated.
If true, a utility class reference is generated instead of
an instance delegation.
All methods must be public and static and must take an instance of
the generated class as the first parameter. This parameter is implicit
and must not be contained in the list of parameters declared in the
XSD binding annotations.
The referenced utility class should be final and non-instantiable
(private no-arg constructor).
The plugin will never make an attempt to instantiate this class.
If true, the delegate instance will not be created on each call
of a delegate method, but will be lazily instantiated in the constructor of
the delegee class.
Specifies an inner class of the class generated by this complexType definition.
This allows you to apply delegates for example to inner builders generated
by a different plugin.
This must be an unqualified java class name.
References a delegate definition declared elsewhere in the same
JAXB model. It isn't declared as type IDREF, since it is also allowed
to reference declarations in included or imported schema or binding files.
Acts as a container for multiple delegate definitions, in order to
bundle multiple declarations under one class, since in some
cases only a single customization of a given type is allowed in a JAXB model.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy