1 16 17 package org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements; 18 19 import org.apache.cocoon.components.elementprocessor.types.BooleanConverter; 20 import org.apache.cocoon.components.elementprocessor.types.BooleanResult; 21 22 import java.io.IOException ; 23 24 35 public class EP_RepeatTop extends BaseElementProcessor { 36 private static final String _value_attribute = "value"; 37 private BooleanResult _value; 38 39 42 43 public EP_RepeatTop() { 44 super(null); 45 _value = null; 46 } 47 48 53 54 public boolean getValue() throws IOException { 55 if (_value == null) { 56 _value = 57 BooleanConverter.extractBoolean(getValue(_value_attribute)); 58 } 59 return _value.booleanValue(); 60 } 61 } | Popular Tags |