com.sun.xml.bind.v2.runtime
final class LeafBeanInfoImpl<BeanT> extends JaxBeanInfo<BeanT>
Leaf classes are always bound to a text and they are often immutable. The JAXB spec allows this binding for a few special Java classes plus type-safe enums.
This implementation obtains necessary information from RuntimeLeafInfo.
| Constructor Summary | |
|---|---|
| LeafBeanInfoImpl(JAXBContextImpl grammar, RuntimeLeafInfo li) | |
| Method Summary | |
|---|---|
| BeanT | createInstance(UnmarshallingContext context) |
| String | getElementLocalName(BeanT _) |
| String | getElementNamespaceURI(BeanT _) |
| String | getId(BeanT bean, XMLSerializer target) |
| Loader | getLoader(JAXBContextImpl context, boolean typeSubstitutionCapable) |
| Transducer<BeanT> | getTransducer() |
| QName | getTypeName(BeanT instance) |
| boolean | reset(BeanT bean, UnmarshallingContext context) |
| void | serializeAttributes(BeanT bean, XMLSerializer target) |
| void | serializeBody(BeanT bean, XMLSerializer w) |
| void | serializeRoot(BeanT bean, XMLSerializer target) |
| void | serializeURIs(BeanT bean, XMLSerializer target) |