xjavadoc
public final class XTagFactory extends Object
UNKNOWN: 10. februar 2002
| Field Summary | |
|---|---|
| boolean | _isValidating |
| Map | _tagClasses
Maps tag name to XTag class. |
| Constructor Summary | |
|---|---|
| XTagFactory() | |
| Method Summary | |
|---|---|
| XTag | createTag(String tagName, String text, XDoc doc, int lineNumber)
Creates a new XTag. |
| boolean | isValidating() |
| void | registerTagClass(String tagName, Class tagClass) |
| void | setIgnoredTags(String tags)
Set the name of the tags that shouldn't be validated against.
|
| void | setValidating(boolean isValidating) |
Parameters: tagName name of the tag, without the '@' text content of the tag. Will be parsed into attributes. doc lineNumber
Returns: an instance of XTag
Throws: UnknownTagException TagValidationException if validation is activated and an unknown tag was encountered.
Parameters: tags