org.apache.myfaces.extensions.cdi.message.api.payload
Class ArgumentDescriptor

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.message.api.payload.AbstractMessagePayload
      extended by org.apache.myfaces.extensions.cdi.message.api.payload.ArgumentDescriptor
All Implemented Interfaces:
Serializable, MessagePayload

public final class ArgumentDescriptor
extends AbstractMessagePayload

marker for Localizable arguments which were stored as message-key (format {key}) usually such lazy arguments are e.g. arguments for messages which should be resolved as soon as the message should be resolved example: message-descriptor: info message-argument (instance of Localizable: additional_info as soon as we save the argument e.g. as string we lose the information if it is Localizable or if it is just a string-value so we need the key-syntax here as well info is e.g.: info=hello: {0} additional_info is e.g.: additional_info=codi if we store additional_info as string we have to store: {additional_info} if we restore and resolve the final text the result should be: hello: codi this interface is a marker payload

See Also:
Serialized Form

Field Summary
static ArgumentDescriptor PAYLOAD
           
 
Method Summary
 
Methods inherited from class org.apache.myfaces.extensions.cdi.message.api.payload.AbstractMessagePayload
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAYLOAD

public static final ArgumentDescriptor PAYLOAD


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.