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:
Locatable

public class MethodLocatable<M>
extends Object
implements Locatable

Locatable implementation for a method.

Author:
Kohsuke Kawaguchi

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

Constructor Detail

MethodLocatable

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

getUpstream

public Locatable getUpstream()
Specified by:
getUpstream in interface Locatable

getLocation

public Location getLocation()
Specified by:
getLocation in interface Locatable


Copyright © 2014 Oracle Corporation. All Rights Reserved.