org.eclipse.xtext.scoping.impl
Class ImportUriResolver
java.lang.Object
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
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 |
IMPORT_URI_FEATURE
public static final java.lang.String IMPORT_URI_FEATURE
- See Also:
- Constant Field Values
ImportUriResolver
public ImportUriResolver()
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>