org.ow2.jonas.generators.wsgen.finder
Class ServiceRefFinder
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.ow2.jonas.generators.wsgen.finder.ServiceRefFinder
- All Implemented Interfaces:
- J2EEWebServicesFinder, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class ServiceRefFinder
- extends DefaultHandler
- implements J2EEWebServicesFinder
Specialized Finder for XML files.
If one contains some service-ref elements, it will be marked has WS enabled.
- Author:
- Guillaume Sauthier
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceRefFinder
public ServiceRefFinder()
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
- See Also:
DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
find
public boolean find()
- Specified by:
find
in interface J2EEWebServicesFinder
- Returns:
- Returns
true
if webservices have been found. - See Also:
J2EEWebServicesFinder.find()
Copyright © 2010 OW2 Consortium. All Rights Reserved.