org.deft.extension.decoration.protect
Class ProtectedGroupListBuilder

java.lang.Object
  extended by org.deft.repository.ast.decoration.GroupListBuilder<ProtectedGroup>
      extended by org.deft.extension.decoration.protect.ProtectedGroupListBuilder

public class ProtectedGroupListBuilder
extends org.deft.repository.ast.decoration.GroupListBuilder<ProtectedGroup>

Author:
Martin Heinzerling
See Also:
GroupListBuilder

Constructor Summary
ProtectedGroupListBuilder(java.util.List<org.deft.repository.ast.TokenNode> nodes)
           
 
Method Summary
 boolean belongsToGroup(ProtectedGroup group, org.deft.repository.ast.TokenNode tn)
           
 ProtectedGroup createNewGroup(org.deft.repository.ast.TokenNode tn)
           
 
Methods inherited from class org.deft.repository.ast.decoration.GroupListBuilder
addGroup, getGroupList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtectedGroupListBuilder

public ProtectedGroupListBuilder(java.util.List<org.deft.repository.ast.TokenNode> nodes)
Method Detail

belongsToGroup

public boolean belongsToGroup(ProtectedGroup group,
                              org.deft.repository.ast.TokenNode tn)
Specified by:
belongsToGroup in class org.deft.repository.ast.decoration.GroupListBuilder<ProtectedGroup>

createNewGroup

public ProtectedGroup createNewGroup(org.deft.repository.ast.TokenNode tn)
Specified by:
createNewGroup in class org.deft.repository.ast.decoration.GroupListBuilder<ProtectedGroup>