public class XmlClassMeta extends ExtendedClassMeta
@Xml
annotation on the
class.Constructor and Description |
---|
XmlClassMeta(ClassMeta<?> cm,
XmlMetaProvider mp)
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, getInnerClass
public XmlClassMeta(ClassMeta<?> cm, XmlMetaProvider mp)
cm
- The class that this annotation is defined on.mp
- XML metadata provider (for finding information about other artifacts).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–2020 The Apache Software Foundation. All rights reserved.