|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.tom.ows.LanguageString
public class LanguageString
Text string with the language of the string identified as recommended in the XML 1.0 W3C Recommendation, section 2.12 (RFC 4646 language code).
| Constructor Summary | |
|---|---|
LanguageString(String value,
String lang)
Creates a new LanguageString instance with the given string value and optional language information. |
|
| Method Summary | |
|---|---|
String |
getLanguage()
Returns the RFC 4646 language code. |
String |
getString()
Returns the string value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageString(String value,
String lang)
LanguageString instance with the given string value and optional language information.
value - string valuelang - RFC 4646 language code of the human-readable text, may be null| Method Detail |
|---|
public String getString()
public String getLanguage()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||