- All Implemented Interfaces:
ElementWriter
Creates a new contact.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.semanticcms.core.servlet.Element
Element.Body<E extends Element>, Element.PageContextBody<E extends Element>, Element.PageContextNoElementBody
-
Field Summary
Fields inherited from class com.semanticcms.core.servlet.Element
element, request, response, servletContext
-
Constructor Summary
ConstructorDescriptionContact()
Creates a new contact in the current page context.Creates a new contact in the current page context.Contact
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Creates a new contact.Contact
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Contact element) Creates a new contact. -
Method Summary
Modifier and TypeMethodDescriptiondepartment
(String department) protected void
doBody
(CaptureLevel captureLevel, Element.Body<? super Contact> body) phoneNumber
(PhoneNumber phoneNumber) void
writeTo
(Writer out, ElementContext context)
-
Constructor Details
-
Contact
public Contact(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Contact element) Creates a new contact. -
Contact
public Contact(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response) Creates a new contact. -
Contact
Creates a new contact in the current page context.- See Also:
-
Contact
public Contact()Creates a new contact in the current page context.- See Also:
-
-
Method Details
-
id
-
style
-
title
-
first
-
middle
-
nick
-
last
-
maiden
-
suffix
-
company
-
department
-
jobTitle
-
email
-
phoneNumber
-
im
-
webPage
-
address
-
doBody
protected void doBody(CaptureLevel captureLevel, Element.Body<? super Contact> body) throws ServletException, IOException, SkipPageException - Overrides:
doBody
in classElement<Contact>
- Throws:
ServletException
IOException
SkipPageException
-
writeTo
public void writeTo(Writer out, ElementContext context) throws IOException, ServletException, SkipPageException
-