com.sun.xml.bind
Interface Locatable

All Known Implementing Classes:
AddressingResponsesType, AddressingType, DataSourceType, DescriptionType, DisplayNameType, EjbLinkType, EjbLocalRefType, EjbRefNameType, EjbRefType, EjbRefTypeType, EmptyType, EnvEntryType, EnvEntryTypeValuesType, FullyQualifiedClassType, GenericBooleanType, HandlerChainsType, HandlerChainType, HandlerType, HomeType, IconType, InjectionTargetType, JavaIdentifierType, JavaTypeType, JdbcUrlType, JndiNameType, LifecycleCallbackType, ListenerType, LocalHomeType, LocalType, MessageDestinationLinkType, MessageDestinationRefType, MessageDestinationType, MessageDestinationTypeType, MessageDestinationUsageType, ParamValueType, PathType, PersistenceContextRefType, PersistenceContextTypeType, PersistenceUnitRefType, PortComponentRefType, PortComponentType, PropertyType, RemoteType, ResAuthType, ResourceEnvRefType, ResourceRefType, RespectBindingType, ResSharingScopeType, RoleNameType, RunAsType, SecurityRoleRefType, SecurityRoleType, ServiceImplBeanType, ServiceRefType, ServletLinkType, String, TrueFalseType, UrlPatternType, WebserviceDescriptionType, WebservicesType, XsdAnyURIType, XsdBooleanType, XsdIntegerType, XsdNMTOKENType, XsdNonNegativeIntegerType, XsdPositiveIntegerType, XsdQNameType, XsdStringType

public interface Locatable

Optional interface implemented by JAXB objects to expose location information from which an object is unmarshalled.

This is used during JAXB RI 1.0.x. In JAXB 2.0, use XmlLocation.

Since:
JAXB RI 1.0
Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Method Summary
 Locator sourceLocation()
           
 

Method Detail

sourceLocation

Locator sourceLocation()
Returns:
null if the location information is unavaiable, or otherwise return a immutable valid Locator object.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.