this method resolves an instance of attributedcharacteriterator.attribute that is being deserialized to one of the three pre-defined attribute constants . it does this by comparing the names of the attributes . the constant that the deserialized object resolves to is returned . concode_field_sep Attribute INPUT_METHOD_SEGMENT concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep Attribute LANGUAGE concode_elem_sep Attribute READING concode_field_sep String getName concode_elem_sep Map getAttributes concode_elem_sep Object getAttribute concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getRunLimit concode_elem_sep int getRunLimit concode_elem_sep int getRunLimit concode_elem_sep String toString concode_elem_sep int getRunStart concode_elem_sep int getRunStart concode_elem_sep int getRunStart concode_elem_sep Set getAllAttributeKeys
Object function ( ) { if ( this . equals ( READING ) ) return READING ; if ( this . equals ( LANGUAGE ) ) return LANGUAGE ; if ( this . equals ( INPUT_METHOD_SEGMENT ) ) return INPUT_METHOD_SEGMENT ; throw new InvalidObjectException ( "srini_string" + getName ( ) ) ; }