public class XmlAnnotation extends Object implements Xml
Xml
annotation.
Constructor and Description |
---|
XmlAnnotation(Class<?> on)
Constructor.
|
XmlAnnotation(Field on)
Constructor.
|
XmlAnnotation(Method on)
Constructor.
|
XmlAnnotation(String on)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
String |
childName() |
XmlAnnotation |
childName(String value)
Sets the
|
XmlFormat |
format() |
XmlAnnotation |
format(XmlFormat value)
Sets the
|
String |
namespace() |
XmlAnnotation |
namespace(String value)
Sets the
|
String |
on() |
XmlAnnotation |
on(Class<?> value)
Sets the
|
XmlAnnotation |
on(Field value)
Sets the
|
XmlAnnotation |
on(Method value)
Sets the
|
XmlAnnotation |
on(String value)
Sets the
|
String |
prefix() |
XmlAnnotation |
prefix(String value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public XmlAnnotation(String on)
on
- The initial value for the Xml.on()
public XmlAnnotation(Class<?> on)
on
- The initial value for the Xml.on()
public XmlAnnotation(Method on)
on
- The initial value for the Xml.on()
public XmlAnnotation(Field on)
on
- The initial value for the Xml.on()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public XmlAnnotation childName(String value)
value
- The new value for this property.public XmlAnnotation format(XmlFormat value)
value
- The new value for this property.public XmlAnnotation namespace(String value)
value
- The new value for this property.public XmlAnnotation on(String value)
value
- The new value for this property.public XmlAnnotation on(Class<?> value)
value
- The new value for this property.public XmlAnnotation on(Method value)
value
- The new value for this property.public XmlAnnotation on(Field value)
value
- The new value for this property.public XmlAnnotation prefix(String value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.