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 ([email protected])
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • sourceLocation

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