1 20 package org.apache.cactus.integration.ant.deployment.application; 21 22 29 public final class ApplicationXmlTag 30 { 31 32 34 37 public static final ApplicationXmlTag ICON = 38 new ApplicationXmlTag("icon"); 39 40 43 public static final ApplicationXmlTag DISPLAY_NAME = 44 new ApplicationXmlTag("display-name"); 45 46 49 public static final ApplicationXmlTag DESCRIPTION = 50 new ApplicationXmlTag("description"); 51 52 55 public static final ApplicationXmlTag MODULE = 56 new ApplicationXmlTag("module"); 57 58 61 public static final ApplicationXmlTag WEB = 62 new ApplicationXmlTag("web"); 63 64 67 public static final ApplicationXmlTag WEB_URI = 68 new ApplicationXmlTag("web-uri"); 69 70 73 public static final ApplicationXmlTag CONTEXT_ROOT = 74 new ApplicationXmlTag("context-root"); 75 76 78 81 private String tagName; 82 83 85 90 private ApplicationXmlTag(String theTagName) 91 { 92 this.tagName = theTagName; 93 } 94 95 97 100 public boolean equals(Object theOther) 101 { 102 return super.equals(theOther); 103 } 104 105 108 public int hashCode() 109 { 110 return super.hashCode(); 111 } 112 113 118 public String getTagName() 119 { 120 return this.tagName; 121 } 122 123 126 public String toString() 127 { 128 return getTagName(); 129 } 130 131 } 132 | Popular Tags |