@@ -42,7 +42,7 @@ public final class ReaderConfig
42
42
final static int F_AUTO_CLOSE_INPUT = 0x2000 ;
43
43
44
44
// Custom flags:
45
- final static int F_RETAIN_GENERAL_ENTITIES = 0x4000 ;
45
+ final static int F_RETAIN_ATTRIBUTE_GENERAL_ENTITIES = 0x4000 ;
46
46
47
47
/**
48
48
* These are the default settings for XMLInputFactory.
@@ -101,7 +101,7 @@ public final class ReaderConfig
101
101
sProperties .put (XMLInputFactory2 .P_DTD_OVERRIDE , null );
102
102
103
103
// Custom ones
104
- sProperties .put (AaltoInputProperties .P_RETAIN_GENERAL_ENTITIES , Integer .valueOf (F_RETAIN_GENERAL_ENTITIES ));
104
+ sProperties .put (AaltoInputProperties .P_RETAIN_ATTRIBUTE_GENERAL_ENTITIES , Integer .valueOf (F_RETAIN_ATTRIBUTE_GENERAL_ENTITIES ));
105
105
}
106
106
107
107
/**
@@ -283,8 +283,8 @@ public void doReportCData(boolean state) {
283
283
setFlag (F_REPORT_CDATA , state );
284
284
}
285
285
286
- public void doRetainGeneralEntities (boolean state ) {
287
- setFlag (F_RETAIN_GENERAL_ENTITIES , state );
286
+ public void doRetainAttributeGeneralEntities (boolean state ) {
287
+ setFlag (F_RETAIN_ATTRIBUTE_GENERAL_ENTITIES , state );
288
288
}
289
289
290
290
/*
@@ -421,7 +421,7 @@ public boolean willParseLazily() {
421
421
422
422
// // // Custom properties
423
423
424
- public boolean willRetainGeneralEntities () { return hasFlag (F_RETAIN_GENERAL_ENTITIES ); }
424
+ public boolean willRetainAttributeGeneralEntities () { return hasFlag (F_RETAIN_ATTRIBUTE_GENERAL_ENTITIES ); }
425
425
426
426
/*
427
427
/**********************************************************************
0 commit comments