Package com.newmediaworks.taglib.payment
Class ShippingAddressTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
com.newmediaworks.taglib.payment.ShippingAddressTag
- All Implemented Interfaces:
BodyTag,IterationTag,JspTag,Tag,TryCatchFinally,Serializable
Provides the shipping details to a
PaymentTag.- Author:
- New Media Works
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidintstatic Optional<ShippingAddressTag> getCurrent(ServletRequest request) static ShippingAddressTagrequireCurrent(String fromName, ServletRequest request) voidvoidsetCompanyName(String companyName) voidsetCountryCode(String countryCode) voidsetFirstName(String firstName) voidsetLastName(String lastName) voidsetPostalCode(String postalCode) voidvoidsetStreetAddress1(String streetAddress1) voidsetStreetAddress2(String streetAddress2) Methods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Field Details
-
TAG_NAME
- See Also:
-
-
Constructor Details
-
ShippingAddressTag
public ShippingAddressTag()
-
-
Method Details
-
getCurrent
-
requireCurrent
public static ShippingAddressTag requireCurrent(String fromName, ServletRequest request) throws JspException - Throws:
JspException
-
setFirstName
- Throws:
JspException
-
setLastName
- Throws:
JspException
-
setCompanyName
- Throws:
JspException
-
setStreetAddress1
- Throws:
JspException
-
setStreetAddress2
- Throws:
JspException
-
setCity
- Throws:
JspException
-
setState
- Throws:
JspException
-
setPostalCode
- Throws:
JspException
-
setCountryCode
- Throws:
JspException
-
doStartTag
- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classBodyTagSupport- Throws:
JspException
-
doCatch
- Specified by:
doCatchin interfaceTryCatchFinally- Throws:
Throwable
-
doFinally
public void doFinally()- Specified by:
doFinallyin interfaceTryCatchFinally
-
