org.richfaces.validator.csv

## Class AddCSVMessageScript

- java.lang.Object
- - org.ajax4jsf.javascript.ScriptStringBase
  - - org.richfaces.validator.csv.AddCSVMessageScript

- All Implemented Interfaces:
    ScriptString

      public class AddCSVMessageScript
      extends ScriptStringBase
      implements ScriptString

  Renders script for adding new CSV message type with given ID, derived from provided FacesMessage This script can be then included by `JavaScriptService` to the page.
  Author:
    Lukas Fryc

- - ### Field Summary

    - ### Fields inherited from class org.ajax4jsf.javascript.ScriptStringBase

      `COLON, COMMA, DOT, EMPTY_STRING, EQUALS, FUNCTION, LEFT_CURLY_BRACKET, LEFT_ROUND_BRACKET, LEFT_SQUARE_BRACKET, RIGHT_CURLY_BRACKET, RIGHT_ROUND_BRACKET, RIGHT_SQUARE_BRACKET`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AddCSVMessageScript(String messageId, javax.faces.application.FacesMessage facesMessage)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendScript(Appendable target)` Append JavaScript code to @link `Appendable`
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`

    - ### Methods inherited from class org.ajax4jsf.javascript.ScriptStringBase

      `appendScriptToStringBuilder, toScript, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface org.ajax4jsf.javascript.ScriptString

      `appendScriptToStringBuilder, toScript`

- - ### Constructor Detail

    - #### AddCSVMessageScript

          public AddCSVMessageScript(String messageId,
                             javax.faces.application.FacesMessage facesMessage)

  - ### Method Detail

    - #### appendScript

          public void appendScript(Appendable target)
                            throws IOException

      Description copied from interface: `ScriptString`
      Append JavaScript code to @link `Appendable`
      Specified by:
        `appendScript` in interface `ScriptString`
      Throws:
        `IOException`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.