org.jbpm.jpdl.internal.convert
Class Jpdl3ConverterParser

java.lang.Object
  extended by org.jbpm.jpdl.internal.convert.Jpdl3ConverterParser
All Implemented Interfaces:
java.io.Serializable

public class Jpdl3ConverterParser
extends java.lang.Object
implements java.io.Serializable

Validate an XML document using JAXP techniques and an XML Schema. This helper class wraps the processing of a schema to aid in schema validation throughout the product. orginal authors:

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

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

Constructor Detail

Jpdl3ConverterParser

public Jpdl3ConverterParser()
Method Detail

parse

public static org.dom4j.Document parse(org.xml.sax.InputSource inputSource,
                                       ProblemListener problemListener)
                                throws java.lang.Exception
Throws:
java.lang.Exception

createSaxReader

public static org.dom4j.io.SAXReader createSaxReader(ProblemListener problemListener)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

createXmlReader

public static org.xml.sax.XMLReader createXmlReader()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

addSchemaResource

public static void addSchemaResource(java.lang.String resource)


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