org.jvnet.wom.impl.parser.handler
Class Input

java.lang.Object
  extended by org.jvnet.wom.impl.parser.handler.AbstractHandler
      extended by org.jvnet.wom.impl.parser.handler.Input
All Implemented Interfaces:
WSDLEventReceiver

public class Input
extends AbstractHandler

Author:
Vivek Pandey

Field Summary
 
Fields inherited from class org.jvnet.wom.impl.parser.handler.AbstractHandler
_cookie, _parent, _source, handlers, WSDL_NS
 
Constructor Summary
  Input(AbstractHandler parent, WSDLEventSource source, WSDLContentHandlerEx runtime, int cookie, java.lang.String expectedNamespace)
           
protected Input(WSDLEventSource source, AbstractHandler parent, int parentCookie)
           
 
Method Summary
 void enterElement(java.lang.String uri, java.lang.String localName, java.lang.String qname, org.xml.sax.Attributes atts)
           
protected  WSDLContentHandlerEx getRuntime()
          This method will be implemented by the generated code and returns a reference to the current runtime.
 void leaveElement(java.lang.String uri, java.lang.String localName, java.lang.String qname)
           
protected  void onChildCompleted(java.lang.Object result, int cookie, boolean needAttCheck)
          Notifies the completion of a child object.
 
Methods inherited from class org.jvnet.wom.impl.parser.handler.AbstractHandler
enterAttribute, getWSDLDocumentation, leaveAttribute, revertToParentFromEnterAttribute, revertToParentFromEnterElement, revertToParentFromLeaveAttribute, revertToParentFromLeaveElement, revertToParentFromText, spawnChildFromEnterAttribute, spawnChildFromEnterElement, spawnChildFromLeaveAttribute, spawnChildFromLeaveElement, spawnChildFromText, text, unexpectedEnterAttribute, unexpectedEnterElement, unexpectedLeaveAttribute, unexpectedLeaveElement, validateAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Input

protected Input(WSDLEventSource source,
                AbstractHandler parent,
                int parentCookie)

Input

public Input(AbstractHandler parent,
             WSDLEventSource source,
             WSDLContentHandlerEx runtime,
             int cookie,
             java.lang.String expectedNamespace)
Method Detail

getRuntime

protected WSDLContentHandlerEx getRuntime()
Description copied from class: AbstractHandler
This method will be implemented by the generated code and returns a reference to the current runtime.

Specified by:
getRuntime in class AbstractHandler

onChildCompleted

protected void onChildCompleted(java.lang.Object result,
                                int cookie,
                                boolean needAttCheck)
                         throws org.xml.sax.SAXException
Description copied from class: AbstractHandler
Notifies the completion of a child object.

Specified by:
onChildCompleted in class AbstractHandler
Parameters:
result - The parsing result of the child state.
cookie - The cookie value passed to the child object when it is created.
needAttCheck - This flag is true when the callee needs to call the processAttribute method to check attribute transitions. This flag is set to false when this method is triggered by attribute transition.
Throws:
org.xml.sax.SAXException

enterElement

public void enterElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qname,
                         org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Specified by:
enterElement in interface WSDLEventReceiver
Overrides:
enterElement in class AbstractHandler
Throws:
org.xml.sax.SAXException

leaveElement

public void leaveElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qname)
                  throws org.xml.sax.SAXException
Specified by:
leaveElement in interface WSDLEventReceiver
Overrides:
leaveElement in class AbstractHandler
Throws:
org.xml.sax.SAXException


Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved.