com.eviware.soapui.impl.wadl.inference
Interface ConflictHandler
- All Known Implementing Classes:
- AllowAll, DenyAll, InferredSchemaInspector.Handler
public interface ConflictHandler
Handles schedule conflicts while inferring Xml schema from Xml documents. Has
a single callback method.
- Author:
- Dain Nilsson
Method Summary |
boolean |
callback(ConflictHandler.Event event,
ConflictHandler.Type type,
javax.xml.namespace.QName name,
java.lang.String path,
java.lang.String message)
Callback method for deciding whether given Xml document is valid or not,
and if so, to expand the schema. |
callback
boolean callback(ConflictHandler.Event event,
ConflictHandler.Type type,
javax.xml.namespace.QName name,
java.lang.String path,
java.lang.String message)
- Callback method for deciding whether given Xml document is valid or not,
and if so, to expand the schema. The function should return true if the
contents at the cursor is valid in respect to the message provided, false
if not.
- Parameters:
event
- What type of event this is, creation or modification.type
- The type of particle that this is in regards to.name
- The QName for the particle that is being modified.path
- The path to the element that is being changed (or contains the
attribute/has the type that is beng changed).message
- A short message describing the change.
- Returns:
- True to accept the schema modification and continue validation,
false to trigger validation failure.
Copyright © 2005-2010 eviware.com. All Rights Reserved.