com.eviware.soapui.impl.rest.panels.request.inspectors.schema
Class InferredSchemaInspector

java.lang.Object
  extended by com.eviware.soapui.support.editor.inspectors.AbstractXmlInspector
      extended by com.eviware.soapui.impl.rest.panels.request.inspectors.schema.InferredSchemaInspector
All Implemented Interfaces:
SubmitListener, Inspector, EditorInspector<XmlDocument>, EditorLocationListener<XmlDocument>, XmlInspector

public class InferredSchemaInspector
extends AbstractXmlInspector
implements SubmitListener

Author:
Dain.Nilsson

Nested Class Summary
 class InferredSchemaInspector.Handler
           
 
Field Summary
 
Fields inherited from interface com.eviware.soapui.support.components.Inspector
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
 
Constructor Summary
protected InferredSchemaInspector(RestRequest request)
           
 
Method Summary
 void afterSubmit(Submit submit, SubmitContext context)
          Called after submittal of a request
 boolean beforeSubmit(Submit submit, SubmitContext context)
          Called before submittal of a request
 javax.swing.JComponent getComponent()
           
 RestRequest getRequest()
           
 boolean isEnabledFor(EditorView<XmlDocument> view)
           
 void release()
           
 
Methods inherited from class com.eviware.soapui.support.editor.inspectors.AbstractXmlInspector
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getTitle, init, isActive, isContentHandler, isEnabled, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InferredSchemaInspector

protected InferredSchemaInspector(RestRequest request)
Method Detail

getComponent

public javax.swing.JComponent getComponent()
Specified by:
getComponent in interface Inspector

isEnabledFor

public boolean isEnabledFor(EditorView<XmlDocument> view)
Specified by:
isEnabledFor in interface EditorInspector<XmlDocument>
Specified by:
isEnabledFor in interface XmlInspector
Overrides:
isEnabledFor in class AbstractXmlInspector

afterSubmit

public void afterSubmit(Submit submit,
                        SubmitContext context)
Description copied from interface: SubmitListener
Called after submittal of a request

Specified by:
afterSubmit in interface SubmitListener
Parameters:
submit - the submit.

beforeSubmit

public boolean beforeSubmit(Submit submit,
                            SubmitContext context)
Description copied from interface: SubmitListener
Called before submittal of a request

Specified by:
beforeSubmit in interface SubmitListener
Parameters:
submit - the submit being submitted
Returns:
boolean telling if the submit should proceed.

release

public void release()
Specified by:
release in interface Inspector
Overrides:
release in class AbstractXmlInspector

getRequest

public RestRequest getRequest()


Copyright © 2005-2009 eviware.com. All Rights Reserved.