public abstract class FeatureLooper extends LooperBase
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
currentName
The name of the current feature in the loop
|
protected java.lang.String |
currentStatus
The status of the current feature in the loop
|
protected java.lang.String |
currentType
The feature-type of the current feature in the loop
|
debugKey, isNameEntryPattern, nameList, namePattern| Constructor and Description |
|---|
FeatureLooper() |
| Modifier and Type | Method and Description |
|---|---|
com.ptc.pfc.pfcFeature.FeatureType |
getSearchType() |
java.lang.String |
getStatusPattern() |
java.lang.String |
getTypePattern() |
boolean |
isIncludeUnnamed() |
boolean |
isVisibleOnly() |
void |
loop(CallFeature feat)
Loop through the child features of a feature
|
void |
loop(CallSolid solid)
Loop through features on a Solid
|
abstract void |
loopAction(CallFeature feat)
Abstract function which is called for each feature which matches the filters.
|
protected void |
processObjectByName(java.lang.String name)
Abstract function which is called for each object whose name matches the filters.
|
void |
setIncludeUnnamed(boolean includeUnnamed) |
void |
setSearchType(com.ptc.pfc.pfcFeature.FeatureType searchType) |
void |
setStatusPattern(java.lang.String statusPattern) |
void |
setTypePattern(java.lang.String typePattern) |
void |
setVisibleOnly(boolean visibleOnly) |
checkName, checkName, checkNameAgainstList, checkNameAgainstList, getDebugKey, getIsNamePattern, getNameList, getNamePattern, setDebugKey, setIsNamePattern, setNameList, setNameList, setNamePatternprotected java.lang.String currentStatus
protected java.lang.String currentName
protected java.lang.String currentType
public void loop(CallSolid solid) throws JLIException, com.ptc.cipjava.jxthrowable
solid - The solid which owns the featuresJLIExceptioncom.ptc.cipjava.jxthrowablepublic void loop(CallFeature feat) throws JLIException, com.ptc.cipjava.jxthrowable
feat - The feature which owns the child featuresJLIExceptioncom.ptc.cipjava.jxthrowablepublic abstract void loopAction(CallFeature feat) throws JLIException, com.ptc.cipjava.jxthrowable
feat - The feature which matched the filtersJLIExceptioncom.ptc.cipjava.jxthrowablepublic com.ptc.pfc.pfcFeature.FeatureType getSearchType()
public void setSearchType(com.ptc.pfc.pfcFeature.FeatureType searchType)
searchType - The feature type filterpublic java.lang.String getStatusPattern()
public void setStatusPattern(java.lang.String statusPattern)
statusPattern - The feature status filterpublic java.lang.String getTypePattern()
public void setTypePattern(java.lang.String typePattern)
typePattern - The feature type pattern filter (supports wildcards)protected void processObjectByName(java.lang.String name)
throws JLIException,
com.ptc.cipjava.jxthrowable
LooperBaseprocessObjectByName in class LooperBasename - The name of the object that matched the filtersJLIExceptioncom.ptc.cipjava.jxthrowablepublic boolean isIncludeUnnamed()
public void setIncludeUnnamed(boolean includeUnnamed)
includeUnnamed - Whether to include unnamed featurespublic boolean isVisibleOnly()
public void setVisibleOnly(boolean visibleOnly)
visibleOnly - Whether to skip over invisible features