Package org.kuali.rice.kew.xml
Class DocumentTypeXmlParser
java.lang.Object
org.kuali.rice.kew.xml.DocumentTypeXmlParser
A parser for parsing an XML file into
DocumentTypes.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateNewDocumentTypeFromExisting(String documentTypeName) protected org.kuali.rice.kim.api.group.GroupServiceprotected XPathgetXPath()parseDocumentTypes(InputStream input)
-
Constructor Details
-
DocumentTypeXmlParser
public DocumentTypeXmlParser()
-
-
Method Details
-
getXPath
-
parseDocumentTypes
public List<DocumentType> parseDocumentTypes(InputStream input) throws SAXException, IOException, ParserConfigurationException, XPathExpressionException, org.kuali.rice.kew.api.exception.WorkflowException, org.kuali.rice.krad.exception.GroupNotFoundException - Throws:
SAXExceptionIOExceptionParserConfigurationExceptionXPathExpressionExceptionorg.kuali.rice.kew.api.exception.WorkflowExceptionorg.kuali.rice.krad.exception.GroupNotFoundException
-
generateNewDocumentTypeFromExisting
public DocumentType generateNewDocumentTypeFromExisting(String documentTypeName) throws SAXException, IOException, ParserConfigurationException, XPathExpressionException, org.kuali.rice.krad.exception.GroupNotFoundException, org.kuali.rice.kew.api.exception.WorkflowException - Throws:
SAXExceptionIOExceptionParserConfigurationExceptionXPathExpressionExceptionorg.kuali.rice.krad.exception.GroupNotFoundExceptionorg.kuali.rice.kew.api.exception.WorkflowException
-
getGroupService
protected org.kuali.rice.kim.api.group.GroupService getGroupService()
-