public final class RootElementSniffer extends DefaultHandler
Constructor and Description |
---|
RootElementSniffer() |
RootElementSniffer(boolean parseAttributes) |
Modifier and Type | Method and Description |
---|---|
Attributes |
getAttributes() |
String |
getLocalName() |
String |
getNsUri() |
void |
startElement(String uri,
String localName,
String qName,
Attributes a) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public RootElementSniffer(boolean parseAttributes)
public RootElementSniffer()
public void startElement(String uri, String localName, String qName, Attributes a) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public String getNsUri()
public String getLocalName()
public Attributes getAttributes()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.