public abstract class ActionMappingStrategy extends Object
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.
Modifier and Type | Field and Description |
---|---|
static ActionMappingStrategy |
DEFAULT
Default
ActionMappingStrategy
used by betwixt |
Constructor and Description |
---|
ActionMappingStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract MappingAction |
getMappingAction(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the mapping action to map the given element.
|
public static final ActionMappingStrategy DEFAULT
ActionMappingStrategy
used by betwixtpublic abstract MappingAction getMappingAction(String namespace, String name, org.xml.sax.Attributes attributes, ReadContext context) throws Exception
namespace
- not nullname
- not nullattributes
- Attributes
, not nullcontext
- ReadContext
, not nullMappingAction
, not nullException
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.