1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.jaxp;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /***
19 * <p>Java class for mapping element declaration.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <element name="mapping">
25 * <complexType>
26 * <complexContent>
27 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
28 * <attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
29 * <attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
30 * </extension>
31 * </complexContent>
32 * </complexType>
33 * </element>
34 * </pre>
35 *
36 *
37 */
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "")
40 @XmlRootElement(name = "mapping")
41 public class Mapping
42 extends Activatable
43 {
44
45 @XmlAttribute(required = true)
46 protected String prefix;
47 @XmlAttribute(required = true)
48 protected String uri;
49
50 /***
51 * Gets the value of the prefix property.
52 *
53 * @return
54 * possible object is
55 * {@link String }
56 *
57 */
58 public String getPrefix() {
59 return prefix;
60 }
61
62 /***
63 * Sets the value of the prefix property.
64 *
65 * @param value
66 * allowed object is
67 * {@link String }
68 *
69 */
70 public void setPrefix(String value) {
71 this.prefix = value;
72 }
73
74 /***
75 * Gets the value of the uri property.
76 *
77 * @return
78 * possible object is
79 * {@link String }
80 *
81 */
82 public String getUri() {
83 return uri;
84 }
85
86 /***
87 * Sets the value of the uri property.
88 *
89 * @param value
90 * allowed object is
91 * {@link String }
92 *
93 */
94 public void setUri(String value) {
95 this.uri = value;
96 }
97
98 }