Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.pqt.autorib.instr
Class InstrForNames  view InstrForNames download InstrForNames.java

java.lang.Object
  extended byorg.pqt.autorib.instr.InstrRequest
      extended byorg.pqt.autorib.instr.InstrBlockRequest
          extended byorg.pqt.autorib.instr.InstrForRequest
              extended byorg.pqt.autorib.instr.InstrForNames

public class InstrForNames
extends InstrForRequest

A class for handling a name based filter of the form ForNames name name [name name] where names can contain wild cards * and ?. The filter is passed if the name matches on of the names given, and does not match one of the names given in square brackets.


Field Summary
(package private)  java.util.Vector excludeNames
           
(package private)  java.util.Vector names
           
 
Fields inherited from class org.pqt.autorib.instr.InstrForRequest
handles
 
Fields inherited from class org.pqt.autorib.instr.InstrBlockRequest
content
 
Fields inherited from class org.pqt.autorib.instr.InstrRequest
requestID, requestName
 
Constructor Summary
InstrForNames()
           
InstrForNames(InstrWReader in)
           
 
Method Summary
 boolean filter(org.pqt.autorib.rib.RIBObjectGroup object)
          return true if the instructions in the block should be executed for the given object - return false by default - subclasses should override if they handle objects
 void readParams(InstrWReader in)
          read in any parameters specific to this for call ie.
 void writeParams(java.io.Writer out)
           
 
Methods inherited from class org.pqt.autorib.instr.InstrForRequest
read, write
 
Methods inherited from class org.pqt.autorib.instr.InstrBlockRequest
filter, process, process
 
Methods inherited from class org.pqt.autorib.instr.InstrRequest
checkShaderType, readRequestName, writeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

names

java.util.Vector names

excludeNames

java.util.Vector excludeNames
Constructor Detail

InstrForNames

public InstrForNames()

InstrForNames

public InstrForNames(InstrWReader in)
              throws java.io.IOException,
                     org.pqt.autorib.tokenizer.FormatException
Method Detail

readParams

public void readParams(InstrWReader in)
                throws java.io.IOException,
                       org.pqt.autorib.tokenizer.FormatException
Description copied from class: InstrForRequest
read in any parameters specific to this for call ie. those between the instruction and the open brace

Specified by:
readParams in class InstrForRequest

filter

public boolean filter(org.pqt.autorib.rib.RIBObjectGroup object)
Description copied from class: InstrBlockRequest
return true if the instructions in the block should be executed for the given object - return false by default - subclasses should override if they handle objects

Overrides:
filter in class InstrBlockRequest

writeParams

public void writeParams(java.io.Writer out)
                 throws java.io.IOException
Specified by:
writeParams in class InstrForRequest