xjavadoc
public class DefaultXTag extends Object implements XTag
UNKNOWN: 11. januar 2002
| Field Summary | |
|---|---|
| static int | instanceCount |
| List | _attributeNames
Ordered List of attribute names |
| Map | _attributes
attribute map |
| XDoc | _doc |
| int | _hash |
| boolean | _isDirty
indicate dirty state |
| boolean | _isParsed
tag parse status |
| int | _lineNumber |
| String | _name
tag name |
| Set | _tagListeners
tag listeners interested in changes. |
| String | _value
string representation of tag |
| XJavaDoc | _xJavaDoc |
| Constructor Summary | |
|---|---|
| DefaultXTag() | |
| Method Summary | |
|---|---|
| void | addTagListener(XTagListener tagListener)
add doc listener interested in chages
|
| void | ensureTagListenersInitialised() |
| boolean | equals(Object o) |
| protected void | fail(String message)
Utility method that should be called from validate in
case ov a validation failure. |
| void | fireTagChanged()
fire tagChanged event |
| Collection | getAttributeNames()
Returns all tag parameters with the given name, or an empty List if none
exist;
|
| String | getAttributeValue(String attributeName)
Returns the first tag parameter with the given name, or null if none exist;
|
| XDoc | getDoc() |
| String | getInfo() |
| int | getLineNumber() |
| String | getName()
Returns the full name of the tag, excluding the @
|
| String | getValue()
Returns the full value of the tag.
|
| int | hashCode() |
| void | init(String name, String value, XDoc doc, int lineNumber)
Sets the name and value. |
| void | parse()
Given the raw javadoc tag content as the value parameter parses it
and sets the parameter. |
| String | removeAttribute(String attributeName)
Removes an attribute
|
| void | removeTagListener(XTagListener tagListener)
remove doc listener
|
| void | resetValue() |
| void | setAttribute(String attributeName, String attributeValue)
Adds a parameter
|
| void | setAttribute_Impl(String attributeName, String attributeValue) |
| static int | skipWhitespace(String s, int i)
Skips whitespaces, starting from index i till the first non-whitespace
character or end of s and returns the new index.
|
| void | validate()
Validates the tag
|
Parameters: tagListener The feature to be added to the TagListener attribute
Parameters: message the message to include
Throws: TagValidationException always thrown.
Returns: The Parameters value
Parameters: attributeName Describe what the parameter does
Returns: The Parameter value
Returns: tag name
Returns: full value of the tag
Parameters: name value doc lineNumber
Parameters: attributeName atribute to remove
Returns: the removed attribute value or null if it didn't exist
Parameters: tagListener
Parameters: attributeName The new Attribute value attributeValue The new Attribute value
Parameters: s Describe what the parameter does i Describe what the parameter does
Returns: Describe the return value
Throws: TagValidationException