Interface LanguageStringType
-
- All Superinterfaces:
EObject
,Notifier
- All Known Implementing Classes:
LanguageStringTypeImpl
public interface LanguageStringType extends EObject
A representation of the model object 'Language String Type'. Text string with the language of the string identified as recommended in the XML 1.0 W3C Recommendation, section 2.12.The following features are supported:
- See Also:
Ows20Package.getLanguageStringType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLang()
Returns the value of the 'Lang' attribute.String
getValue()
Returns the value of the 'Value' attribute.void
setLang(String value)
Sets the value of the 'Lang
' attribute.void
setValue(String value)
Sets the value of the 'Value
' attribute.
-
-
-
Method Detail
-
getValue
String getValue()
Returns the value of the 'Value' attribute.If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(String)
,Ows20Package.getLanguageStringType_Value()
-
setValue
void setValue(String value)
Sets the value of the 'Value
' attribute.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
getValue()
-
getLang
String getLang()
Returns the value of the 'Lang' attribute.lang (as an attribute name)
denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. This name is reserved by virtue of its definition in the XML specification.
Notes
Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility.
See BCP 47 at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and the IANA language subtag registry at http://www.iana.org/assignments/language-subtag-registry for further information.
The union allows for the 'un-declaration' of xml:lang with the empty string.
- Returns:
- the value of the 'Lang' attribute.
- See Also:
setLang(String)
,Ows20Package.getLanguageStringType_Lang()
-
-