Changeset 4487 for trunk/gli


Ignore:
Timestamp:
2003-06-05T13:29:29+12:00 (21 years ago)
Author:
kjdon
Message:

now passes the metadata set as well to getStructuralDetails, so we can get teh namespace and name of the set

File:
1 edited

Legend:

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

    r4419 r4487  
    555555     * @return A <strong>String[]</strong> containing the structural details.
    556556     */
    557     static final public String[] getStructuralDetails(Element element) {
     557    static final public String[] getStructuralDetails(MetadataSet mds, Element element) {
    558558    String details[] = new String[4];
    559559    Element root = (Element)element.getParentNode();
    560     details[0] = root.getAttribute("name");
    561     details[1] = root.getAttribute("namespace");
     560    //details[0] = root.getAttribute("name");
     561    //details[1] = root.getAttribute("namespace");
     562    details[0] = mds.getName();
     563    details[1] = mds.getNamespace();
    562564    details[2] = getFullName(element);
    563565    details[3] = null;
Note: See TracChangeset for help on using the changeset viewer.