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 34 public class EP_Titles extends BaseElementProcessor { 35 private static final String _value_attribute = "value"; 36 private BooleanResult _value; 37 38 41 public EP_Titles() { 42 super(null); 43 _value = null; 44 } 45 46 51 public boolean getValue() throws IOException { 52 if (_value == null) { 53 _value = 54 BooleanConverter.extractBoolean(getValue(_value_attribute)); 55 } 56 return _value.booleanValue(); 57 } 58 } | Popular Tags |