1 /** 2 * Copyright (C) 2008 EDIT 3 * European Distributed Institute of Taxonomy 4 * http://www.e-taxonomy.eu 5 * 6 * The contents of this file are subject to the Mozilla Public License Version 1.1 7 * See LICENSE.TXT at the top of this package for the full license terms. 8 */ 9 10 package eu.etaxonomy.cdm.io.jaxb; 11 12 import javax.xml.bind.Marshaller; 13 14 /** 15 * @author a.babadshanjan 16 * @created 19.08.2008 17 */ 18 public class CdmMarshallerListener extends Marshaller.Listener { 19 20 public void beforeMarshal(Object target) { 21 22 //TODO: This method is just a place holder at this point. 23 24 // if (target instanceof DefinedTermBase) { 25 // ((DefinedTermBase)target).setId(0); 26 // } 27 } 28 }