oracle.jdeveloper.vcs.util
Class VCSContextUtils
java.lang.Object
oracle.jdeveloper.vcs.util.VCSContextUtils
- public final class VCSContextUtils
- extends java.lang.Object
Utility class for manuplating contexts and expanding their composite states.
- Since:
- 9.0.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getContextLocatables
public static final Locatable[] getContextLocatables(Context context,
URLFilter filter)
- Gets the valid locatables from the context node selection. Composite nodes are expanded by this method.
-
- Parameters:
context
- the locatable context.
filter
- a filter that accepts valid locatable URLs. (null-capable)
- Returns:
- the valid locatable context.
getContextLocatables
public static final Locatable[] getContextLocatables(Context context)
- Gets the valid locatables from the context node selection. Composite nodes are expanded by this method.
-
- Parameters:
context
- the locatable context.
- Returns:
- the valid locatable context.
getExpandedLocatables
public static final Locatable[] getExpandedLocatables(Element[] elements,
URLFilter filter)
- Get the expanded set of locatables from the specified set of elements, only returning locatables which pass the speicifed filter. Composite nodes are expanded by this method.
-
- Parameters:
elements
- the elements to expand
filter
- a filter that accepts valid locatable URLs. (null-capable)/i>
- Returns:
- the valid locatable context
Copyright © 1997, 2004, Oracle. All rights reserved.