Package org.codehaus.mojo.taglist.tags
Class TagFactory
java.lang.Object
org.codehaus.mojo.taglist.tags.TagFactory
The tag factory is used to create a tag based on the type of tag
defined in the pom.xml.
-
Method Summary
-
Method Details
-
createTag
Create a tag based on a tag type string.- Parameters:
tagType
- the XML string for the tag to create.rule
- the tag string to use in matching tags.- Returns:
- the new tag. NULL if the tagType is unknown.
- Throws:
InvalidTagException
- if the tagType is unknown
-
getDefaultTagType
Returns the default tag type if one is not specified.- Returns:
- the default tag type string
-