public class ItemsetBinding extends Object implements Externalizable, Localizable
| Modifier and Type | Field and Description |
|---|---|
TreeReference |
contextRef |
IConditionExpr |
copyExpr |
boolean |
copyMode |
TreeReference |
copyRef |
IConditionExpr |
labelExpr |
boolean |
labelIsItext |
TreeReference |
labelRef |
IConditionExpr |
nodesetExpr |
TreeReference |
nodesetRef
note that storing both the ref and expr for everything is kind of redundant, but we're forced
to since it's nearly impossible to convert between the two w/o having access to the underlying
xform/xpath classes, which we don't from the core model project
|
boolean |
randomize |
XPathNumericLiteral |
randomSeedNumericExpr |
XPathPathExpr |
randomSeedPathExpr |
IConditionExpr |
valueExpr |
TreeReference |
valueRef |
| Constructor and Description |
|---|
ItemsetBinding() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearChoices() |
List<SelectChoice> |
getChoices() |
TreeReference |
getDestRef() |
IConditionExpr |
getRelativeValue() |
void |
initReferences(QuestionDef q) |
void |
localeChanged(String locale,
Localizer localizer)
Updates the current object with the locate given.
|
void |
readExternal(DataInputStream in,
PrototypeFactory pf) |
void |
setChoices(List<SelectChoice> choices,
DataInstance model,
EvaluationContext ec,
Localizer localizer) |
void |
writeExternal(DataOutputStream out) |
public TreeReference nodesetRef
public IConditionExpr nodesetExpr
public TreeReference contextRef
public TreeReference labelRef
public IConditionExpr labelExpr
public boolean labelIsItext
public boolean copyMode
public IConditionExpr copyExpr
public TreeReference copyRef
public TreeReference valueRef
public IConditionExpr valueExpr
public boolean randomize
public XPathNumericLiteral randomSeedNumericExpr
public XPathPathExpr randomSeedPathExpr
public List<SelectChoice> getChoices()
public void setChoices(List<SelectChoice> choices, DataInstance model, EvaluationContext ec, Localizer localizer)
public void clearChoices()
public void localeChanged(String locale, Localizer localizer)
LocalizablelocaleChanged in interface Localizablepublic TreeReference getDestRef()
public IConditionExpr getRelativeValue()
public void initReferences(QuestionDef q)
public void readExternal(DataInputStream in, PrototypeFactory pf) throws IOException, DeserializationException
readExternal in interface ExternalizableIOExceptionDeserializationExceptionpublic void writeExternal(DataOutputStream out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2021. All rights reserved.