else
{
throw new IllegalArgumentException();
}
TagType tagType = null;
if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
componentTags))
{
tagType = TagType.COMPONENT;
}
else if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
converterTags))
{
tagType = TagType.CONVERTER;
}
else if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
validatorTags))
{
tagType = TagType.VALIDATOR;
}
else if (DTComponentIntrospector.isTypeNameInstanceOfClass(type,
ALL_HANDLER_TAGS))
{
tagType = TagType.HANDLER;
}
if (JSFCoreTraceOptions.TRACE_JSPTAGINTROSPECTOR)
{
JSFCoreTraceOptions.log(String.format(
"TagAnalyzer.getJSFComponentTagType: tag type is %s", //$NON-NLS-1$
tagType != null ? tagType.toString() : "null")); //$NON-NLS-1$
}
return tagType;
}