本文整理了Java中org.milyn.container.ExecutionContext.getAttributes()
方法的一些代码示例,展示了ExecutionContext.getAttributes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExecutionContext.getAttributes()
方法的具体详情如下:
包路径:org.milyn.container.ExecutionContext
类名称: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();
}
内容来源于网络,如有侵权,请联系作者删除!