Examples of evalXPath()


Examples of com.ximpleware.AutoPilot.evalXPath()

                    //QRcode
                    qrcode = new com.conf.Qrcode();
                    ap = getAp(vn, "/" + TAG_XML_MAIN + "/" + Qrcode.TAG_XML_QRCODE + "/*");
                    int r = 0;
                    while ((r = ap.evalXPath()) != -1) {

                        if (vn.toString(r).equals(Qrcode.TAG_XML_QRCODE_URL)) {
                            qrcode.setUrl(vn.toString(vn.getText()));
                        }

View Full Code Here

Examples of com.ximpleware.AutoPilot.evalXPath()

                    //Proxy
                    proxy = new com.conf.Proxy();
                    ap = getAp(vn, "/" + TAG_XML_MAIN + "/" + Proxy.TAG_XML_PROXY + "/*");

                    r = 0;
                    while ((r = ap.evalXPath()) != -1) {

                        if (vn.toString(r).equals(Proxy.TAG_XML_URL)) {
                            proxy.setUrl(vn.toString(vn.getText()));
                        }

View Full Code Here

Examples of com.ximpleware.AutoPilot.evalXPath()

                    //mail
                    mail = new com.conf.Mail();
                    ap = getAp(vn, "/" + TAG_XML_MAIN + "/" + Mail.TAG_XML_MAIL + "/*");
                    r = 0;
                    while ((r = ap.evalXPath()) != -1) {

                        if (vn.toString(r).equals(Mail.TAG_XML_MAIL_HOSTNAME)) {
                            mail.setHostname(vn.toString(vn.getText()));
                        }

View Full Code Here

Examples of com.ximpleware.AutoPilot.evalXPath()

                    //URL
                    url = new com.conf.Url();
                    ap = getAp(vn, "/" + TAG_XML_MAIN + "/" + TAG_XML_URL + "/*");
                    r = 0;
                    while ((r = ap.evalXPath()) != -1) {


                        if (vn.toString(r).equals(Url.TAG_XML_URL_BEST_BEFORE)) {
                            url.setBest_before(vn.toString(vn.getText()));
                        }
View Full Code Here

Examples of com.ximpleware.AutoPilot.evalXPath()

                    if (this.cron_job == null) {
                        this.cron_job = new ArrayList<Map<String, Object>>();
                    }

                    //scorro i job
                    while ((r = ap.evalXPath()) != -1) {

                        cron_map = new HashMap<String, Object>();

                        //entro nel job
                        VTDNav vnjob = vn.cloneNav();
View Full Code Here

Examples of com.ximpleware.AutoPilot.evalXPath()

            vn.toElement(VTDNav.ROOT);
            vn.matchElement(TAG_XML_MAIN);
            AutoPilot ap = new AutoPilot(vn);
            ap.selectXPath(xpath);
            int r = 0;
            while ((r = ap.evalXPath()) != -1) {
                if (vn.toString(r).equals(Log.TAG_XML_LOG_FILENAME)) {
                    l.setFilename(vn.toString(vn.getText()));
                }
                 if (vn.toString(r).equals(Log.TAG_XML_LOG_PATH)) {
                    l.setPath(vn.toString(vn.getText()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.