public void checkRequiredAttribute(String element, String name, Object value) { if (value == null) { addError(IStatus.WARNING, NLS.bind(Messages.XMLParser_Missing_Required_Attribute, element, name), null); } }
public void checkRequiredAttribute(String element, String name, Object value) { if (value == null) { addError(IStatus.WARNING, NLS.bind(Messages.XMLParser_Missing_Required_Attribute, element, name), null); } }
public void fatalError(SAXParseException ex) { addError(IStatus.ERROR, ex.getMessage(), ex); }
public void fatalError(SAXParseException ex) { addError(IStatus.ERROR, ex.getMessage(), ex); }
public void error(SAXParseException ex) { addError(IStatus.WARNING, ex.getMessage(), ex); }
public void error(SAXParseException ex) { addError(IStatus.WARNING, ex.getMessage(), ex); }
public void invalidAttributeValue(String element, String attribute, String value, Throwable exception) { addError(IStatus.WARNING, NLS.bind(Messages.XMLParser_Illegal_Value_For_Attribute, new Object[] {attribute, element, value}), exception); }
public void invalidAttributeValue(String element, String attribute, String value, Throwable exception) { addError(IStatus.WARNING, NLS.bind(Messages.XMLParser_Illegal_Value_For_Attribute, new Object[] {attribute, element, value}), exception); }
public void duplicateElement(AbstractHandler handler, String element, Attributes attributes) { addError(IStatus.WARNING, NLS.bind(Messages.XMLParser_Duplicate_Element, new Object[] {handler.getName(), element, toString(attributes)}), null); //ignore the duplicate element entirely because we have already logged it new IgnoringHandler(handler); }
public void duplicateElement(AbstractHandler handler, String element, Attributes attributes) { addError(IStatus.WARNING, NLS.bind(Messages.XMLParser_Duplicate_Element, new Object[] {handler.getName(), element, toString(attributes)}), null); //ignore the duplicate element entirely because we have already logged it new IgnoringHandler(handler); }