/* Function: IsOn
         * Returns whether the iterator is on the passed <JavadocElementType>, tag type, and <JavadocTagForm>.  This function
         * must be used with <JavadocElementType.JavadocTag> since that's the only type where it's relevant.  <JavadocElementType>
         * is passed anyway for consistency with other IsOn() functions.
         */
        public bool IsOn(JavadocElementType elementType, string tagType, JavadocTagForm tagForm)
        {
                        #if DEBUG
            if (elementType != JavadocElementType.HTMLTag)
            {
                throw new Exception("Can't call IsOn() with a tag form unless the element type is a HTML tag.");
            }
                        #endif

            return(IsOnJavadocTag(tagType, tagForm));
        }
 /* Function: IsOnJavadocTag
  * Returns whether the iterator is on the passed Javadoc tag type and <JavadocTagForm>.
  */
 public bool IsOnJavadocTag(string tagType, JavadocTagForm tagForm)
 {
     return(type == JavadocElementType.JavadocTag && this.tagType == tagType && JavadocTagForm == tagForm);
 }