1 23 24 package org.enhydra.xml.xmlc.metadata; 25 26 import org.w3c.dom.Document ; 27 28 31 public class JavacOption extends MetaDataElement { 32 35 public static final String TAG_NAME = "javacOption"; 36 37 40 private static final String NAME_ATTR = "name"; 41 private static final String VALUE_ATTR = "value"; 42 43 46 public JavacOption(Document ownerDoc) { 47 super(ownerDoc, TAG_NAME); 48 } 49 50 53 public String getName() { 54 return getAttributeNull(NAME_ATTR); 55 } 56 57 60 public void setName(String value) { 61 setRemoveAttribute(NAME_ATTR, value); 62 } 63 64 67 public String getValue() { 68 return getAttributeNull(VALUE_ATTR); 69 } 70 71 74 public void setValue(String value) { 75 setRemoveAttribute(VALUE_ATTR, value); 76 } 77 } 78 | Popular Tags |