private static XML10Names inititailizeXML10Names() { return new XML10Names((Reader) null); }
private static int [] zzUnpackAction() { int [] result = new int[7]; int offset = 0; offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result); return result; }
private static int [] zzUnpackAttribute() { int [] result = new int[7]; int offset = 0; offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result); return result; }
public boolean isValidXML10Name(String stringToCheck) { boolean result = false; yyreset(new java.io.StringReader(stringToCheck)); try { result = isValidXML10Name(); } catch (java.io.IOException e) { // should be impossible with strings, but if occurs, just means // "not" result = false; } return result; }
boolean eof = zzRefill(); zzScanError(ZZ_NO_MATCH);
private static int [] zzUnpackRowMap() { int [] result = new int[7]; int offset = 0; offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result); return result; }
/** * Returns true if <code>name</code> is valid XML name according to XML * 1.0 rules, false otherwise. * * @param name * name is the string to test * @return true if valid name according to XML 1.0 rules, false otherwise. */ public synchronized static final boolean isValid(String name) { if (xml10charChecker == null) { xml10charChecker = inititailizeXML10Names(); } return xml10charChecker.isValidXML10Name(name); }