[DEV] set case sensitive tag availlable for enum
This commit is contained in:
parent
6adc3b3897
commit
9069a26622
@ -9,7 +9,7 @@ import java.lang.annotation.Target;
|
|||||||
* Marker annotation that to set the element is case sensitive or not.
|
* Marker annotation that to set the element is case sensitive or not.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER })
|
@Target({ ElementType.FIELD, ElementType.TYPE, ElementType.METHOD, ElementType.PARAMETER })
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@ExmlAnnotation
|
@ExmlAnnotation
|
||||||
public @interface XmlCaseSensitive {
|
public @interface XmlCaseSensitive {
|
||||||
|
@ -340,7 +340,7 @@ public class ParseXml {
|
|||||||
if (this.builder.isPackText(parent)) {
|
if (this.builder.isPackText(parent)) {
|
||||||
final int endOfText = iParseFindTextPackEnd(data, pos.value);
|
final int endOfText = iParseFindTextPackEnd(data, pos.value);
|
||||||
final String valueText = data.substring(pos.value, endOfText + 1);
|
final String valueText = data.substring(pos.value, endOfText + 1);
|
||||||
Log.error("find text '{}' ==> new Pos={}", valueText, data.charAt(endOfText + 1));
|
Log.verbose("find text '{}' ==> new Pos='{}'", valueText, data.charAt(endOfText + 1));
|
||||||
pos.value = endOfText;
|
pos.value = endOfText;
|
||||||
this.builder.newText(parent, valueText);
|
this.builder.newText(parent, valueText);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user