public virtual XFormParser getXFormParser(Document form, Document instance) { XFormParser parser = new XFormParser(form, instance); init(parser); return(parser); }
//UPGRADE_ISSUE: Class hierarchy differences between 'java.io.Reader' and 'System.IO.StreamReader' may cause compilation errors. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1186'" public virtual XFormParser getXFormParser(System.IO.StreamReader form, System.IO.StreamReader instance) { XFormParser parser = new XFormParser(form, instance); init(parser); return(parser); }
public virtual XFormParser getXFormParser(Document doc) { XFormParser parser = new XFormParser(doc); init(parser); return(parser); }
private void init(XFormParser parser) { if (stringCache != null) { parser.setStringCache(stringCache); } }
//UPGRADE_ISSUE: Class hierarchy differences between 'java.io.Reader' and 'System.IO.StreamReader' may cause compilation errors. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1186'" public virtual XFormParser getXFormParser(System.IO.StreamReader reader) { XFormParser parser = new XFormParser(reader); init(parser); return(parser); }
public static String unusedAttWarning(XmlElement e, ArrayList usedAtts) { String warning = "Warning: "; ArrayList ua = getUnusedAttributes(e, usedAtts); warning += ua.Count + " Unrecognized attributes found in Element [" + e.Name + "] and will be ignored: "; warning += "["; for (int i = 0; i < ua.Count; i++) { warning += ua[i]; if (i != ua.Count - 1) { warning += ","; } } warning += "] "; warning += "Location:\n" + XFormParser.getVagueLocation(e); return(warning); }
public FormInstance parseRestore(byte[] data, Type restorableType) { return(XFormParser.restoreDataModel(data, restorableType)); }
public IAnswerData parseData(String textVal, int dataType, TreeReference ref_, FormDef f) { return(XFormAnswerDataParser.getAnswerData(textVal, dataType, XFormParser.ghettoGetQuestionDef(dataType, f, ref_))); }