com.sun.xml.bind.v2.model.annotation
Class MethodLocatable<M>

java.lang.Object
  extended by com.sun.xml.bind.v2.model.annotation.MethodLocatable<M>
All Implemented Interfaces:
com.sun.xml.bind.v2.model.annotation.Locatable

public class MethodLocatable<M>
extends java.lang.Object
implements com.sun.xml.bind.v2.model.annotation.Locatable

Locatable implementation for a method.


Constructor Summary
MethodLocatable(com.sun.xml.bind.v2.model.annotation.Locatable upstream, M method, com.sun.xml.bind.v2.model.nav.Navigator<?,?,?,M> nav)
           
 
Method Summary
 com.sun.xml.bind.v2.runtime.Location getLocation()
           
 com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodLocatable

public MethodLocatable(com.sun.xml.bind.v2.model.annotation.Locatable upstream,
                       M method,
                       com.sun.xml.bind.v2.model.nav.Navigator<?,?,?,M> nav)
Method Detail

getUpstream

public com.sun.xml.bind.v2.model.annotation.Locatable getUpstream()
Specified by:
getUpstream in interface com.sun.xml.bind.v2.model.annotation.Locatable

getLocation

public com.sun.xml.bind.v2.runtime.Location getLocation()
Specified by:
getLocation in interface com.sun.xml.bind.v2.model.annotation.Locatable