01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.search.rdm;
07:
08: import java.io.*;
09:
10: /**
11: * Subclass this to implement specific callback functions
12: */
13: public class TaxDumper implements RDMCallback {
14:
15: public Object data;
16:
17: public void callback(Object rdmclass) {
18: RDMClassification c = (RDMClassification) rdmclass;
19: System.out.println(c.getId());
20: }
21:
22: }
|