org.kuali.rice.kew.xml
Class StyleXmlParser
java.lang.Object
org.kuali.rice.kew.xml.StyleXmlParser
public class StyleXmlParser
- extends Object
Parser for Style content type, managed by StyleService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.log4j.Logger LOG
DOCUMENT_BUILDER
private static ThreadLocal DOCUMENT_BUILDER
StyleXmlParser
public StyleXmlParser()
getDocumentBuilder
private static DocumentBuilder getDocumentBuilder()
- Returns a valid DocumentBuilder
- Returns:
- a valid DocumentBuilder
loadXml
public static void loadXml(StyleService styleService,
InputStream inputStream,
String principalId)
generateException
private static WorkflowServiceErrorException generateException(String error,
Throwable cause)
parseStyle
private static EDocLiteStyle parseStyle(Element e)
- Parses an EDocLiteStyle
- Parameters:
e
- element to parse
- Returns:
- an EDocLiteStyle
generateMissingAttribException
private static WorkflowServiceErrorException generateMissingAttribException(String element,
String attrib)
generateMissingChildException
private static WorkflowServiceErrorException generateMissingChildException(String element,
String child)
generateSerializationException
private static WorkflowServiceErrorException generateSerializationException(String element,
TransformerException cause)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.