build();
}
+ @Override
+ public void setQName(QName qname) {
+ this.qname = qname;
+ }
+
public Set<ChoiceCaseBuilder> getCases() {
return addedCases;
}
/**
* Get case by name.
- *
+ *
* @param caseName
* name of case to search
* @return case with given name if present, null otherwise
/**
* Add case node to this choice.
- *
+ *
* If node is not declared with 'case' keyword, create new case builder and
* make this node child of newly created case.
- *
+ *
* @param caseNode
* case node
*/