01: package uk.org.ponder.saxalizer;
02:
03: // This is like the DOM class Attr!
04: /** This class represents an XML attribute. */
05:
06: public class SAXAttribute {
07: String type;
08: String value;
09:
10: SAXAttribute(String type, String value) {
11: this .type = type;
12: this .value = value;
13: }
14:
15: /** Returns the attribute's value.
16: * @return The required attribute value.
17: */
18: public String getValue() {
19: return value;
20: }
21: }
|