1   /*
2    * Copyright 2004,2007 The Apache Software Foundation.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package tests.customext.elt;
17  
18  import javax.xml.namespace.QName;
19  
20  /**
21   *  Custom Element class
22   * The is will be with reference to the http://customattrib.org
23   * namespace and will have 'customElt' as the name and the
24   * value will have two attributes , prefix and a suffix
25   * see the  externalAnnotationsElt.xsd for an example schema.
26   */
27  public class CustomElement {
28  
29      public static final QName CUSTOM_ELT_QNAME = new QName("http://customattrib.org","customElt");
30      private String prefix;
31      private String suffix;
32  
33      public String getPrefix() {
34          return prefix;
35      }
36  
37      public void setPrefix(String prefix) {
38          this.prefix = prefix;
39      }
40  
41      public String getSuffix() {
42          return suffix;
43      }
44  
45      public void setSuffix(String suffix) {
46          this.suffix = suffix;
47      }
48  
49  }