1 23 24 package org.enhydra.xml.xmlc.metadata; 25 26 import org.w3c.dom.Document ; 27 28 32 public class TagClass extends MetaDataElement { 33 36 public static final String TAG_NAME = "tagClass"; 37 38 41 private static final String TAG_NAME_ATTR = "tagName"; 42 private static final String ATTR_NAME_ATTR = "attrName"; 43 44 47 public TagClass(Document ownerDoc) { 48 super(ownerDoc, TAG_NAME); 49 } 50 51 54 public String getTagName() { 55 return getAttributeNull(TAG_NAME_ATTR); 56 } 57 58 61 public void setTagName(String value) { 62 setRemoveAttribute(TAG_NAME_ATTR, value); 63 } 64 65 68 public String getAttrName() { 69 return getAttributeNull(ATTR_NAME_ATTR); 70 } 71 72 75 public void setAttrName(String value) { 76 setRemoveAttribute(ATTR_NAME_ATTR, value); 77 } 78 } 79 | Popular Tags |