public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) return; // check and update body-related constraints if (bodyIllegal) fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); }
public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) return; // check and update body-related constraints if (bodyIllegal) fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); }
public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) return; // check and update body-related constraints if (bodyIllegal) fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); }
public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) return; // check and update body-related constraints if (bodyIllegal) fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); }
public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) return; // check and update body-related constraints if (bodyIllegal) fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); }
public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) return; // check and update body-related constraints if (bodyIllegal) fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); }
@Override public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) { return; } // check and update body-related constraints if (bodyIllegal) { fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); } }
@Override public void characters(char[] ch, int start, int length) { bodyNecessary = false; // body is no longer necessary! // ignore strings that are just whitespace String s = new String(ch, start, length).trim(); if (s.equals("")) { return; } // check and update body-related constraints if (bodyIllegal) { fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); } }
public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) return; // handle body-related invariant if (bodyNecessary) fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) return; // handle body-related invariant if (bodyNecessary) fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) return; // handle body-related invariant if (bodyNecessary) fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) return; // handle body-related invariant if (bodyNecessary) fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) return; // handle body-related invariant if (bodyNecessary) fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) return; // handle body-related invariant if (bodyNecessary) fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
@Override public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) { return; } // handle body-related invariant if (bodyNecessary) { fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); } bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
@Override public void endElement(String ns, String ln, String qn) { // consistently, we ignore JSP_TEXT if (qn.equals(JSP_TEXT)) { return; } // handle body-related invariant if (bodyNecessary) { fail(Resources.getMessage("TLV_MISSING_BODY", lastElementName)); } bodyIllegal = false; // reset: we've left the tag // update <query>-related state if (isSqlTag(ns, ln, QUERY)) { queryDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, UPDATE)) { updateDepths.pop(); } // update <update>-related state if (isSqlTag(ns, ln, TRANSACTION)) { transactionDepths.pop(); } // update our depth depth--; } }
fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); a.getValue(i)); if (vMsg != null) fail(vMsg); fail(Resources.getMessage("TLV_INVALID_ATTRIBUTE", SCOPE, qn, a.getValue(SCOPE))); if (qn.startsWith(prefix + ":") && hasEmptyVar(a)) fail(Resources.getMessage("TLV_EMPTY_VAR", qn)); if (qn.startsWith(prefix + ":") && hasDanglingScope(a) && !qn.startsWith(prefix + ":" + SETDATASOURCE)) fail(Resources.getMessage("TLV_DANGLING_SCOPE", qn)); fail(Resources.getMessage("SQL_PARAM_OUTSIDE_PARENT")); fail(Resources.getMessage("ERROR_NESTED_DATASOURCE"));
fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); a.getValue(i)); if (vMsg != null) fail(vMsg); fail(Resources.getMessage("TLV_INVALID_ATTRIBUTE", SCOPE, qn, a.getValue(SCOPE))); if (qn.startsWith(prefix + ":") && hasEmptyVar(a)) fail(Resources.getMessage("TLV_EMPTY_VAR", qn)); if (qn.startsWith(prefix + ":") && hasDanglingScope(a) && !qn.startsWith(prefix + ":" + SETDATASOURCE)) fail(Resources.getMessage("TLV_DANGLING_SCOPE", qn)); fail(Resources.getMessage("SQL_PARAM_OUTSIDE_PARENT")); fail(Resources.getMessage("ERROR_NESTED_DATASOURCE"));
fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); a.getValue(i)); if (vMsg != null) fail(vMsg); fail(Resources.getMessage("TLV_INVALID_ATTRIBUTE", SCOPE, qn, a.getValue(SCOPE))); if (qn.startsWith(prefix + ":") && hasEmptyVar(a)) fail(Resources.getMessage("TLV_EMPTY_VAR", qn)); if (qn.startsWith(prefix + ":") && hasDanglingScope(a) && !qn.startsWith(prefix + ":" + SETDATASOURCE)) fail(Resources.getMessage("TLV_DANGLING_SCOPE", qn)); fail(Resources.getMessage("SQL_PARAM_OUTSIDE_PARENT")); fail(Resources.getMessage("ERROR_NESTED_DATASOURCE"));
fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName)); a.getValue(i)); if (vMsg != null) fail(vMsg); fail(Resources.getMessage("TLV_INVALID_ATTRIBUTE", SCOPE, qn, a.getValue(SCOPE))); if (qn.startsWith(prefix + ":") && hasEmptyVar(a)) fail(Resources.getMessage("TLV_EMPTY_VAR", qn)); if (qn.startsWith(prefix + ":") && hasDanglingScope(a) && !qn.startsWith(prefix + ":" + SETDATASOURCE)) fail(Resources.getMessage("TLV_DANGLING_SCOPE", qn)); fail(Resources.getMessage("SQL_PARAM_OUTSIDE_PARENT")); fail(Resources.getMessage("ERROR_NESTED_DATASOURCE"));