Coverage Report - org.webslinger.ext.wiki.parser.ListItem
 
Classes in this File Line Coverage Branch Coverage Complexity
ListItem
62%
5/8
N/A
1
 
 1  
 /* Generated By:JJTree: Do not edit this line. WikiList.java */
 2  
 
 3  
 package org.webslinger.ext.wiki.parser;
 4  
 
 5  
 public abstract class ListItem extends SimpleNode implements InlineContainer {
 6  
     protected int depth;
 7  
 
 8  
     public ListItem(int id) {
 9  0
         super(id);
 10  0
     }
 11  
 
 12  
     public ListItem(Wiki p, int id) {
 13  6
         super(p, id);
 14  6
     }
 15  
 
 16  
     public int getDepth() {
 17  15
         return depth;
 18  
     }
 19  
 
 20  
     void setDepth(int depth) {
 21  6
         this.depth = depth;
 22  6
     }
 23  
 
 24  
     public String toString() {
 25  0
         return super.toString() + '(' + getDepth() + ')';
 26  
     }
 27  
 }