public class XmlClassMeta extends ClassMetaExtended
@Xml annotation on the
class.| Constructor and Description |
|---|
XmlClassMeta(ClassMeta<?> cm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Xml |
getAnnotation()
Returns the
@Xml annotation defined on the class. |
protected String |
getChildName()
Returns the
@Xml(childName) annotation defined on the class. |
protected XmlFormat |
getFormat()
Returns the
@Xml(format) annotation defined on the class. |
Namespace |
getNamespace()
Returns the XML namespace associated with this class.
|
getClassMeta, getInnerClasspublic XmlClassMeta(ClassMeta<?> cm)
cm - The class that this annotation is defined on.protected Xml getAnnotation()
@Xml annotation defined on the class.protected XmlFormat getFormat()
@Xml(format) annotation defined on the class.XmlFormat.DEFAULT if not specified.protected String getChildName()
@Xml(childName) annotation defined on the class.public Namespace getNamespace()
Namespace is determined in the following order of @Xml(prefix) annotation:
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.