public class MappedRecordContextMapper extends BaseRegexContextMapper<MappedRecordBindingData>
Constructor and Description |
---|
MappedRecordContextMapper() |
Modifier and Type | Method and Description |
---|---|
void |
mapFrom(MappedRecordBindingData source,
Context context)
Maps a source object's properties to the context.
|
void |
mapTo(Context context,
MappedRecordBindingData target)
Maps a context's properties into a target object.
|
getIncludeRegexes, matches, matches, matches, setExcludeNamespaces, setExcludes, setIncludeNamespaces, setIncludes, setRegexPropagationList
getModel, setModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModel, setModel
public void mapFrom(MappedRecordBindingData source, Context context) throws Exception
mapFrom
in interface ContextMapper<MappedRecordBindingData>
mapFrom
in class BaseRegexContextMapper<MappedRecordBindingData>
source
- the object to map fromcontext
- the context to map toException
- if there was a problempublic void mapTo(Context context, MappedRecordBindingData target) throws Exception
mapTo
in interface ContextMapper<MappedRecordBindingData>
mapTo
in class BaseRegexContextMapper<MappedRecordBindingData>
context
- the context to map fromtarget
- the target to map toException
- if there was a problemCopyright © 2013–2018 JBoss by Red Hat. All rights reserved.