gov.llnl.babel.symbols

Class 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(String location, String name)
Append the splicer block specified by the location and name.
void
addSplicerContents(String location, String name, String impl)
Append the splicer contents to the splicer block specified by the location and name.
SplicerBlock
getSplicerBlock(String location, String name)
Return the splicer block with the specified location and name.
ArrayList
getSplicerBlocks(String location)
Return a list of splicer block(s) with the specified location.
ArrayList
getSplicerContents(String location, String name)
Return the contents of the splicer block with the specified location and name.
boolean
hasSplicerBlock(String location, String name)
Return TRUE if splicer block found; otherwise, return FALSE.

Constructor Details

SplicerList

public SplicerList()
Create a new SplicerList.

Method Details

addSplicerBlock

public void addSplicerBlock(String location,
                            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(String location,
                               String name,
                               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(String location,
                                    String name)
Return the splicer block with the specified location and name.

getSplicerBlocks

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

getSplicerContents

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

hasSplicerBlock

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