public class LinkedDescriptor extends Object implements ArooaDescriptor
ArooaDescriptors. The two descriptors are
treated as a primary and a secondary. Combination is as follows:
| Constructor and Description |
|---|
LinkedDescriptor(ArooaDescriptor primary,
ArooaDescriptor secondary)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ArooaBeanDescriptor |
getBeanDescriptor(ArooaClass forClass,
PropertyAccessor accessor)
Provide the descriptor.
|
ClassResolver |
getClassResolver()
Provide a
ClassResolver. |
ConversionProvider |
getConvertletProvider()
Provide type conversions.
|
ElementMappings |
getElementMappings()
Provide element to class name mappings for components.
|
String[] |
getPrefixes()
Get all the prefixes mapped.
|
String |
getPrefixFor(URI namespace)
Provide the default prefix for a URI.
|
URI |
getUriFor(String prefix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemptyelementFor, qTagForgetQNamepublic LinkedDescriptor(ArooaDescriptor primary, ArooaDescriptor secondary)
primary - secondary - public ConversionProvider getConvertletProvider()
ArooaDescriptorgetConvertletProvider in interface ArooaDescriptorpublic ArooaBeanDescriptor getBeanDescriptor(ArooaClass forClass, PropertyAccessor accessor)
BeanDescriptorProvidergetBeanDescriptor in interface BeanDescriptorProviderforClass - The class.accessor - Used to access the bean properties for default
types.public ElementMappings getElementMappings()
ArooaDescriptorgetElementMappings in interface ArooaDescriptorpublic String getPrefixFor(URI namespace)
ArooaDescriptorgetPrefixFor in interface ArooaDescriptorgetPrefixFor in interface UriMappingnamespace - The namespace.public String[] getPrefixes()
NamespaceMappingsgetPrefixes in interface NamespaceMappingspublic URI getUriFor(String prefix)
getUriFor in interface PrefixMappingpublic ClassResolver getClassResolver()
ArooaDescriptorClassResolver. The resolver will typically
be able to resolve classes returned from the
ElementMappings provided by this descriptor.getClassResolver in interface ArooaDescriptorCopyright © 2023. All rights reserved.