com.hp.hpl.jena.rdf.arp.lang
Class IanaLanguageTag

java.lang.Object
  |
  +--com.hp.hpl.jena.rdf.arp.lang.LanguageTag
        |
        +--com.hp.hpl.jena.rdf.arp.lang.IanaLanguageTag
All Implemented Interfaces:
LanguageTagCodes

public class IanaLanguageTag
extends LanguageTag

Language codes registered by IANA. An encapsulation of the IANA language registry found at http://www.iana.org/assignments/language-tags. The values were updated on 24th July 2001 from a file dated 24th May 2001.

Author:
jjc

Field Summary
 int classification
          The bitwise OR of all applicable values from LanguageTagCodes.
 
Fields inherited from interface com.hp.hpl.jena.rdf.arp.lang.LanguageTagCodes
LT_DEFAULT, LT_EXTRA, LT_IANA, LT_IANA_DEPRECATED, LT_ILLEGAL, LT_ISO3166, LT_ISO639, LT_LOCAL_USE, LT_MULTIPLE, LT_PRIVATE_USE, LT_UNDETERMINED
 
Method Summary
static IanaLanguageTag find(LanguageTag t)
          Look up a language identifier in the IANA list.
 
Methods inherited from class com.hp.hpl.jena.rdf.arp.lang.LanguageTag
errorMessage, tagType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classification

public final int classification
The bitwise OR of all applicable values from LanguageTagCodes. The possibilities are:
Method Detail

find

public static IanaLanguageTag find(LanguageTag t)
Look up a language identifier in the IANA list. Trailing additional subtags are ignored.
Parameters:
t - The LanguageTag corresponding to the item being looked up.
Returns:
The IanaLanguageTag if found, or null if it is not in the list.


Copyright 2001 Hewlett-Packard. All Rights Reserved.