Class TextSyntax is an abstract base class providing the common implementation of all attributes whose value is a string. The text attribute includes a locale to indicate the natural language. Thus, a text attribute always represents a localized string. Once constructed, a text attribute's value is immutable.
Class TextSyntax is an abstract base class providing the common implementation of all attributes whose value is a string. The text attribute includes a locale to indicate the natural language. Thus, a text attribute always represents a localized string. Once constructed, a text attribute's value is immutable.
(equals this object)
Returns whether this text attribute is equivalent to the passed in object. To be equivalent, all of the following conditions must be true:
object is not null.
object is an instance of class TextSyntax.
This text attribute's underlying string and object's underlying string are equal.
This text attribute's locale and object's locale are equal.
object - Object to compare to. - java.lang.Object
returns: True if object is equivalent to this text
attribute, false otherwise. - boolean
Returns whether this text attribute is equivalent to the passed in object. To be equivalent, all of the following conditions must be true: object is not null. object is an instance of class TextSyntax. This text attribute's underlying string and object's underlying string are equal. This text attribute's locale and object's locale are equal. object - Object to compare to. - `java.lang.Object` returns: True if object is equivalent to this text attribute, false otherwise. - `boolean`
(get-locale this)
Returns this text attribute's text string's natural language (locale).
returns: the locale - java.util.Locale
Returns this text attribute's text string's natural language (locale). returns: the locale - `java.util.Locale`
(get-value this)
Returns this text attribute's text string.
returns: the text string. - java.lang.String
Returns this text attribute's text string. returns: the text string. - `java.lang.String`
(hash-code this)
Returns a hashcode for this text attribute.
returns: A hashcode value for this object. - int
Returns a hashcode for this text attribute. returns: A hashcode value for this object. - `int`
(to-string this)
Returns a String identifying this text attribute. The String is the attribute's underlying text string.
returns: A String identifying this object. - java.lang.String
Returns a String identifying this text attribute. The String is the attribute's underlying text string. returns: A String identifying this object. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close