Package org.apache.juneau.xml
Class XmlBeanMeta
java.lang.Object
org.apache.juneau.ExtendedMeta
org.apache.juneau.ExtendedBeanMeta
org.apache.juneau.xml.XmlBeanMeta
Metadata on beans specific to the XML serializers and parsers pulled from the 
@Xml annotation on the
 class.
 See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe list of properties that should be rendered as XML attributes.The list of names of properties that should be rendered as XML attributes.protected BeanPropertyMetaThe property that returns a map of XML attributes as key/value pairs.protected StringThe name of the property that returns a map of XML attributes as key/value pairs.protected Map<String,BeanPropertyMeta> The list of properties that should be rendered as collapsed child elements.The list of names of properties that should be rendered as collapsed child elements.Returns the format of the inner XML content of this bean.The property that represents the inner XML content of this bean.protected StringThe name of the property that represents the inner XML content of this bean.protected Map<String,BeanPropertyMeta> The list of properties that should be rendered as child elements.The list of names of properties that should be rendered as child elements.protected BeanPropertyMetagetPropertyMeta(String fieldName) Returns bean property meta with the specified name.Methods inherited from class org.apache.juneau.ExtendedBeanMetagetBeanMeta
- 
Constructor Details- 
XmlBeanMetaConstructor.- Parameters:
- beanMeta- The metadata on the bean that this metadata applies to.
- mp- XML metadata provider (for finding information about other artifacts).
 
 
- 
- 
Method Details- 
getAttrPropertiesThe list of properties that should be rendered as XML attributes.- Returns:
- Map of property names to property metadata.
 
- 
getAttrPropertyNamesThe list of names of properties that should be rendered as XML attributes.- Returns:
- Set of property names.
 
- 
getElementPropertiesThe list of properties that should be rendered as child elements.- Returns:
- Map of property names to property metadata.
 
- 
getElementPropertyNamesThe list of names of properties that should be rendered as child elements.- Returns:
- Set of property names.
 
- 
getCollapsedPropertiesThe list of properties that should be rendered as collapsed child elements.
 See@Xml(childName)- Returns:
- Map of property names to property metadata.
 
- 
getCollapsedPropertyNamesThe list of names of properties that should be rendered as collapsed child elements.- Returns:
- Set of property names.
 
- 
getAttrsPropertyThe property that returns a map of XML attributes as key/value pairs.- Returns:
- The bean property metadata, or null if there is no such method.
 
- 
getAttrsPropertyNameThe name of the property that returns a map of XML attributes as key/value pairs.- Returns:
- The bean property name, or null if there is no such method.
 
- 
getContentPropertyThe property that represents the inner XML content of this bean.- Returns:
- The bean property metadata, or null if there is no such method.
 
- 
getContentPropertyNameThe name of the property that represents the inner XML content of this bean.- Returns:
- The bean property name, or null if there is no such method.
 
- 
getContentFormatReturns the format of the inner XML content of this bean.Can be one of the following: - Returns:
- The format of the inner XML content of this bean.
 
- 
getPropertyMetaReturns bean property meta with the specified name.This is identical to calling BeanMeta.getPropertyMeta(String)except it first retrieves the bean property meta based on the child name (e.g. a property whose name is "people", but whose child name is "person").- Parameters:
- fieldName- The bean property name.
- Returns:
- The property metadata.
 
 
-