org.eclipse.xtext.scoping.impl
Class ImportUriResolver

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.ImportUriResolver
All Implemented Interfaces:
com.google.common.base.Function<org.eclipse.emf.ecore.EObject,java.lang.String>

public class ImportUriResolver
extends java.lang.Object
implements com.google.common.base.Function<org.eclipse.emf.ecore.EObject,java.lang.String>

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
static java.lang.String IMPORT_URI_FEATURE
           
 
Constructor Summary
ImportUriResolver()
           
 
Method Summary
 java.lang.String apply(org.eclipse.emf.ecore.EObject from)
           
 org.eclipse.emf.ecore.EStructuralFeature getAttribute(org.eclipse.emf.ecore.EObject object)
           
 java.lang.String getAttributeName()
           
 SimpleAttributeResolver<org.eclipse.emf.ecore.EObject,java.lang.String> getResolver()
           
 java.lang.String resolve(org.eclipse.emf.ecore.EObject object)
           
 void setAttributeName(java.lang.String attributeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

IMPORT_URI_FEATURE

public static final java.lang.String IMPORT_URI_FEATURE
See Also:
Constant Field Values
Constructor Detail

ImportUriResolver

public ImportUriResolver()
Method Detail

setAttributeName

public void setAttributeName(java.lang.String attributeName)

getAttributeName

public java.lang.String getAttributeName()

getResolver

public SimpleAttributeResolver<org.eclipse.emf.ecore.EObject,java.lang.String> getResolver()

resolve

public java.lang.String resolve(org.eclipse.emf.ecore.EObject object)

getAttribute

public org.eclipse.emf.ecore.EStructuralFeature getAttribute(org.eclipse.emf.ecore.EObject object)

apply

public java.lang.String apply(org.eclipse.emf.ecore.EObject from)
Specified by:
apply in interface com.google.common.base.Function<org.eclipse.emf.ecore.EObject,java.lang.String>