org.kuali.rice.kew.rule
Class GenericAttributeContent

java.lang.Object
  extended by org.kuali.rice.kew.rule.GenericAttributeContent

public class GenericAttributeContent
extends Object

Helper class that can parse and generate generic attribute content from Map values.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  XPathExpression attr_expr
           
private  String elementName
           
private static XPathExpression FIELD_EXPR
           
private  org.apache.log4j.Logger log
           
private static XPathExpression NAME_EXPR
           
private static XPathExpression VALUE_EXPR
           
 
Constructor Summary
GenericAttributeContent(Class clazz)
           
GenericAttributeContent(String elementName)
           
 
Method Summary
 String generateContent(Map<String,String> properties)
           
 List<Map<String,String>> parseContent(Element attributeContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_EXPR

private static final XPathExpression NAME_EXPR

VALUE_EXPR

private static final XPathExpression VALUE_EXPR

FIELD_EXPR

private static final XPathExpression FIELD_EXPR

log

private final org.apache.log4j.Logger log

elementName

private final String elementName

attr_expr

private final XPathExpression attr_expr
Constructor Detail

GenericAttributeContent

public GenericAttributeContent(Class clazz)

GenericAttributeContent

public GenericAttributeContent(String elementName)
Method Detail

generateContent

public String generateContent(Map<String,String> properties)

parseContent

public List<Map<String,String>> parseContent(Element attributeContent)
                                      throws XPathExpressionException
Throws:
XPathExpressionException


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.