byucc.jhdl.util.xmac
Class ClassParser

java.lang.Object
  extended bybyucc.jhdl.util.xmac.TagParser
      extended bybyucc.jhdl.util.xmac.ClassParser

public class ClassParser
extends TagParser

This class processes the class tag of the xmac document.

The tag form is as follows:

  <class>
    . . .
    Class stuff goes here
    . . .
  </class>

Author:
Isaac E. Wagner

Field Summary
 
Fields inherited from class byucc.jhdl.util.xmac.TagParser
docInfo
 
Constructor Summary
ClassParser(DocInfo docInfo)
          Constructs a new ClassParser object.
 
Method Summary
 void parse(org.w3c.dom.Node docRoot)
          This method does the parsing of the class method.
 
Methods inherited from class byucc.jhdl.util.xmac.TagParser
checkParent, countLines, decreaseIndent, increaseIndent, indentBlock, indentLine, indentLine, outmsg, parse, strBlockToArray, writeOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassParser

public ClassParser(DocInfo docInfo)
            throws java.lang.Exception
Constructs a new ClassParser object.

Parameters:
docInfo - The DocInfo of the document info object.
Method Detail

parse

public void parse(org.w3c.dom.Node docRoot)
           throws java.lang.Exception
This method does the parsing of the class method.

Overrides:
parse in class TagParser
Parameters:
docRoot - The Node of the class tag.
Returns:
None
Throws:
java.lang.Exception


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.