org.broadleafcommerce.core.web.api.wrapper
Class StateWrapper

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.StateWrapper
All Implemented Interfaces:
APIUnwrapper<State>, APIWrapper<State>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class StateWrapper
extends BaseWrapper
implements APIWrapper<State>, APIUnwrapper<State>

This is a JAXB wrapper around State. User: Elbert Bautista Date: 4/10/12


Field Summary
protected  String abbreviation
           
protected  String name
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
StateWrapper()
           
 
Method Summary
 State unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext appContext)
           
 void wrap(State model, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

abbreviation

protected String abbreviation
Constructor Detail

StateWrapper

public StateWrapper()
Method Detail

wrap

public void wrap(State model,
                 javax.servlet.http.HttpServletRequest request)
Specified by:
wrap in interface APIWrapper<State>

unwrap

public State unwrap(javax.servlet.http.HttpServletRequest request,
                    org.springframework.context.ApplicationContext appContext)
Specified by:
unwrap in interface APIUnwrapper<State>


Copyright © 2013. All Rights Reserved.