View Javadoc

1   /***
2    * Java DAB EPG API - Serialize/Deserialize To/From POJOs to XML/Binary as per
3    * ETSI specifications TS 102 818 (XML Specification for DAB EPG) and TS 102 
4    * 371 (Transportation and Binary Encoding Specification for EPG).
5    * 
6    * Copyright (C) 2007 GCap Media PLC
7    *
8    * This library is free software; you can redistribute it and/or
9    * modify it under the terms of the GNU Lesser General Public
10   * License as published by the Free Software Foundation; either
11   * version 2.1 of the License, or (at your option) any later version.
12   *
13   * This library is distributed in the hope that it will be useful,
14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16   * Lesser General Public License for more details.
17   *
18   * You should have received a copy of the GNU Lesser General Public
19   * License along with this library; if not, write to the Free Software
20   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
21   */
22  package com.gcapmedia.dab.epg;
23  
24  import java.util.Locale;
25  
26  /***
27   * Mediumname field
28   */
29  public class MediumName extends Name {
30  
31  	/***
32  	 * Create a new mediumname using the default language
33  	 * @param text Mediumname text
34  	 */
35  	public MediumName(String text) {
36  		this(text, Locale.getDefault());
37  	}
38  	
39  	/***
40  	 * Create a new mediumname
41  	 * @param text Mediumname text
42  	 * @param locale Mediumname language
43  	 */
44  	public MediumName(String text, Locale locale) {
45  		super(text, 16, locale);
46  	}
47  
48  }