Changeset 26041

Show
Ignore:
Timestamp:
31.07.2012 11:35:51 (7 years ago)
Author:
kjdon
Message:

code changes for the class name change

Location:
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/AbstractBasicDocument.java

    r26040 r26041  
    11/* 
    2  *    AbstractSimpleDocument.java 
     2 *    AbstractBasicDocument.java 
    33 *    Copyright (C) 2011 New Zealand Digital Library, http://www.nzdl.org 
    44 * 
     
    2323import org.w3c.dom.Element; 
    2424 
    25 public abstract class AbstractSimpleDocument { 
     25public abstract class AbstractBasicDocument { 
    2626 
    2727    /** XML element for describe requests - the container doc */ 
    2828    protected Document doc = null; // typically a shared reference to the one in ServiceRack 
    2929 
    30     static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.AbstractSimpleDocument.class.getName()); 
     30    static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.AbstractBasicDocument.class.getName()); 
    3131 
    32     public AbstractSimpleDocument(Document doc)  
     32    public AbstractBasicDocument(Document doc)  
    3333    { 
    3434    this.doc = doc; 
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/BasicDocument.java

    r26040 r26041  
    11/* 
    2  *    SimpleDocument.java 
     2 *    BasicDocument.java 
    33 *    Copyright (C) 2011 New Zealand Digital Library, http://www.nzdl.org 
    44 * 
     
    2323import org.w3c.dom.Element; 
    2424 
    25 public class SimpleDocument extends AbstractSimpleDocument { 
     25public class BasicDocument extends AbstractBasicDocument { 
    2626 
    2727 
     
    3030    protected String default_document_type = null; 
    3131 
    32     static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.SimpleDocument.class.getName()); 
     32    static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.BasicDocument.class.getName()); 
    3333 
    34     public SimpleDocument(Document doc, String default_document_type) 
     34    public BasicDocument(Document doc, String default_document_type) 
    3535    { 
    3636    super(doc); 
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/BasicDocumentDatabase.java

    r26040 r26041  
    11/* 
    2  *    SimpleDocumentDatabase.java 
     2 *    BasicDocumentDatabase.java 
    33 *    Copyright (C) 2002 New Zealand Digital Library, http://www.nzdl.org 
    44 * 
     
    4141import org.apache.log4j.*; 
    4242 
    43 public class SimpleDocumentDatabase extends AbstractSimpleDocument 
     43public class BasicDocumentDatabase extends AbstractBasicDocument 
    4444{ 
    4545    // collection database 
    4646    protected SimpleCollectionDatabase coll_db = null; 
    4747 
    48     static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.SimpleDocumentDatabase.class.getName()); 
     48    static Logger logger = Logger.getLogger(org.greenstone.gsdl3.util.BasicDocumentDatabase.class.getName()); 
    4949 
    5050 
    5151    /** constructor */ 
    52     public SimpleDocumentDatabase(Document doc,  
     52    public BasicDocumentDatabase(Document doc,  
    5353                  String database_type, String site_home, 
    5454                  String cluster_name,  String index_stem)