|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.jena.rdf.arp.lang.LanguageTag
RFC 3066, "Tags for the Identification of Languages".
| Field Summary |
| 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 |
| Constructor Summary | |
LanguageTag(java.lang.String tag)
Creates new RFC3066 LanguageTag. |
|
| Method Summary | |
java.lang.String |
errorMessage()
An error message describing the reason the tag is illegal. |
int |
tagType()
The properties of this LanguageTag, expressed as a bitwise or of fields from LanguageTagCodes. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LanguageTag(java.lang.String tag)
throws LanguageTagSyntaxException
tag - The tag to parse and analyse.
LanguageTagSyntaxException - If the syntactic rules of RFC3066 section 2.1 are
broken.| Method Detail |
public int tagType()
LanguageTagCodes.
If the tag is illegal only LT_ILLEGAL is reported.
Examples include:
LT_ISO639LT_ISO639|LT_ISO3166LT_ILLEGALLT_PRIVATE_USELT_IANA|LT_EXTRALT_IANA_DEPRECATEDLT_MULTIPLE|LT_ISO3166|LT_EXTRALT_ISO639|LT_ISO3166|LT_IANA|LT_EXTRA
public java.lang.String errorMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||