Examples of DOMFactory


Examples of org.apache.cocoon.util.jxpath.DOMFactory

               
                Node importedNode =
                    doc.importNode( insertDoc.getDocumentElement(), true );
               
                context.setLenient( true );
                context.setFactory( new DOMFactory() );
                context.createPathAndSetValue( this.xPath, importedNode );
            } else {
                // Otherwise just try to put a the input document in
                // the place pointed to by the xpath
                context.setValue( this.xPath, insertDoc );
View Full Code Here

Examples of org.apache.cocoon.util.jxpath.DOMFactory

        JXPathContext jxpc;
        if (!(objModel instanceof JXPathContext)) {
            jxpc = JXPathContext.newContext(objModel);
            jxpc.setLenient(true);
            if (objModel instanceof Node) {
                jxpc.setFactory(new DOMFactory());
            }
        } else {
            jxpc = (JXPathContext) objModel;
        }
        return jxpc;
View Full Code Here

Examples of org.jamesii.core.plugins.DomFactory

   *
   * @throws Exception
   *           the exception
   */
  private ParameterBlock createFactoryInfoAndParameters() throws Exception {
    DomFactory domFactory = new DomFactory();
    domFactory.setClassname(BestSimulatorInTheWorldFactory.class.getName());
    domFactory.setParameters(new ArrayList<IParameter>());

    asr.addNewFactoryManually(new BestSimulatorInTheWorldFactory(), domFactory);

    ParameterBlock parameters = new ParameterBlock();
    parameters.addSubBl(AbstractProcessorFactory.PARTITION, new Partition(
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.