Esri Geoportal Server
1.0

com.esri.gpt.framework.xml
Class SaxUtil

java.lang.Object
  extended by com.esri.gpt.framework.xml.SaxUtil

public class SaxUtil
extends Object

XML SAX utility functions.


Method Summary
static void parse(DefaultHandler handler, String xml, boolean namespaceAware)
          Starts a SAX parser on an XML string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static void parse(DefaultHandler handler,
                         String xml,
                         boolean namespaceAware)
                  throws ParserConfigurationException,
                         SAXException,
                         IOException
Starts a SAX parser on an XML string.

Parameters:
handler - the default handler
xml - the XML string to parse
namespaceAware - flag indication if the parser should be namespace aware
Throws:
ParserConfigurationException - if the exception occurs
SAXException - if the exception occurs
IOException - if the exception occurs

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.