public class ListDescriptor extends Object implements ArooaDescriptor
ListDescriptorBean
Constructor and Description |
---|
ListDescriptor() |
ListDescriptor(ArooaDescriptor[] descriptors) |
Modifier and Type | Method and Description |
---|---|
void |
addDescriptor(ArooaDescriptor descriptor) |
ArooaBeanDescriptor |
getBeanDescriptor(ArooaClass classIdentifier,
PropertyAccessor accessor) |
ClassResolver |
getClassResolver()
Provide a
ClassResolver . |
ConversionProvider |
getConvertletProvider()
Provide type conversions.
|
ElementMappings |
getElementMappings()
Provide element to class name mappings for components.
|
String |
getPrefixFor(URI namespace)
Provide the default prefix for a URI.
|
int |
size() |
public ListDescriptor()
public ListDescriptor(ArooaDescriptor[] descriptors)
public void addDescriptor(ArooaDescriptor descriptor)
public int size()
public ConversionProvider getConvertletProvider()
ArooaDescriptor
getConvertletProvider
in interface ArooaDescriptor
public ArooaBeanDescriptor getBeanDescriptor(ArooaClass classIdentifier, PropertyAccessor accessor)
getBeanDescriptor
in interface BeanDescriptorProvider
classIdentifier
- The class.accessor
- Used to access the bean properties for default
types.public ElementMappings getElementMappings()
ArooaDescriptor
getElementMappings
in interface ArooaDescriptor
public String getPrefixFor(URI namespace)
ArooaDescriptor
getPrefixFor
in interface ArooaDescriptor
namespace
- The namespace.public ClassResolver getClassResolver()
ArooaDescriptor
ClassResolver
. The resolver will typically
be able to resolve classes returned from the
ElementMappings
provided by this descriptor.getClassResolver
in interface ArooaDescriptor