Examples of ValidationEventImpl


Examples of javax.xml.bind.helpers.ValidationEventImpl

        // noop
    }

    public final void serializeRoot(Object array, XMLSerializer target) throws SAXException {
        target.reportError(
                new ValidationEventImpl(
                        ValidationEvent.ERROR,
                        Messages.UNABLE_TO_MARSHAL_NON_ELEMENT.format(array.getClass().getName()),
                        null,
                        null));
    }
View Full Code Here

Examples of org.apache.ws.jaxme.impl.ValidationEventImpl

  private class MyEventHandler implements ValidationEventHandler {
    private boolean ok;
    public boolean handleEvent(ValidationEvent pEvent) {
      if (pEvent instanceof ValidationEventImpl) {
        ValidationEventImpl ev = (ValidationEventImpl) pEvent;
        if (ValidationEvents.EVENT_CHOICE_GROUP_REUSE.equals(ev.getErrorCode())) {
          ok = true;
        }
      }
      return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.