Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.metadata.query
Class FragmentQuery

java.lang.Object
  extended by org.eclipse.equinox.p2.metadata.query.ExpressionQuery<IInstallableUnit>
      extended by org.eclipse.equinox.p2.metadata.query.FragmentQuery
All Implemented Interfaces:
org.eclipse.equinox.p2.metadata.index.IQueryWithIndex<IInstallableUnit>, IMatchQuery<IInstallableUnit>, IQuery<IInstallableUnit>

public final class FragmentQuery
extends ExpressionQuery<IInstallableUnit>

A query matching every IInstallableUnit that is a category.

Since:
2.0

Constructor Summary
FragmentQuery()
           
 
Method Summary
static boolean isFragment(IInstallableUnit iu)
          Test if the IInstallableUnit is a fragment.
 
Methods inherited from class org.eclipse.equinox.p2.metadata.query.ExpressionQuery
getContext, getExpression, getMatchingClass, isMatch, matchAll, matchNothing, perform, perform, postPerform, prePerform, setIndexProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FragmentQuery

public FragmentQuery()
Method Detail

isFragment

public static boolean isFragment(IInstallableUnit iu)
Test if the IInstallableUnit is a fragment.

Parameters:
iu - the element being tested.
Returns:
true if the parameter is a fragment.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.