org.jbpm.jpdl.xml
Class JpdlParser

java.lang.Object
  extended by org.jbpm.jpdl.xml.JpdlParser
All Implemented Interfaces:
Serializable

public class JpdlParser
extends Object
implements Serializable

This helper class wraps the processing of XML schema documents to aid JpdlXmlReader in validation.

Author:
Tom Baeyens, Jim Rigsbee
See Also:
Serialized Form

Method Summary
static void addSchemaResource(String resourceName)
           
static org.dom4j.io.SAXReader createSaxReader(ProblemListener problemListener)
           
static XMLReader createXmlReader()
           
static org.dom4j.Document parse(InputSource inputSource, ProblemListener problemListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static org.dom4j.Document parse(InputSource inputSource,
                                       ProblemListener problemListener)
                                throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

createSaxReader

public static org.dom4j.io.SAXReader createSaxReader(ProblemListener problemListener)
                                              throws SAXException
Throws:
SAXException

createXmlReader

public static XMLReader createXmlReader()
                                 throws SAXException
Throws:
SAXException

addSchemaResource

public static void addSchemaResource(String resourceName)


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.