Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.schema.rules: Javadoc index of package org.apache.hivemind.schema.rules.


Package Samples:

org.apache.hivemind.schema.rules: Interfaces defining org.apache.hivemind.schema.Schema support (used to process extension point contributions and service parameters).  

Classes:

ReadContentRule: Used to set a property of the top object on the stack to the value of the element's content. Created from the <read-content> element. Note: an org.apache.hivemind.Element 's content is trimmed of leading and trailing whitespace as it is parsed and, additionally, will never be null (though it may be the empty string).
InvokeParentRule: Rule used to connect a child object to its parent by invoking a method on the parent, passing the child. The child object is the top object on the stack and the parent object is the next object down on the stack. Created from the <invoke-parent> element. Generally, this is the last rule in a sequence of rules.
SetParentRule: Used to set a property of the child object to its parent object. The child object is the top object on the org.apache.hivemind.schema.SchemaProcessor stack, the parent object is the next object in. Created from the <set-parent> element.
TestIdTranslators: Tests for QualifiedIdTranslator and IdListTranslator .
QualifiedIdTranslator: A org.apache.hivemind.schema.Translator that acts as a wrapper around the IdUtils.qualify(String, String) > IdUtils.qualify(String, String) 55 method.
IdListTranslator: A org.apache.hivemind.schema.Translator that acts as a wrapper around IdUtils.qualifyList(String, String) > IdUtils.qualifyList(String, String) 55 .
CreateObjectRule: Basic org.apache.hivemind.schema.Rule for creating a new object. Created from the the <create-object> element. Generally, this is the first rule in a sequence of rules.
ServicePointTranslator: A custom translator (meaning: not used enough to be registered in hivemind.Translators . Converts an an input value into a org.apache.hivemind.internal.ServicePoint .
EnumerationTranslator: Used to translate a set of strings to one of a number of constant values. Each input string is matched against the name of a public static field of a class. The name of the class, and the mappings, are provided in the initializer.
RuleUtils: Static methods useful to org.apache.hivemind.schema.Rule s and org.apache.hivemind.schema.Translator s.
SetModuleRule: Rule used to set a property of the top stack object to the org.apache.hivemind.internal.Module the element was contributed from.
SmartTranslator: A "smart" translator that attempts to automatically convert from string types to object or wrapper types, using java.beans.PropertyEditor s.
ConfigurationTranslator: Interprets a string as an extension point id, and provides the elements for that extension point. Depending on the target property type the elements will be provided as a List or as a Map.
BooleanTranslator: Translates a string value to a boolean value. "true" and "false" are acceptible values. Other values are logged as errors and treated as false. Null is simply considered false.
ReadAttributeRule: Reads an attribute of an element and uses it to set a property of the top object on the stack. Created from the <read-attribute> element.
TestCreateObjectRule: Tests for CreateObjectRule .
PushContentRule: A rule that reads the element's content, passes it through the content translator, then pushes the result onto the processor stack.
NullTranslator: A translator that returns the input value itself. Used by the BuilderFactory's <string> constructor argument element.
BaseRule: Base class for implementing org.apache.hivemind.schema.Rule s.
ResourceTranslator: Translator that converts the value to be a resource relative to the contributing module's deployment descriptor.
PushAttributeRule: A rule that reads an attribute, passes it through a translator, then pushes the result onto the processor stack.
ServiceTranslator: Used to translate a value into a reference to a HiveMind service within the registry.
ClassTranslator: Translator that converts a class name into an instance of a class.
InstanceTranslator: Used to translate from a class name to an instance of the class.
SetPropertyRule: Used to set a property of an object to a literal value.

Home | Contact Us | Privacy Policy | Terms of Service