Class MCRSwapInsertTarget
java.lang.Object
org.mycore.frontend.xeditor.target.MCRRepeaterControl
org.mycore.frontend.xeditor.target.MCRSwapInsertTarget
- All Implemented Interfaces:
MCREditorTarget
- Direct Known Subclasses:
MCRInsertTarget
,MCRSwapTarget
- Author:
- Frank Lützenkirchen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
buildParameter
(MCRRepeatBinding repeatBinding, int pos) protected abstract void
handle
(int pos, MCRRepeatBinding repeatBinding) void
handle
(String swapParameter, MCRBinding root) protected void
handleRepeaterControl
(jakarta.servlet.ServletContext context, MCRServletJob job, MCREditorSession session, String param) Methods inherited from class org.mycore.frontend.xeditor.target.MCRRepeaterControl
handleSubmission
-
Constructor Details
-
MCRSwapInsertTarget
public MCRSwapInsertTarget()
-
-
Method Details
-
handleRepeaterControl
protected void handleRepeaterControl(jakarta.servlet.ServletContext context, MCRServletJob job, MCREditorSession session, String param) throws Exception - Specified by:
handleRepeaterControl
in classMCRRepeaterControl
- Throws:
Exception
-
handle
public void handle(String swapParameter, MCRBinding root) throws org.jaxen.JaxenException, JDOMException - Throws:
org.jaxen.JaxenException
JDOMException
-
handle
protected abstract void handle(int pos, MCRRepeatBinding repeatBinding) throws org.jaxen.JaxenException - Throws:
org.jaxen.JaxenException
-
buildParameter
protected static String buildParameter(MCRRepeatBinding repeatBinding, int pos) throws org.jaxen.JaxenException - Throws:
org.jaxen.JaxenException
-