|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gemini.blueprint.config.internal.util.ParserUtils
public abstract class ParserUtils
Parsing utility class.
Field Summary | |
---|---|
static String |
REFERENCE_LISTENER_REF_ATTR
|
Constructor Summary | |
---|---|
ParserUtils()
|
Method Summary | |
---|---|
static Set<?> |
convertClassesToStrings(Set<?> parsedClasses)
Utility method used for maintaining backwards compatibility by converting Class objects to String (using their class names). |
static AttributeCallback[] |
mergeCallbacks(AttributeCallback[] callbacksA,
AttributeCallback[] callbacksB)
|
static void |
parseAttributes(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
AttributeCallback[] callbacks)
Generic attribute callback. |
static void |
parseCustomAttributes(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
AttributeCallback callback)
Derivative for #parseCustomAttributes(Element, BeanDefinitionBuilder, org.eclipse.gemini.blueprint.internal.config.ParserUtils.AttributeCallback[])
accepting only one AttributeCallback . |
static void |
parseCustomAttributes(Element element,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder,
AttributeCallback[] callbacks)
Dedicated parsing method that uses the following stack: user given AttributeCallback s StandardAttributeCallback
PropertyRefAttributeCallback ConventionCallback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REFERENCE_LISTENER_REF_ATTR
Constructor Detail |
---|
public ParserUtils()
Method Detail |
---|
public static void parseAttributes(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, AttributeCallback[] callbacks)
element
- XML elementbuilder
- current bean definition buildercallbacks
- array of callbacks (can be null/empty)public static void parseCustomAttributes(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, AttributeCallback[] callbacks)
AttributeCallback
sStandardAttributeCallback
PropertyRefAttributeCallback
ConventionCallback
element
- XML elementbuilder
- current bean definition buildercallbacks
- array of callbacks (can be null/empty)public static void parseCustomAttributes(Element element, org.springframework.beans.factory.support.BeanDefinitionBuilder builder, AttributeCallback callback)
#parseCustomAttributes(Element, BeanDefinitionBuilder, org.eclipse.gemini.blueprint.internal.config.ParserUtils.AttributeCallback[])
accepting only one AttributeCallback
.
element
- XML elementbuilder
- current bean definition buildercallback
- attribute callback, can be nullpublic static AttributeCallback[] mergeCallbacks(AttributeCallback[] callbacksA, AttributeCallback[] callbacksB)
public static Set<?> convertClassesToStrings(Set<?> parsedClasses)
parsedClasses
- collection of parsed classes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |