Package ro.sync.ecss.css
Class StringContent
- java.lang.Object
-
- ro.sync.ecss.css.StringContent
-
- All Implemented Interfaces:
StaticContent
@API(type=NOT_EXTENDABLE, src=PRIVATE) public class StringContent extends java.lang.Object implements StaticContent
String content
-
-
Field Summary
-
Fields inherited from interface ro.sync.ecss.css.StaticContent
CONTENT_CONTENT, COUNTER_CONTENT, COUNTERS_CONTENT, EDITOR_CONTENT, LABEL_CONTENT, LEADER_CONTENT, STRING_FUNCTION_CONTENT, TARGET_COUNTER_CONTENT, TARGET_COUNTERS_CONTENT, TEXT_CONTENT, URI_CONTENT
-
-
Constructor Summary
Constructors Constructor Description StringContent(java.lang.String value)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getType()
Gets the content type.java.lang.String
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:StaticContent
Gets the content type.- Specified by:
getType
in interfaceStaticContent
- Returns:
- The content type.
- See Also:
StaticContent.getType()
-
getValue
public java.lang.String getValue()
- Returns:
- The text value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-