View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2007.09.26 at 09:37:45 PM IST 
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   * &lt;element name="mapping">
25   *   &lt;complexType>
26   *     &lt;complexContent>
27   *       &lt;extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
28   *         &lt;attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
29   *         &lt;attribute name="uri" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
30   *       &lt;/extension>
31   *     &lt;/complexContent>
32   *   &lt;/complexType>
33   * &lt;/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  }