Class ContextProvidingValidationEventHandler
- java.lang.Object
-
- org.hibernate.jpamodelgen.util.xml.ContextProvidingValidationEventHandler
-
- All Implemented Interfaces:
javax.xml.bind.ValidationEventHandler
public class ContextProvidingValidationEventHandler extends java.lang.Object implements javax.xml.bind.ValidationEventHandler
Validation event handler used for obtaining line and column numbers in case of parsing failures.
-
-
Constructor Summary
Constructors Constructor Description ContextProvidingValidationEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnNumber()
int
getLineNumber()
java.lang.String
getMessage()
boolean
handleEvent(javax.xml.bind.ValidationEvent validationEvent)
-
-
-
Method Detail
-
handleEvent
public boolean handleEvent(javax.xml.bind.ValidationEvent validationEvent)
- Specified by:
handleEvent
in interfacejavax.xml.bind.ValidationEventHandler
-
getLineNumber
public int getLineNumber()
-
getColumnNumber
public int getColumnNumber()
-
getMessage
public java.lang.String getMessage()
-
-