Package org.opendope.xpaths.Xpaths.Xpath

Examples of org.opendope.xpaths.Xpaths.Xpath.DataBinding


   
    // XPath
    Xpaths.Xpath xp = new org.opendope.xpaths.ObjectFactory().createXpathsXpath();
    xp.setId(key);
    xp.setQuestionID(key);
    DataBinding db = new org.opendope.xpaths.ObjectFactory().createXpathsXpathDataBinding();
    db.setXpath("/oda:answers/oda:answer[@id='" + key +"']");
    db.setPrefixMappings("xmlns:oda='http://opendope.org/answers'");
    db.setStoreItemID(storeItemID);
    xp.setDataBinding(db);
    xPathsPart.getJaxbElement().getXpath().add(xp);
   
    // question
    Question q = new Question();
View Full Code Here

TOP

Related Classes of org.opendope.xpaths.Xpaths.Xpath.DataBinding

Copyright © 2018 www.massapicom. 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.