public interface StringHook
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTranslatedString(java.lang.String tag,
java.lang.Object obj,
java.lang.String attr,
java.lang.String value,
cookxml.core.DecodeEngine decodeEngine)
this function is used to substitute a string specified in XML with a different string.
|
java.lang.String getTranslatedString(java.lang.String tag, java.lang.Object obj, java.lang.String attr, java.lang.String value, cookxml.core.DecodeEngine decodeEngine)
tag
- the parent tagobj
- the parent objectattr
- the attribute that this string is hooked tovalue
- the string value to be translateddecodeEngine
- the decodeEngine being used