Package 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>,java.util.function.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>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIMPORT_URI_FEATURE
-
Constructor Summary
Constructors Constructor Description ImportUriResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringapply(org.eclipse.emf.ecore.EObject from)org.eclipse.emf.ecore.EStructuralFeaturegetAttribute(org.eclipse.emf.ecore.EObject object)java.lang.StringgetAttributeName()org.eclipse.xtext.util.SimpleAttributeResolver<org.eclipse.emf.ecore.EObject,java.lang.String>getResolver()java.lang.Stringresolve(org.eclipse.emf.ecore.EObject object)voidsetAttributeName(java.lang.String attributeName)
-
-
-
Field Detail
-
IMPORT_URI_FEATURE
public static final java.lang.String IMPORT_URI_FEATURE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAttributeName
public void setAttributeName(java.lang.String attributeName)
-
getAttributeName
public java.lang.String getAttributeName()
-
getResolver
public org.eclipse.xtext.util.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:
applyin interfacecom.google.common.base.Function<org.eclipse.emf.ecore.EObject,java.lang.String>- Specified by:
applyin interfacejava.util.function.Function<org.eclipse.emf.ecore.EObject,java.lang.String>
-
-