Class StringCharset
java.lang.Object
overrun.marshal.internal.StringCharset
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCharset
(AnnotatedElement element) Gets the charset from the given elementstatic boolean
hasCharset
(StrCharset strCharset) Checks the given annotation
-
Method Details
-
hasCharset
Checks the given annotation- Parameters:
strCharset
- strCharset- Returns:
true
ifstrCharset
is not null and has value
-
getCharset
Gets the charset from the given element- Parameters:
element
- element- Returns:
- the charset
-