gov.llnl.babel.symbols
Class SplicerList

java.lang.Object
  extended by gov.llnl.babel.symbols.SplicerList

public class SplicerList
extends java.lang.Object

The SplicerList class is a simple collection of SplicerBlock instances.


Constructor Summary
SplicerList()
          Create a new SplicerList.
 
Method Summary
 void addSplicerBlock(java.lang.String location, java.lang.String name)
          Append the splicer block specified by the location and name.
 void addSplicerContents(java.lang.String location, java.lang.String name, java.lang.String impl)
          Append the splicer contents to the splicer block specified by the location and name.
 SplicerBlock getSplicerBlock(java.lang.String location, java.lang.String name)
          Return the splicer block with the specified location and name.
 java.util.ArrayList getSplicerBlocks(java.lang.String location)
          Return a list of splicer block(s) with the specified location.
 java.util.ArrayList getSplicerContents(java.lang.String location, java.lang.String name)
          Return the contents of the splicer block with the specified location and name.
 boolean hasSplicerBlock(java.lang.String location, java.lang.String name)
          Return TRUE if splicer block found; otherwise, return FALSE.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplicerList

public SplicerList()
Create a new SplicerList.

Method Detail

addSplicerBlock

public void addSplicerBlock(java.lang.String location,
                            java.lang.String name)
Append the splicer block specified by the location and name. If the block does not exist, then a new one is automatically created.


addSplicerContents

public void addSplicerContents(java.lang.String location,
                               java.lang.String name,
                               java.lang.String impl)
Append the splicer contents to the splicer block specified by the location and name. If the block does not exist, then a new one is automatically created.


getSplicerBlock

public SplicerBlock getSplicerBlock(java.lang.String location,
                                    java.lang.String name)
Return the splicer block with the specified location and name.


getSplicerContents

public java.util.ArrayList getSplicerContents(java.lang.String location,
                                              java.lang.String name)
Return the contents of the splicer block with the specified location and name.


hasSplicerBlock

public boolean hasSplicerBlock(java.lang.String location,
                               java.lang.String name)
Return TRUE if splicer block found; otherwise, return FALSE.


getSplicerBlocks

public java.util.ArrayList getSplicerBlocks(java.lang.String location)
Return a list of splicer block(s) with the specified location.