Package org.apache.juneau.xml.annotation
Class XmlAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTBuilder<B>
org.apache.juneau.annotation.TargetedAnnotationTMFBuilder<XmlAnnotation.Builder>
org.apache.juneau.xml.annotation.XmlAnnotation.Builder
- Enclosing class:
- XmlAnnotation
public static class XmlAnnotation.Builder
extends TargetedAnnotationTMFBuilder<XmlAnnotation.Builder>
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Instantiates a new@Xml
object initialized with this builder.Sets theXml.childName()
property on this annotation.Sets theXml.format()
property on this annotation.Sets theXml.namespace()
property on this annotation.Sets theXml.prefix()
property on this annotation.Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationTMFBuilder
on, on
Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationTBuilder
on, onClass
Methods inherited from class org.apache.juneau.annotation.TargetedAnnotationBuilder
on
Methods inherited from class org.apache.juneau.annotation.AnnotationBuilder
asThis, description
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Xml
object initialized with this builder.- Returns:
- A new
@Xml
object.
-
childName
Sets theXml.childName()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
format
Sets theXml.format()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
namespace
Sets theXml.namespace()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-
prefix
Sets theXml.prefix()
property on this annotation.- Parameters:
value
- The new value for this property.- Returns:
- This object.
-