/** * 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); } }
/** * 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); } }