protected XPathStringVal_StartsWith ( int j, String s ) : bool | ||
j | int | |
s | String | |
Результат | bool |
private bool startsWith(VTDNav vn) { String s2 = argumentList.next.e.evalString(vn); if (argumentList.e.NodeSet) { //boolean b = false; int a = evalFirstArgumentListNodeSet(vn); if (a == -1) return "".StartsWith(s2); else { try { int t = vn.getTokenType(a); if (t != VTDNav.TOKEN_STARTING_TAG && t != VTDNav.TOKEN_DOCUMENT) return vn.startsWith(a, s2); else return vn.XPathStringVal_StartsWith(a, s2); } catch (Exception e) { } return false; } } String s1 = argumentList.e.evalString(vn); return s1.StartsWith(s2); }