com.sun.tlddoc.tagfileparser
Class Directive

java.lang.Object
  extended bycom.sun.tlddoc.tagfileparser.Directive

public class Directive
extends java.lang.Object

Encapsulates a directive in a tag file.

Author:
mroth

Constructor Summary
Directive()
          Creates a new instance of Directive
 
Method Summary
 void addAttribute(Attribute attribute)
          Adds an attribute to the list of attributes for this directive.
 java.util.Iterator getAttributes()
          Returns an iterator through the set of attributes in this directive.
 java.lang.String getDirectiveName()
          Getter for property directiveName.
 void setDirectiveName(java.lang.String directiveName)
          Setter for property directiveName.
 java.lang.String toString()
          Returns a string representation of this directive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Directive

public Directive()
Creates a new instance of Directive

Method Detail

getDirectiveName

public java.lang.String getDirectiveName()
Getter for property directiveName.

Returns:
Value of property directiveName.

setDirectiveName

public void setDirectiveName(java.lang.String directiveName)
Setter for property directiveName.

Parameters:
directiveName - New value of property directiveName.

addAttribute

public void addAttribute(Attribute attribute)
Adds an attribute to the list of attributes for this directive.


getAttributes

public java.util.Iterator getAttributes()
Returns an iterator through the set of attributes in this directive.


toString

public java.lang.String toString()
Returns a string representation of this directive.