Ignore:
Timestamp:
08/19/08 14:12:52 (16 years ago)
Author:
ra33
Message:

Refactored the way attribute value pairs work...
Moved static methods into attributeValuePairs class

Location:
trunk/src/org/expeditee/simple
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/simple/SPrimitive.java

    r21 r235  
    4949         */
    5050        public abstract void parse(String s) throws Exception;
     51       
     52        @Override
     53        public String toString() {
     54                return stringValue();
     55        }
    5156}
  • trunk/src/org/expeditee/simple/SString.java

    r115 r235  
    1212        }
    1313
    14         public SString(String value) throws Exception {
     14        public SString(String value) /*throws Exception*/ {
    1515                super(value);
    1616        }
     
    6565                value_ = v.stringValue();
    6666        }
     67
     68        public int length() {
     69                return value_.length();
     70        }
    6771}
Note: See TracChangeset for help on using the changeset viewer.