while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str);
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLStreamException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str);
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLValidationException { String normStr = validateDefaultNames(rep, true); if (normalize) { mDefValue.setValue(normStr); } // Ok, but were they declared? /* Performance really shouldn't be critical here (only called when * parsing DTDs, which get cached) -- let's just * tokenize using standard StringTokenizer */ StringTokenizer st = new StringTokenizer(normStr); /* !!! 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ MinimalDTDReader dtdr = (MinimalDTDReader) rep; while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str); // Needs to exists, and be an unparsed entity... checkEntity(rep, normStr, ent); } }
while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str);
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLValidationException { String normStr = validateDefaultNames(rep, true); if (normalize) { mDefValue.setValue(normStr); } // Ok, but were they declared? /* Performance really shouldn't be critical here (only called when * parsing DTDs, which get cached) -- let's just * tokenize using standard StringTokenizer */ StringTokenizer st = new StringTokenizer(normStr); /* !!! 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ MinimalDTDReader dtdr = (MinimalDTDReader) rep; while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str); // Needs to exists, and be an unparsed entity... checkEntity(rep, normStr, ent); } }
while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str);
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLValidationException { String normStr = validateDefaultNames(rep, true); if (normalize) { mDefValue.setValue(normStr); } // Ok, but were they declared? /* Performance really shouldn't be critical here (only called when * parsing DTDs, which get cached) -- let's just * tokenize using standard StringTokenizer */ StringTokenizer st = new StringTokenizer(normStr); /* !!! 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ MinimalDTDReader dtdr = (MinimalDTDReader) rep; while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str); // Needs to exists, and be an unparsed entity... checkEntity(rep, normStr, ent); } }
while (st.hasMoreTokens()) { String str = st.nextToken(); EntityDecl ent = dtdr.findEntity(str);
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLValidationException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ @Override public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLStreamException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLValidationException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLStreamException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLValidationException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ @Override public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLStreamException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }
/** * Method called by the validator object * to ask attribute to verify that the default it has (if any) is * valid for such type. */ @Override public void validateDefault(InputProblemReporter rep, boolean normalize) throws XMLStreamException { String normStr = validateDefaultName(rep, normalize); if (normalize) { mDefValue.setValue(normStr); } // Ok, but was it declared? /* 03-Dec-2004, TSa: This is rather ugly -- need to know we * actually really get a DTD reader, and DTD reader needs * to expose a special method... but it gets things done. */ EntityDecl ent = ((MinimalDTDReader) rep).findEntity(normStr); checkEntity(rep, normStr, ent); } }