1 16 package org.apache.commons.betwixt.io.read; 17 18 import org.apache.commons.betwixt.ElementDescriptor; 19 import org.xml.sax.Attributes ; 20 21 27 public class ElementMapping { 28 29 30 private String namespace; 31 32 private String name; 33 34 private Attributes attributes; 35 36 private Class type; 37 38 private ElementDescriptor descriptor; 39 40 41 public ElementMapping() {} 42 43 48 public String getNamespace() { 49 return namespace; 50 } 51 52 56 public void setNamespace(String namespace) { 57 this.namespace = namespace; 58 } 59 60 64 public String getName() { 65 return name; 66 } 67 68 72 public void setName(String name) { 73 this.name = name; 74 } 75 76 80 public Attributes getAttributes() { 81 return attributes; 82 } 83 84 88 public void setAttributes(Attributes attributes) { 89 this.attributes = attributes; 90 } 91 92 97 public Class getType() { 98 return type; 99 } 100 101 106 public void setType(Class type) { 107 this.type = type; 108 } 109 110 114 public ElementDescriptor getDescriptor() { 115 return descriptor; 116 } 117 118 122 public void setDescriptor(ElementDescriptor descriptor) { 123 this.descriptor = descriptor; 124 } 125 } 126 | Popular Tags |