public class ClassesOnlyDescriptor extends java.lang.Object implements ArooaDescriptor
Constructor and Description |
---|
ClassesOnlyDescriptor(java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String[] |
getPrefixes()
Get all the prefixes mapped.
|
java.lang.String |
getPrefixFor(java.net.URI namespace)
Provide the default prefix for a URI.
|
java.net.URI |
getUriFor(java.lang.String prefix) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
empty
elementFor, qTagFor
getQName
public ClassesOnlyDescriptor(java.lang.ClassLoader classLoader)
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 ConversionProvider getConvertletProvider()
ArooaDescriptor
getConvertletProvider
in interface ArooaDescriptor
public ElementMappings getElementMappings()
ArooaDescriptor
getElementMappings
in interface ArooaDescriptor
public java.lang.String getPrefixFor(java.net.URI namespace)
ArooaDescriptor
getPrefixFor
in interface ArooaDescriptor
getPrefixFor
in interface UriMapping
namespace
- The namespace.public java.lang.String[] getPrefixes()
NamespaceMappings
getPrefixes
in interface NamespaceMappings
public java.net.URI getUriFor(java.lang.String prefix)
getUriFor
in interface PrefixMapping
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