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. |
protected Namespace |
getNamespace()
Returns the XML namespace associated with this class.
|
getClassMeta, getInnerClass
public 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.protected Namespace getNamespace()
Namespace is determined in the following order of @Xml.prefix()
annotation:
Copyright © 2018 Apache. All rights reserved.