Changeset 4314


Ignore:
Timestamp:
2003-05-23T16:36:57+12:00 (21 years ago)
Author:
jmt12
Message:

new element attribute method isHierarchy()

File:
1 edited

Legend:

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

    r4293 r4314  
    182182          MSMUtils.setOccurance(element, 1);
    183183     }
     184
     185     public boolean isHierarchy() {
     186          return element.getAttribute("hierarchy").equalsIgnoreCase("true");
     187     }
     188
    184189     public void removeAttribute(String name, String value) {
    185190          Element attributes[] = MSMUtils.getAttributeNodesNamed(element, name);
Note: See TracChangeset for help on using the changeset viewer.