org.milyn.container.ExecutionContext.getAttributes()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中org.milyn.container.ExecutionContext.getAttributes()方法的一些代码示例,展示了ExecutionContext.getAttributes()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExecutionContext.getAttributes()方法的具体详情如下:
包路径:org.milyn.container.ExecutionContext
类名称:ExecutionContext
方法名:getAttributes

ExecutionContext.getAttributes介绍

暂无

代码示例

代码示例来源:origin: org.milyn/milyn-smooks-all

/**
 * Creates a multi line JSON like string for the execution context
 *
 * @param executionContext The ExecutionContext
 * @return The String representation
 */
public static String toString(ExecutionContext executionContext) {
  Stack<Object> stack = new Stack<Object>();
  stack.push(executionContext);
  StringBuilder builder = new StringBuilder();
  builder.append("BeanContext : ");
  builder.append(toString(executionContext.getBeanContext().getBeanMap(), stack, new ArrayList<String>()));
  builder.append(NL);
  builder.append(NL);
  builder.append("Attributes : ");
  builder.append(toString(executionContext.getAttributes(), stack, EXECUTION_CONTEXT_FILTER_LIST));
  return builder.toString();
}

代码示例来源:origin: smooks/smooks

/**
 * Creates a multi line JSON like string for the execution context
 *
 * @param executionContext The ExecutionContext
 * @return The String representation
 */
public static String toString(ExecutionContext executionContext) {
  Stack<Object> stack = new Stack<Object>();
  stack.push(executionContext);
  StringBuilder builder = new StringBuilder();
  builder.append("BeanContext : ");
  builder.append(toString(executionContext.getBeanContext().getBeanMap(), stack, new ArrayList<String>()));
  builder.append(NL);
  builder.append(NL);
  builder.append("Attributes : ");
  builder.append(toString(executionContext.getAttributes(), stack, EXECUTION_CONTEXT_FILTER_LIST));
  return builder.toString();
}

代码示例来源:origin: org.milyn/milyn-smooks-core

/**
 * Creates a multi line JSON like string for the execution context
 *
 * @param executionContext The ExecutionContext
 * @return The String representation
 */
public static String toString(ExecutionContext executionContext) {
  Stack<Object> stack = new Stack<Object>();
  stack.push(executionContext);
  StringBuilder builder = new StringBuilder();
  builder.append("BeanContext : ");
  builder.append(toString(executionContext.getBeanContext().getBeanMap(), stack, new ArrayList<String>()));
  builder.append(NL);
  builder.append(NL);
  builder.append("Attributes : ");
  builder.append(toString(executionContext.getAttributes(), stack, EXECUTION_CONTEXT_FILTER_LIST));
  return builder.toString();
}

代码示例来源:origin: org.virtuslab/milyn-smooks-core

/**
 * Creates a multi line JSON like string for the execution context
 *
 * @param executionContext The ExecutionContext
 * @return The String representation
 */
public static String toString(ExecutionContext executionContext) {
  Stack<Object> stack = new Stack<Object>();
  stack.push(executionContext);
  StringBuilder builder = new StringBuilder();
  builder.append("BeanContext : ");
  builder.append(toString(executionContext.getBeanContext().getBeanMap(), stack, new ArrayList<String>()));
  builder.append(NL);
  builder.append(NL);
  builder.append("Attributes : ");
  builder.append(toString(executionContext.getAttributes(), stack, EXECUTION_CONTEXT_FILTER_LIST));
  return builder.toString();
}

相关文章