org.apache.myfaces.extensions.cdi.message.impl
Class NamedArgumentBuilder
java.lang.Object
org.apache.myfaces.extensions.cdi.message.impl.NamedArgumentBuilder
public class NamedArgumentBuilder
- extends Object
- Author:
- Gerhard Petracek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
add
public NamedArgumentBuilder add(String name,
Serializable value)
- Allows to add further arguments which are mapped to a name.
- Parameters:
name
- name of the argumentvalue
- value of the argument
- Returns:
- the current instance of the builder
create
public NamedArgument[] create()
- Creates an array of
NamedArgument
s for the stored arguments
- Returns:
- array of the added arguments
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.