org.apache.clerezza.rdf.core
Class Language

java.lang.Object
  extended by org.apache.clerezza.rdf.core.Language

public class Language
extends Object

Represents a language as expressed by the RDF 4646 language tag

Author:
reto

Constructor Summary
Language(String id)
          Constructs the language tag defined by RDF 4646, normalized to lowercase.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Language

public Language(String id)
Constructs the language tag defined by RDF 4646, normalized to lowercase.

Parameters:
the - id as defined by RDF 4646, normalized to lowercase.
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.