|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.codehaus.groovy.sandbox.util.XmlSlurper
Constructor Summary | |
XmlSlurper()
|
|
XmlSlurper(boolean validating,
boolean namespaceAware)
|
|
XmlSlurper(SAXParser parser)
|
|
XmlSlurper(XMLReader reader)
|
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
|
void |
endElement(String namespaceURI,
String localName,
String qName)
|
org.codehaus.groovy.sandbox.util.XmlList |
parse(File file)
Parses the content of the given file as XML turning it into a List |
org.codehaus.groovy.sandbox.util.XmlList |
parse(InputSource input)
Parse the content of the specified input source into a List |
org.codehaus.groovy.sandbox.util.XmlList |
parse(InputStream input)
Parse the content of the specified input stream into a List. |
org.codehaus.groovy.sandbox.util.XmlList |
parse(Reader in)
Parse the content of the specified reader into a List. |
org.codehaus.groovy.sandbox.util.XmlList |
parse(String uri)
Parse the content of the specified URI into a List |
org.codehaus.groovy.sandbox.util.XmlList |
parseText(String text)
A helper method to parse the given text as XML |
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlSlurper() throws ParserConfigurationException, SAXException
public XmlSlurper(boolean validating, boolean namespaceAware) throws ParserConfigurationException, SAXException
public XmlSlurper(XMLReader reader)
public XmlSlurper(SAXParser parser) throws SAXException
Method Detail |
public org.codehaus.groovy.sandbox.util.XmlList parse(InputSource input) throws IOException, SAXException
IOException
SAXException
public org.codehaus.groovy.sandbox.util.XmlList parse(File file) throws IOException, SAXException
IOException
SAXException
public org.codehaus.groovy.sandbox.util.XmlList parse(InputStream input) throws IOException, SAXException
IOException
SAXException
public org.codehaus.groovy.sandbox.util.XmlList parse(Reader in) throws IOException, SAXException
IOException
SAXException
public org.codehaus.groovy.sandbox.util.XmlList parse(String uri) throws IOException, SAXException
IOException
SAXException
public org.codehaus.groovy.sandbox.util.XmlList parseText(String text) throws IOException, SAXException
text
-
IOException
SAXException
public void startDocument() throws SAXException
SAXException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
SAXException
public void endDocument() throws SAXException
SAXException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |