org.apache.commons.betwixt.io.read
Class ArrayBindAction.BeanMapping

java.lang.Object
  extended byorg.apache.commons.betwixt.io.read.MappingAction
      extended byorg.apache.commons.betwixt.io.read.MappingAction.Base
          extended byorg.apache.commons.betwixt.io.read.ArrayBindAction.BeanMapping
Enclosing class:
ArrayBindAction

private static class ArrayBindAction.BeanMapping
extends MappingAction.Base


Nested Class Summary
 
Nested classes inherited from class org.apache.commons.betwixt.io.read.MappingAction
MappingAction.Base
 
Field Summary
private  MappingAction delegate
           
 
Fields inherited from class org.apache.commons.betwixt.io.read.MappingAction
EMPTY, IGNORE
 
Constructor Summary
(package private) ArrayBindAction.BeanMapping()
           
 
Method Summary
 MappingAction begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes, ReadContext context)
          Push updater and then delegate
 void body(java.lang.String text, ReadContext context)
          Delegate to delegate (Doh!)
 void end(ReadContext context)
          Call delegate then pop Updater
(package private)  MappingAction getDelegate()
          Gets the action to which the bean binding is delegated.
 MappingAction next(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes, ReadContext context)
          Use delegate to create next action
(package private)  void setDelegate(MappingAction action)
          Sets the action to which the bean binding is delegated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

private MappingAction delegate
Constructor Detail

ArrayBindAction.BeanMapping

ArrayBindAction.BeanMapping()
Method Detail

getDelegate

MappingAction getDelegate()
Gets the action to which the bean binding is delegated.

Returns:
MappingAction delegate, not null

setDelegate

void setDelegate(MappingAction action)
Sets the action to which the bean binding is delegated.


begin

public MappingAction begin(java.lang.String namespace,
                           java.lang.String name,
                           org.xml.sax.Attributes attributes,
                           ReadContext context)
                    throws java.lang.Exception
Push updater and then delegate

Overrides:
begin in class MappingAction.Base
Throws:
java.lang.Exception

body

public void body(java.lang.String text,
                 ReadContext context)
          throws java.lang.Exception
Delegate to delegate (Doh!)

Overrides:
body in class MappingAction.Base
Throws:
java.lang.Exception

end

public void end(ReadContext context)
         throws java.lang.Exception
Call delegate then pop Updater

Overrides:
end in class MappingAction.Base
Throws:
java.lang.Exception

next

public MappingAction next(java.lang.String namespace,
                          java.lang.String name,
                          org.xml.sax.Attributes attributes,
                          ReadContext context)
                   throws java.lang.Exception
Use delegate to create next action

Overrides:
next in class MappingAction.Base
Throws:
java.lang.Exception