public abstract class

ActionMappingStrategy

extends Object
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.ActionMappingStrategy
Known Direct Subclasses

Class Overview

Pluggable strategy interface used for free mappings.

Free mappings (ones where the current mapping ) are executed by calling a ActionMappingStrategy implementation. So, using a custom strategy is an easy way to customize the mapping.

Summary

Fields
public static final ActionMappingStrategy DEFAULT Default ActionMappingStrategy used by betwixt
Public Constructors
ActionMappingStrategy()
Public Methods
abstract MappingAction getMappingAction(String namespace, String name, Attributes attributes, ReadContext context)
Gets the mapping action to map the given element.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final ActionMappingStrategy DEFAULT

Default ActionMappingStrategy used by betwixt

Public Constructors

public ActionMappingStrategy ()

Public Methods

public abstract MappingAction getMappingAction (String namespace, String name, Attributes attributes, ReadContext context)

Gets the mapping action to map the given element.

Parameters
namespace not null
name not null
attributes Attributes, not null
context ReadContext, not null
Returns
  • MappingAction, not null
Throws
Exception