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, warningpublic RootElementSniffer(boolean parseAttributes)
public RootElementSniffer()
public void startElement(String uri, String localName, String qName, Attributes a) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic String getNsUri()
public String getLocalName()
public Attributes getAttributes()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.