org.jvnet.jaxb2_commons.locator
Class DefaultRootObjectLocator

java.lang.Object
  extended by org.jvnet.jaxb2_commons.locator.AbstractObjectLocator
      extended by org.jvnet.jaxb2_commons.locator.DefaultRootObjectLocator
All Implemented Interfaces:
javax.xml.bind.ValidationEventLocator, Reportable, ObjectLocator, RootObjectLocator

public final class DefaultRootObjectLocator
extends AbstractObjectLocator
implements RootObjectLocator


Field Summary
 
Fields inherited from class org.jvnet.jaxb2_commons.locator.AbstractObjectLocator
object, parentLocator
 
Constructor Summary
DefaultRootObjectLocator(Object rootObject)
           
 
Method Summary
protected  String getDefaultMessage()
           
 Object[] getMessageParameters()
          Returns parameters used to format the message.
protected  String getStepAsString()
           
 
Methods inherited from class org.jvnet.jaxb2_commons.locator.AbstractObjectLocator
getColumnNumber, getLineNumber, getMessage, getMessage, getMessageCode, getNode, getObject, getOffset, getParentLocator, getPath, getPathAsString, getURL, item, property, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jvnet.jaxb2_commons.locator.ObjectLocator
getParentLocator, getPath, getPathAsString, item, property
 
Methods inherited from interface javax.xml.bind.ValidationEventLocator
getColumnNumber, getLineNumber, getNode, getObject, getOffset, getURL
 
Methods inherited from interface org.jvnet.jaxb2_commons.i18n.Reportable
getMessage, getMessage, getMessageCode
 

Constructor Detail

DefaultRootObjectLocator

public DefaultRootObjectLocator(Object rootObject)
Method Detail

getMessageParameters

public Object[] getMessageParameters()
Description copied from interface: Reportable
Returns parameters used to format the message.

Specified by:
getMessageParameters in interface Reportable
Returns:
Array of parameters used to format problem message.

getDefaultMessage

protected String getDefaultMessage()
Specified by:
getDefaultMessage in class AbstractObjectLocator

getStepAsString

protected String getStepAsString()
Specified by:
getStepAsString in class AbstractObjectLocator


Copyright © 2005-2012. All Rights Reserved.