public class EPackageBundleImpl extends java.lang.Object implements EPackageBundle
| Constructor and Description |
|---|
EPackageBundleImpl(java.lang.Iterable<? extends org.eclipse.emf.ecore.EPackage> ePackages) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.eclipse.emf.ecore.EPackage> |
getContents()
Returns a list of
EPackages that are contained in this bundle. |
org.eclipse.emf.ecore.EPackage |
getEPackageByNsURI(java.lang.String ePackageNsURI)
Returns a contained
EPackage by its namespace URI. |
java.util.Iterator<org.eclipse.emf.ecore.EPackage> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsEPackageWithNsURI, ofpublic EPackageBundleImpl(java.lang.Iterable<? extends org.eclipse.emf.ecore.EPackage> ePackages)
public java.util.Iterator<org.eclipse.emf.ecore.EPackage> iterator()
iterator in interface java.lang.Iterable<org.eclipse.emf.ecore.EPackage>public java.util.List<org.eclipse.emf.ecore.EPackage> getContents()
EPackageBundleEPackages that are contained in this bundle.getContents in interface EPackageBundlepublic org.eclipse.emf.ecore.EPackage getEPackageByNsURI(java.lang.String ePackageNsURI)
EPackageBundleEPackage by its namespace URI.
This method will only check the root-level EPackages, sub-packages will not be checked.
getEPackageByNsURI in interface EPackageBundleePackageNsURI - The namespace URI to get the EPackage for. Must not be null.null if this bundle contains no such EPackage.