Handles schedule conflicts while inferring Xml schema from Xml documents. Has a single callback method.
Modifiers | Name | Description |
---|---|---|
enum |
ConflictHandler.Event |
Handles schedule conflicts while inferring Xml schema from Xml documents. |
enum |
ConflictHandler.Type |
Type Params | Return Type | Name and description |
---|---|---|
|
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 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.
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.