Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.events
Class Event.ParamsBuilder

    java.lang.Object
      org.apache.fop.events.Event.ParamsBuilder

Enclosing class:
  Event

    public static class Event.ParamsBuilder

extends java.lang.Object

This class is a fluent builder class for building up the parameter map.

Constructor Summary
`Event.ParamsBuilder()`

Method Summary
`java.util.Map<java.lang.String,java.lang.Object>` | `build()` Returns the accumulated parameter map.
`Event.ParamsBuilder` | `param(java.lang.String name, java.lang.Object value)` Adds a new parameter (a name/value pair).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Event.ParamsBuilder

    public Event.ParamsBuilder()

Method Detail

### param

    public Event.ParamsBuilder param(java.lang.String name,
                                     java.lang.Object value)

  Adds a new parameter (a name/value pair).

  Parameters:
    `name` - the name of the parameter
    `value` - the value of the parameter
  Returns:
    this instance

### build

    public java.util.Map<java.lang.String,java.lang.Object> build()

  Returns the accumulated parameter map.

  Returns:
    the accumulated parameter map

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.