public class ClassMetaExtended extends Object
Serializers and parsers can implement their own language-specific metadata on a class and retrieve the metadata
using the ClassMeta.getExtendedMeta(Class)
method.
Constructor and Description |
---|
ClassMetaExtended(ClassMeta<?> cm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ClassMeta<?> |
getClassMeta()
Returns the class metadata that was passed into the constructor.
|
protected Class<?> |
getInnerClass()
Convenience method for calling
ClassMeta.getInnerClass() on the metadata passed to the constructor. |
public ClassMetaExtended(ClassMeta<?> cm) throws BeanRuntimeException
cm
- The metadata of the class we're extending.BeanRuntimeException
- If any error occurred trying to construct the metadata.protected ClassMeta<?> getClassMeta()
protected Class<?> getInnerClass()
ClassMeta.getInnerClass()
on the metadata passed to the constructor.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.