rrenkert@33: package de.intevation.mxd.reader; rrenkert@30: rrenkert@30: import java.io.IOException; rrenkert@30: rrenkert@30: import org.apache.log4j.Logger; rrenkert@30: rrenkert@30: import com.esri.arcgis.geodatabase.IClass; rrenkert@30: import com.esri.arcgis.geodatabase.FeatureClass; rrenkert@30: rrenkert@30: import org.w3c.dom.Node; rrenkert@30: rrenkert@30: /** rrenkert@30: * Reads FeatureClass information. rrenkert@30: * rrenkert@30: * @author Raimund Renkert rrenkert@30: */ rrenkert@30: public class FeatureClassReader implements IClassReader{ rrenkert@30: rrenkert@30: private static final Logger logger = Logger.getLogger(FeatureClassReader.class); rrenkert@30: rrenkert@30: private IClass fclass; rrenkert@30: rrenkert@30: private Node parent; rrenkert@30: //Constructor rrenkert@30: public FeatureClassReader(IClass cl) throws Exception{ rrenkert@30: if(cl instanceof FeatureClass) rrenkert@30: this.fclass = cl; rrenkert@30: else rrenkert@31: throw new Exception("Not a FeatureClass object!" + rrenkert@31: cl.getClass().toString()); rrenkert@30: } rrenkert@30: rrenkert@30: //Methods rrenkert@30: /** rrenkert@30: * Reads the Layer content. rrenkert@30: */ rrenkert@30: public boolean read() throws IOException{ rrenkert@31: rrenkert@30: logger.debug("read()"); rrenkert@30: return false; rrenkert@30: } rrenkert@30: rrenkert@30: public void getClassDoc() throws IOException{ rrenkert@30: logger.debug("getLayer() -> not implemented jet."); rrenkert@30: return; rrenkert@30: } rrenkert@30: rrenkert@30: public void setXMLNode(Node node) { rrenkert@30: parent = node; rrenkert@30: } rrenkert@30: } rrenkert@30: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :