Changeset 6043


Ignore:
Timestamp:
2003-11-28T17:50:09+13:00 (20 years ago)
Author:
jmt12
Message:

Apparently I added the method to tell an element that it is a hierarchy, although I'm sure I did this months ago

File:
1 edited

Legend:

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

    r5777 r6043  
    211211    }
    212212
     213    public void setHierarchy(boolean value) {
     214    element.setAttribute(StaticStrings.HIERARCHY_ATTRIBUTE, (value ? StaticStrings.TRUE_STR : StaticStrings.FALSE_STR));
     215    }
     216
    213217    public String toString() {
    214218    String element_name = getName();
Note: See TracChangeset for help on using the changeset viewer.