Package org.milyn.delivery

Examples of org.milyn.delivery.Fragment


        } else {
            propertyName = DomUtils.getName(element);
        }

        if(expressionEvaluator != null) {
            bindExpressionValue(propertyName, dataString, executionContext, new Fragment(element));
        } else {
          decodeAndSetPropertyValue(propertyName, dataString, executionContext, new Fragment(element));
        }
    }
View Full Code Here


              dataString = element.getTextContent();
          }
        }

        if(expressionEvaluator != null) {
            bindExpressionValue(propertyName, dataString, executionContext, new Fragment(element));
        } else {
            decodeAndSetPropertyValue(propertyName, dataString, executionContext, new Fragment(element));
        }
    }
View Full Code Here

        }
     
      // Now add a dynamic visitor...
        DynamicSAXElementVisitorList.addDynamicVisitor(serializer, executionContext);

        notifyStartBean(new Fragment(saxElement), executionContext);
    }
View Full Code Here

  public void visitAfter(SAXElement saxElement, ExecutionContext executionContext) throws SmooksException, IOException {
      Map<String, SAXSerializer> fragmentSerializers = (Map<String, SAXSerializer>) executionContext.getAttribute(FragmentSerializer.class);
      SAXSerializer serializer = fragmentSerializers.get(bindTo);

      try {
        executionContext.getBeanContext().addBean(bindTo, serializer.fragmentWriter.toString().trim(), new Fragment(saxElement));
      } finally {
            DynamicSAXElementVisitorList.removeDynamicVisitor(serializer, executionContext);
      }
    }
View Full Code Here

            DynamicSAXElementVisitorList.removeDynamicVisitor(serializer, executionContext);
      }
    }

    public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException {
        notifyStartBean(new Fragment(element), executionContext);
    }
View Full Code Here

        if(!omitXMLDeclaration) {
          serializedFragment = "<?xml version=\"1.0\"?>\n" + serializedFragment;
        }

        executionContext.getBeanContext().addBean(bindTo, serializedFragment, new Fragment(element));
  }
View Full Code Here

        return false;
    }

    public void visitBefore(SAXElement saxElement, ExecutionContext executionContext) throws SmooksException, IOException {
            executeSQL(executionContext, new Fragment(saxElement));
        }
View Full Code Here

    public void visitBefore(SAXElement saxElement, ExecutionContext executionContext) throws SmooksException, IOException {
            executeSQL(executionContext, new Fragment(saxElement));
        }

    public void visitAfter(SAXElement saxElement, ExecutionContext executionContext) throws SmooksException, IOException {
            executeSQL(executionContext, new Fragment(saxElement));
        }
View Full Code Here

    public void visitAfter(SAXElement saxElement, ExecutionContext executionContext) throws SmooksException, IOException {
            executeSQL(executionContext, new Fragment(saxElement));
        }

    public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException {
            executeSQL(executionContext, new Fragment(element));
        }
View Full Code Here

    public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException {
            executeSQL(executionContext, new Fragment(element));
        }

    public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException {
            executeSQL(executionContext, new Fragment(element));
        }
View Full Code Here

TOP

Related Classes of org.milyn.delivery.Fragment

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.