View Javadoc

1   /**
2    * JSpiff
3    * -----------------
4    * Copyright (c) 2005-2006 Emil A. Lefkof III
5    *
6    * I always give it my best shot to make a program useful and solid, but
7    * remeber that there is absolutely no warranty for using this program as
8    * stated in the following terms:
9    *
10   * Licensed under the Apache License, Version 2.0 (the "License");
11   * you may not use this file except in compliance with the License.
12   * You may obtain a copy of the License at
13   *
14   *     http://www.apache.org/licenses/LICENSE-2.0
15   *
16   * Unless required by applicable law or agreed to in writing, software
17   * distributed under the License is distributed on an "AS IS" BASIS,
18   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   * See the License for the specific language governing permissions and
20   * limitations under the License.
21   */
22  
23  
24  package com.melloware.jspiff.jaxb;
25  
26  import javax.xml.bind.JAXBElement;
27  import javax.xml.bind.annotation.XmlElementDecl;
28  import javax.xml.bind.annotation.XmlRegistry;
29  import javax.xml.namespace.QName;
30  
31  
32  /**
33   * This object contains factory methods for each 
34   * Java content interface and Java element interface 
35   * generated in the com.melloware.jspiff.jaxb package. 
36   * <p>An ObjectFactory allows you to programatically 
37   * construct new instances of the Java representation 
38   * for XML content. The Java representation of XML 
39   * content can consist of schema derived interfaces 
40   * and classes representing the binding of schema 
41   * type definitions, element declarations and model 
42   * groups.  Factory methods for each of these are 
43   * provided in this class.
44   * 
45   */
46  @XmlRegistry
47  public class ObjectFactory {
48  
49      private final static QName _Playlist_QNAME = new QName("http://xspf.org/ns/0/", "playlist");
50  
51      /**
52       * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.melloware.jspiff.jaxb
53       * 
54       */
55      public ObjectFactory() {
56      }
57  
58      /**
59       * Create an instance of {@link MetaType }
60       * 
61       */
62      public MetaType createMetaType() {
63          return new MetaType();
64      }
65  
66      /**
67       * Create an instance of {@link PlaylistType }
68       * 
69       */
70      public PlaylistType createPlaylistType() {
71          return new PlaylistType();
72      }
73  
74      /**
75       * Create an instance of {@link TrackType }
76       * 
77       */
78      public TrackType createTrackType() {
79          return new TrackType();
80      }
81  
82      /**
83       * Create an instance of {@link AttributionType }
84       * 
85       */
86      public AttributionType createAttributionType() {
87          return new AttributionType();
88      }
89  
90      /**
91       * Create an instance of {@link LinkType }
92       * 
93       */
94      public LinkType createLinkType() {
95          return new LinkType();
96      }
97  
98      /**
99       * Create an instance of {@link TrackListType }
100      * 
101      */
102     public TrackListType createTrackListType() {
103         return new TrackListType();
104     }
105 
106     /**
107      * Create an instance of {@link ExtensionType }
108      * 
109      */
110     public ExtensionType createExtensionType() {
111         return new ExtensionType();
112     }
113 
114     /**
115      * Create an instance of {@link JAXBElement }{@code <}{@link PlaylistType }{@code >}}
116      * 
117      */
118     @XmlElementDecl(namespace = "http://xspf.org/ns/0/", name = "playlist")
119     public JAXBElement<PlaylistType> createPlaylist(PlaylistType value) {
120         return new JAXBElement<PlaylistType>(_Playlist_QNAME, PlaylistType.class, null, value);
121     }
122 
123 }