Package | Description |
---|---|
org.apache.hivemind.impl |
Implementations of interfaces defined in the org.apache.commons.hivemind package.
|
org.apache.hivemind.internal | |
org.apache.hivemind.schema |
Interfaces defining
Schema support (used to process
extension point contributions and service parameters). |
org.apache.hivemind.schema.rules |
Implementations of the
Rule
and
Translator interfaces. |
org.apache.hivemind.service.impl |
Implementations of services provided by the
hivemind module. |
Modifier and Type | Method and Description |
---|---|
Translator |
SchemaProcessorImpl.getAttributeTranslator(java.lang.String attributeName) |
Translator |
SchemaProcessorImpl.getContentTranslator() |
Translator |
TranslatorContribution.getTranslator() |
Translator |
ModuleImpl.getTranslator(java.lang.String translator) |
Translator |
RegistryInfrastructureImpl.getTranslator(java.lang.String constructor) |
Translator |
SchemaProcessorImpl.getTranslator(java.lang.String translator) |
Translator |
TranslatorManager.getTranslator(java.lang.String constructor) |
Modifier and Type | Method and Description |
---|---|
void |
TranslatorContribution.setTranslator(Translator translator) |
Modifier and Type | Method and Description |
---|---|
Translator |
Module.getTranslator(java.lang.String translator) |
Translator |
RegistryInfrastructure.getTranslator(java.lang.String constructor)
Gets a
Translator instance. |
Modifier and Type | Method and Description |
---|---|
Translator |
SchemaProcessor.getAttributeTranslator(java.lang.String attributeName)
Returns the
Translator for a particular attribute of the
current element. |
Translator |
SchemaProcessor.getContentTranslator()
Returns a
Translator used to convert the content of the
current element. |
Translator |
SchemaProcessor.getTranslator(java.lang.String translator)
Returns the named
Translator . |
Modifier and Type | Class and Description |
---|---|
class |
BooleanTranslator
Translates a string value to a boolean value.
|
class |
ClassTranslator
Translator that converts a class name into an instance of a class.
|
class |
ConfigurationTranslator
Interprets a string as an extension point id, and provides the elements for that extension point.
|
class |
DoubleTranslator
Translates strings to integer values.
|
class |
EnumerationTranslator
Used to translate a set of strings to one of a number of constant values.
|
class |
IdListTranslator
A
Translator that acts as a wrapper
around IdUtils.qualifyList(String, String) . |
class |
InstanceTranslator
Used to translate from a class name to an instance of the class.
|
class |
IntTranslator
Translates strings to integer values.
|
class |
LongTranslator
Translates strings to long values.
|
class |
NullTranslator
A translator that returns the input value itself.
|
class |
QualifiedIdTranslator
A
Translator that acts as a wrapper around the
IdUtils.qualify(String, String) method. |
class |
ResourceTranslator
Translator that converts the value to be a resource relative to
the contributing module's deployment descriptor.
|
class |
ServicePointTranslator
A custom translator (meaning: not used enough to be registered in
hivemind.Translators . |
class |
ServiceTranslator
Used to translate a value into a reference to a HiveMind service within the registry.
|
class |
SmartTranslator
A "smart" translator that attempts to automatically convert from string types to object or
wrapper types, using
PropertyEditor s. |
Modifier and Type | Method and Description |
---|---|
static Translator |
RuleUtils.getTranslator(SchemaProcessor processor,
java.lang.String translator)
Convienience for invoking
Module.getTranslator(String) . |
Modifier and Type | Class and Description |
---|---|
class |
ObjectTranslator
Implementation of the indirect translator.
|