byucc.jhdl.util.xmac
Class SchematicParser

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

public class SchematicParser
extends TagParser

Parse the schematic tag. This tag should only be used within the class tag.

The form of the schematic tag is:

  <schematic>BUF</schematic>

See the byucc.jhdl.apps.Viewers.Schematic.PreDefinedSchematic class for a list of currently supported schematic types.

Author:
Isaac E. Wagner

Field Summary
 
Fields inherited from class byucc.jhdl.util.xmac.TagParser
docInfo
 
Constructor Summary
SchematicParser(DocInfo docInfo)
          Construct a new SchematicParser object.
 
Method Summary
 void parse(org.w3c.dom.Node docRoot)
          Invoke the schematic tag parser.
 
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

SchematicParser

public SchematicParser(DocInfo docInfo)
                throws java.lang.Exception
Construct a new SchematicParser object.

Parameters:
docInfo - The DocInfo object that holds all the information about the current class.
Method Detail

parse

public void parse(org.w3c.dom.Node docRoot)
           throws java.lang.Exception
Invoke the schematic tag parser.

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


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