Ignore:
Timestamp:
2003-11-05T13:46:44+13:00 (21 years ago)
Author:
mdewsnip
Message:

Commented out about 60 unused functions.

Location:
trunk/gli/src/org/greenstone/gatherer/msm
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMAction.java

    r5589 r5785  
    127127     * @return A <strong>String</strong> stating the fully qualified name of the target element, within the namespace of one of the currently loaded metadata sets.
    128128     */
    129     public String getTarget() {
     129    /* private String getTarget() {
    130130    return target;
    131     }
    132     public boolean isHFile() {
     131    } */
     132    /* private boolean isHFile() {
    133133    return hfile;
    134     }
     134    } */
    135135}
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMEvent.java

    r5589 r5785  
    149149    return new_metadata;
    150150    }
    151     public GValueModel getNewModel() {
     151    /* private GValueModel getNewModel() {
    152152    return new_model;
    153     }
     153    } */
    154154    /** Method to retrieve the old metadata associated with this event.
    155155     * @return A <strong>Metadata</strong>, or <i>null</i> if there is none.
     
    158158    return old_metadata;
    159159    }
    160     public GValueModel getOldModel() {
     160    /* private GValueModel getOldModel() {
    161161    return old_model;
    162     }
     162    } */
    163163    /** Method to retrieve of the profile associated with this event.
    164164     * @return A <strong>MSMAction</strong> which details the action profile, or <i>null</i> if no profile exists.
    165165     */
    166     public MSMAction getProfile() {
     166    /* private MSMAction getProfile() {
    167167    return profile;
    168     }
     168    } */
    169169    /** Retrieve the record associated with this event. */
    170170    public FileNode getRecord() {
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMPrompt.java

    r5777 r5785  
    861861     * @return The metadata set the user has selected or null if no set selected.
    862862     */
    863     final public MetadataSet selectSet(String name) {
     863    /* final private MetadataSet selectSet(String name) {
    864864    String args[] = new String[1];
    865865    args[0] = name;
     
    941941    dialog = null;
    942942    return null;
    943     }
     943    } */
    944944
    945945    private class AddListener
  • trunk/gli/src/org/greenstone/gatherer/msm/MSMUtils.java

    r5747 r5785  
    147147     * @return <i>true</i> if the path was found (including matching #text elements at the leaf), or <i>false</i> otherwise.
    148148     */
    149     static final public boolean containsPath(Node tree, Node path[]) {
     149    /* static final private boolean containsPath(Node tree, Node path[]) {
    150150    // If there is no tree then there are no values.
    151151    if(tree == null) {
     
    177177    }
    178178    return false;       
    179     }
     179    } */
    180180    /** Method to compare two metadata elements (of type Element, which is bound to get more than a bit confusing) for equality. This test may only check the structural (ie pretty much unchanging) consistancy, or may include the AssignedValue tree as well (which will be different for each collection I'd imagine).
    181181     * @param a_set The <strong>MetadataSet</strong> a comes from.
     
    390390     * @return The pattern as a String.
    391391     */
    392     static final public String getFileNamePattern(Node fileset) {
     392    /* static final private String getFileNamePattern(Node fileset) {
    393393    // Locate the child node called filename
    394394    for(Node child = fileset.getFirstChild(); child != null; child = child.getNextSibling()) {
     
    399399    }         
    400400    return null;
    401     }
     401    } */
    402402
    403403    /*************************************************************************/
     
    406406     * @return A fully qualified identifier as a <strong>String</strong>
    407407     */
    408     static final public String getFullIdentifier(Node element, String namespace) {
     408    /* static final private String getFullIdentifier(Node element, String namespace) {
    409409    StringBuffer identifier_buffer = new StringBuffer();
    410410    if(element == null) {
     
    438438    namespace = null;
    439439    return identifier_buffer.toString();
    440     } // static public String getFullIdentier(Node element)
     440    } */
    441441
    442442    /*************************************************************************/
     
    530530     * @return The description node or null if no such node.
    531531     */
    532     static final public Node getMetadataDescription(Node fileset) {
     532    /* static final private Node getMetadataDescription(Node fileset) {
    533533    // Locate the child node called filename
    534534    for(Node child = fileset.getLastChild(); child != null; child = child.getPreviousSibling()) {
     
    538538    }         
    539539    return null;
    540     }
     540    } */
    541541
    542542    /** Method to retrieve from the node given, a certain child node with the specified name.
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataSet.java

    r5777 r5785  
    301301     * @return A <strong>String</strong> containing the address.
    302302     */
    303     public String getContact() {
     303    /* private String getContact() {
    304304    return root.getAttribute("contact");
    305     }
     305    } */
    306306    /** Method to retrieve the name of the creator of this metadata set.
    307307     * @return A <strong>String</strong> containing the name.
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataSetManager.java

    r5748 r5785  
    466466     * @return A NodeList[] of metadata elements.
    467467     */
    468     public NodeList[] getNodeLists() {
     468    /* private NodeList[] getNodeLists() {
    469469    NodeList elements[] = null;
    470470    int index = 0;
     
    478478    }
    479479    return elements;
    480     }
     480    } */
    481481
    482482    /** Retrieve the named metadata set.
     
    930930     * @param new_name The String to use as the new name.
    931931     */
    932     public void renameElement(ElementWrapper element, String new_name) {
     932    /* private void renameElement(ElementWrapper element, String new_name) {
    933933    Element e = element.getElement();
    934934    String old_name = element.toString();
     
    937937    old_name = null;
    938938    e = null;
    939     }
     939    } */
    940940    /** A method to save the state of this metadata set manager. First we ensure that the names of all included metadata sets have been added to the collection configuration file, then all of the metadata sets contained are exported with full content to the collect/<col_name>/metadata/ directory.
    941941     */
Note: See TracChangeset for help on using the changeset viewer.