byucc.jhdl.util.xmac
Class XMACParser

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

public class XMACParser
extends TagParser

This class is the main processing engine for the xmac system. It is called by the XMAC class, takes the DOM tree and spits out a java file.

Author:
Isaac E. Wagner

Field Summary
 
Fields inherited from class byucc.jhdl.util.xmac.TagParser
docInfo
 
Constructor Summary
XMACParser(DocInfo docInfo)
          Constructs a new XMACParser.
 
Method Summary
 void parse(org.w3c.dom.Node docRoot)
          Parse the xmac document.
 
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

XMACParser

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

Parameters:
docInfo - A DocInfo object containing info about the current class.
Method Detail

parse

public void parse(org.w3c.dom.Node docRoot)
           throws java.lang.Exception
Parse the xmac document. The method actually performs the parsing of the xmac.

Overrides:
parse in class TagParser
Parameters:
docRoot - The Node of the xmac tag that needs to be parsed.
Returns:
None
Throws:
java.lang.Exception


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