1 23 24 package org.enhydra.xml.xmlc.metadata; 25 26 import org.w3c.dom.Document ; 27 28 33 public class URLMapping extends URLEdit { 34 37 public static final String TAG_NAME = "urlMapping"; 38 39 42 private static final String URL_ATTR = "url"; 43 private static final String NEW_URL_ATTR = "newUrl"; 44 45 48 public URLMapping(Document ownerDoc) { 49 super(ownerDoc, TAG_NAME); 50 } 51 52 55 public String getUrl() { 56 return getAttributeNull(URL_ATTR); 57 } 58 59 62 public void setUrl(String value) { 63 setRemoveAttribute(URL_ATTR, value); 64 } 65 66 69 public String getNewUrl() { 70 return getAttributeNull(NEW_URL_ATTR); 71 } 72 73 76 public void setNewUrl(String value) { 77 setRemoveAttribute(NEW_URL_ATTR, value); 78 } 79 } 80 | Popular Tags |