META-INF.xdoc-validator.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of myfaces-builder-plugin Show documentation
Show all versions of myfaces-builder-plugin Show documentation
A maven plugin that uses annotations (java15 or doclet style) to generate the necessary JSF configuration
files (.tld, faces-config.xml, etc) and optionally Tag, Validator and Component classes.
The newest version!
<${validator.name}>
Tag name: <${validator.name}>
#set ($javadocPath = "../apidocs/" + $validator.getClassName().replace('.', '/') )
Validator class: ${validator.className}
#if ($validator.tagClass)
#set ($javadocPath = "../apidocs/" + $validator.getTagClass().replace('.', '/') )
Tag class: ${validator.tagClass}
#end
#if ($faceletTag)
Facelet Tag Handler: ${faceletTag.className}
#end
validator id: ${validator.validatorId}
${validator.longDescription}
#if ($baseContent)
$baseContent
#end
#set ($propertyList = ${tagdocUtils.getSortedPropertyList($validator)})
#if ($propertyList.size() != 0)
Name
Type
Supports EL?
Description
#foreach( $property in $propertyList )
#if (!$property.isTagExcluded())
$property.jspName
#set ($type = ${tagdocUtils.getDisplayType($validator.className,$property.jspName,$property.className)})
$type
#if ($property.jspName == "action")
Yes
#elseif ($property.isMethodBinding() || $property.isMethodExpression())
Only EL
#elseif ($property.jspName == "binding")
Only EL
#elseif ($property.isLiteralOnly())
No
#else
Yes
#end
#if ($property.longDescription)
$property.longDescription
#else
#end
#end
#end
#end
#if ($faceletTag)
#set ($attributeList = ${tagdocUtils.getSortedAttributeList($faceletTag)})
#if ($attributeList.size() != 0)
Name
Type
Required
Description
#foreach( $attribute in $attributeList )
#if (!$attribute.isTagExcluded() && $attribute.isFaceletsOnly())
$attribute.name
#set ($type = ${tagdocUtils.getDisplayType($faceletTag.className,$attribute.name,$attribute.className)})
$type
$attribute.isRequired()
#if ($attribute.longDescription)
$attribute.longDescription
#else
#end
#end
#end
#end
#elseif ($jsf20)
Name
Type
Required
Description
for
String
false
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy