Coverage Report - org.webslinger.ext.wiki.parser.WikiControlElseIf
 
Classes in this File Line Coverage Branch Coverage Complexity
WikiControlElseIf
0%
0/9
N/A
1
 
 1  
 package org.webslinger.ext.wiki.parser;
 2  
 
 3  
 import java.util.ArrayList;
 4  
 import java.util.ListIterator;
 5  
 
 6  
 public class WikiControlElseIf extends SimpleNode implements ControlNode, ConditionNode, InlineContainer {
 7  
     protected Node condition;
 8  
 
 9  
     public WikiControlElseIf(int id) {
 10  0
         super(id);
 11  0
     }
 12  
 
 13  
     public WikiControlElseIf(Wiki p, int id) {
 14  0
         super(p, id);
 15  0
     }
 16  
 
 17  
     public Object jjtAccept(WikiVisitor visitor, Object data) {
 18  0
         return visitor.visit(this, data);
 19  
     }
 20  
 
 21  
     public void moveChildren() {
 22  0
         condition = (Node) children.remove(0);
 23  0
     }
 24  
 
 25  
     public Node getCondition() {
 26  0
         return condition;
 27  
     }
 28  
 
 29  
     public String toString() {
 30  0
         return super.toString() + '(' + getCondition() + ')';
 31  
     }
 32  
 }