# com.bea.wlw.netui.tags
ScriptReporter Interface

public interface ScriptReporter

All Known Implementing Classes
  `ScriptContainer`

## Method Summary

`public void` | `addScriptCode`(`String` script) This method will add Script as top level code that runs when the page is loaded.
`public void` | `addScriptFunction`(`String` script) This method will add Script as a function.
`public void` | `addTagId`(`String` tagId, `String` tagName) Adds a tagID and tagName to the id to name map.

## Method Detail

### addScriptCode(String) Method

    public void addScriptCode(String script)

This method will add Script as top level code that runs when the page is loaded.

#### Parameters

script
  the text of the script

### addScriptFunction(String) Method

    public void addScriptFunction(String script)

This method will add Script as a function.

#### Parameters

script
  the text of the function

### addTagId(String, String) Method

    public void addTagId(String tagId,
                         String tagName)

Adds a tagID and tagName to the id to name map. A script container can maintain a mapping of user ids to actual ids generated by the tagId. This method will track these.

#### Parameters

tagId
  - the id of a child tag.

tagName
  - the name of a child tag.