1 package JSci.mathml; 2 3 import org.w3c.dom.mathml.*; 4 5 10 public class MathMLConditionElementImpl extends MathMLElementImpl implements MathMLConditionElement { 11 14 public MathMLConditionElementImpl(MathMLDocumentImpl owner, String qualifiedName) { 15 super(owner, qualifiedName); 16 } 17 18 public MathMLApplyElement getCondition() { 19 return (MathMLApplyElement) getFirstChild(); 20 } 21 public void setCondition(MathMLApplyElement condition) { 22 replaceChild(condition, getFirstChild()); 23 } 24 } 25 26 | Popular Tags |