|
||||||||||
| 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(java.lang.String value,
java.lang.String lang)
Creates a new LanguageString instance with the given string value and optional language information. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLanguage()
Returns the RFC 4646 language code. |
java.lang.String |
getString()
Returns the string value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LanguageString(java.lang.String value,
java.lang.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 java.lang.String getString()
public java.lang.String getLanguage()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||