public static class

MappingAction.Base

extends MappingAction
java.lang.Object
   ↳ org.apache.commons.betwixt.io.read.MappingAction
     ↳ org.apache.commons.betwixt.io.read.MappingAction.Base
Known Direct Subclasses

Class Overview

Basic action.

Summary

[Expand]
Inherited Fields
From class org.apache.commons.betwixt.io.read.MappingAction
Public Constructors
MappingAction.Base()
Public Methods
MappingAction begin(String namespace, String name, Attributes attributes, ReadContext context)
Executes mapping action on new element.
void body(String text, ReadContext context)
Executes mapping action for element body text
void end(ReadContext context)
Executes mapping action one element ends
MappingAction next(String namespace, String name, Attributes attributes, ReadContext context)
[Expand]
Inherited Methods
From class org.apache.commons.betwixt.io.read.MappingAction
From class java.lang.Object

Public Constructors

public MappingAction.Base ()

Public Methods

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

Executes mapping action on new element.

Parameters
attributes Attributes not null
context Context not null
Returns
  • the MappingAction to be used to map the sub-graph under this element
Throws
Exception

public void body (String text, ReadContext context)

Executes mapping action for element body text

Throws
Exception

public void end (ReadContext context)

Executes mapping action one element ends

Throws
Exception
See Also

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

Throws
Exception