1 16 package org.springframework.webflow.engine.builder.xml; 17 18 import java.io.Serializable ; 19 20 import org.springframework.binding.mapping.AttributeMapper; 21 import org.springframework.core.style.ToStringCreator; 22 import org.springframework.webflow.engine.support.AbstractFlowAttributeMapper; 23 24 32 final class ImmutableFlowAttributeMapper extends AbstractFlowAttributeMapper implements Serializable { 33 34 private final AttributeMapper inputMapper; 35 36 private final AttributeMapper outputMapper; 37 38 43 public ImmutableFlowAttributeMapper(AttributeMapper inputMapper, AttributeMapper outputMapper) { 44 this.inputMapper = inputMapper; 45 this.outputMapper = outputMapper; 46 } 47 48 protected AttributeMapper getInputMapper() { 49 return inputMapper; 50 } 51 52 protected AttributeMapper getOutputMapper() { 53 return outputMapper; 54 } 55 56 public String toString() { 57 return new ToStringCreator(this).append("inputMapper", inputMapper) 58 .append("outputMapper", outputMapper).toString(); 59 } 60 } | Popular Tags |