org.apache.ivy.util
Class XMLHelper

java.lang.Object
  extended by org.apache.ivy.util.XMLHelper

public abstract class XMLHelper
extends java.lang.Object


Constructor Summary
XMLHelper()
           
 
Method Summary
static boolean canUseSchemaValidation()
           
static void parse(java.io.InputStream xmlStream, java.net.URL schema, org.xml.sax.helpers.DefaultHandler handler, org.xml.sax.ext.LexicalHandler lHandler)
           
static void parse(java.net.URL xmlURL, java.net.URL schema, org.xml.sax.helpers.DefaultHandler handler)
           
static void parse(java.net.URL xmlURL, java.net.URL schema, org.xml.sax.helpers.DefaultHandler handler, org.xml.sax.ext.LexicalHandler lHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLHelper

public XMLHelper()
Method Detail

parse

public static void parse(java.net.URL xmlURL,
                         java.net.URL schema,
                         org.xml.sax.helpers.DefaultHandler handler)
                  throws org.xml.sax.SAXException,
                         java.io.IOException,
                         javax.xml.parsers.ParserConfigurationException
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException

parse

public static void parse(java.net.URL xmlURL,
                         java.net.URL schema,
                         org.xml.sax.helpers.DefaultHandler handler,
                         org.xml.sax.ext.LexicalHandler lHandler)
                  throws org.xml.sax.SAXException,
                         java.io.IOException,
                         javax.xml.parsers.ParserConfigurationException
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException

parse

public static void parse(java.io.InputStream xmlStream,
                         java.net.URL schema,
                         org.xml.sax.helpers.DefaultHandler handler,
                         org.xml.sax.ext.LexicalHandler lHandler)
                  throws org.xml.sax.SAXException,
                         java.io.IOException,
                         javax.xml.parsers.ParserConfigurationException
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException

canUseSchemaValidation

public static boolean canUseSchemaValidation()