Package org.mycore.frontend.xeditor
Class MCRBinding
java.lang.Object
org.mycore.frontend.xeditor.MCRBinding
- Direct Known Subclasses:
MCRRepeatBinding
- Author:
- Frank Lützenkirchen
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<MCRBinding>
protected String
protected MCRBinding
protected MCRChangeTracker
protected String
-
Constructor Summary
ConstructorDescriptionMCRBinding
(int pos, MCRBinding parent) MCRBinding
(String xPath, boolean buildIfNotExists, MCRBinding parent) MCRBinding
(String xPath, String initialValue, String name, MCRBinding parent) MCRBinding
(Document document) MCRBinding
(Document document, MCRChangeTracker tracker) -
Method Summary
Modifier and TypeMethodDescriptioncloneBoundElement
(int index) void
detach()
getName()
getValue()
static String
getXPath()
boolean
void
removeBoundNode
(int index) void
setDefault
(String value) void
void
void
void
setVariables
(Map<String, Object> variables) void
track
(MCRChangeData change)
-
Field Details
-
name
-
xPath
-
boundNodes
-
parent
-
children
-
tracker
-
-
Constructor Details
-
MCRBinding
- Throws:
JDOMException
-
MCRBinding
- Throws:
JDOMException
-
MCRBinding
public MCRBinding(String xPath, boolean buildIfNotExists, MCRBinding parent) throws JDOMException, org.jaxen.JaxenException - Throws:
JDOMException
org.jaxen.JaxenException
-
MCRBinding
public MCRBinding(String xPath, String initialValue, String name, MCRBinding parent) throws JDOMException, org.jaxen.JaxenException - Throws:
JDOMException
org.jaxen.JaxenException
-
MCRBinding
-
-
Method Details
-
getXPath
-
getBoundNodes
-
getBoundNode
-
removeBoundNode
public void removeBoundNode(int index) -
cloneBoundElement
-
getParent
-
detach
public void detach() -
getAncestorsAndSelf
-
getValue
-
getValue
-
hasValue
-
setValue
-
setDefault
-
setValues
-
setValue
-
getName
-
getChildren
-
setVariables
-
buildXPathVariables
-
getAbsoluteXPath
-
getXPathEvaluator
-
track
-