/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth, 0); }
verifyLimit("Maximum entity expansion depth", mConfig.getMaxEntityDepth(), entityDepth); mInput = newInput; mInput.initInputLocation(this, mCurrDepth, entityDepth);
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth, 0); }
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth); }
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth, 0); }
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth); }
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth); }
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth, 0); }
/** * Constructor used for reading external subset. */ private FullDTDReader(WstxInputSource input, ReaderConfig cfg, DTDSubset intSubset, boolean constructFully, int xmlVersion) { this(input, cfg, true, intSubset, constructFully, xmlVersion); // Let's make sure line/col offsets are correct... input.initInputLocation(this, mCurrDepth, 0); }
/** * Method called when an entity has been expanded (new input source * has been created). Needs to initialize location information and change * active input source. */ protected void initInputSource(WstxInputSource newInput, boolean isExt) throws IOException, XMLStreamException { mInput = newInput; // Let's make sure new input will be read next time input is needed: mInputPtr = 0; mInputLen = 0; /* Plus, reset the input location so that'll be accurate for * error reporting etc. */ mInputTopDepth = mCurrDepth; mInput.initInputLocation(this, mCurrDepth); /* 21-Feb-2006, TSa: Linefeeds are NOT normalized when expanding * internal entities (XML, 2.11) */ if (isExt) { mCfgNormalizeLFs = mConfig.willNormalizeLFs(); } else { mCfgNormalizeLFs = false; } }
/** * Method called when an entity has been expanded (new input source * has been created). Needs to initialize location information and change * active input source. */ protected void initInputSource(WstxInputSource newInput, boolean isExt) throws IOException, XMLStreamException { mInput = newInput; // Let's make sure new input will be read next time input is needed: mInputPtr = 0; mInputLen = 0; /* Plus, reset the input location so that'll be accurate for * error reporting etc. */ mInputTopDepth = mCurrDepth; mInput.initInputLocation(this, mCurrDepth); /* 21-Feb-2006, TSa: Linefeeds are NOT normalized when expanding * internal entities (XML, 2.11) */ if (isExt) { mCfgNormalizeLFs = mConfig.willNormalizeLFs(); } else { mCfgNormalizeLFs = false; } }
/** * Method called when an entity has been expanded (new input source * has been created). Needs to initialize location information and change * active input source. */ protected void initInputSource(WstxInputSource newInput, boolean isExt) throws IOException, XMLStreamException { mInput = newInput; // Let's make sure new input will be read next time input is needed: mInputPtr = 0; mInputLen = 0; /* Plus, reset the input location so that'll be accurate for * error reporting etc. */ mInputTopDepth = mCurrDepth; mInput.initInputLocation(this, mCurrDepth); /* 21-Feb-2006, TSa: Linefeeds are NOT normalized when expanding * internal entities (XML, 2.11) */ if (isExt) { mCfgNormalizeLFs = mConfig.willNormalizeLFs(); } else { mCfgNormalizeLFs = false; } }
verifyLimit("Maximum entity expansion depth", mConfig.getMaxEntityDepth(), entityDepth); mInput = newInput; mInput.initInputLocation(this, mCurrDepth, entityDepth);
verifyLimit("Maximum entity expansion depth", mConfig.getMaxEntityDepth(), entityDepth); mInput = newInput; mInput.initInputLocation(this, mCurrDepth, entityDepth);
verifyLimit("Maximum entity expansion depth", mConfig.getMaxEntityDepth(), entityDepth); mInput = newInput; mInput.initInputLocation(this, mCurrDepth, entityDepth);
verifyLimit("Maximum entity expansion depth", mConfig.getMaxEntityDepth(), entityDepth); mInput = newInput; mInput.initInputLocation(this, mCurrDepth, entityDepth);
verifyLimit("Maximum entity expansion depth", mConfig.getMaxEntityDepth(), entityDepth); mInput = newInput; mInput.initInputLocation(this, mCurrDepth, entityDepth);