edu.umd.cfar.lamp.viper.util
Class AbstractMultipleViperSubTree
java.lang.Object
edu.umd.cfar.lamp.viper.util.AbstractViperSelection
edu.umd.cfar.lamp.viper.util.AbstractViperSubTree
edu.umd.cfar.lamp.viper.util.AbstractMultipleViperSubTree
- All Implemented Interfaces:
- ViperSelection, ViperSubTree
- public abstract class AbstractMultipleViperSubTree
- extends AbstractViperSubTree
A simple subtree that can have multiple
children at each node, unlike the chain-version that
abstractViperSubtree supports.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractMultipleViperSubTree
public AbstractMultipleViperSubTree()
getFirstSourcefile
public Sourcefile getFirstSourcefile()
- Get all the first sourcefile node in the selection.
- Returns:
- the first selected sourcefile node
getFirstConfig
public Config getFirstConfig()
- Get all the first descriptor schema node in the selection.
- Returns:
- the first selected descriptor schema node
getFirstAttrConfig
public AttrConfig getFirstAttrConfig()
- Get all the first attribute schema node in the selection.
- Returns:
- the first selected attribute schema node
getFirstDescriptor
public Descriptor getFirstDescriptor()
- Get all the first descriptor node in the selection.
- Returns:
- the first selected descriptor node
getFirstAttribute
public Attribute getFirstAttribute()
- Get all the first attribute node in the selection.
- Returns:
- the first selected attribute node