net.sf.jzeno.echo.script
Class AbstractIdentifier

java.lang.Object
  extended by net.sf.jzeno.echo.script.AbstractIdentifier
All Implemented Interfaces:
Identifier
Direct Known Subclasses:
ComposedPropertyPathIdentifier, LabelIdentifier, PositionFromNearestPropertyComponent, StateIdentifier, TextIdentifier, TypeCountIdentifier, UniqueEventSourceIdentifier, UniquePropertyComponentIdentifier

public abstract class AbstractIdentifier
extends java.lang.Object
implements Identifier


Constructor Summary
AbstractIdentifier()
           
 
Method Summary
protected  java.lang.String escape(java.lang.String s)
           
static void findAllChildren(Component root, java.util.List result)
           
static void findAllChildrenOfType(Component root, java.lang.Class type, java.util.List result, boolean exactType)
           
protected  java.util.List findComponents(Component root, java.lang.String property, java.lang.Object expectedValue, java.lang.Class type, boolean exactType)
           
protected  java.lang.Class getClass(java.lang.String typeName)
           
protected  Component getLayout()
           
static boolean isAssignable(java.lang.Object o, java.lang.Class requiredType)
           
protected  java.lang.String restore(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jzeno.echo.script.Identifier
getComponent, getLabel
 

Constructor Detail

AbstractIdentifier

public AbstractIdentifier()
Method Detail

findAllChildrenOfType

public static void findAllChildrenOfType(Component root,
                                         java.lang.Class type,
                                         java.util.List result,
                                         boolean exactType)

findAllChildren

public static void findAllChildren(Component root,
                                   java.util.List result)

isAssignable

public static boolean isAssignable(java.lang.Object o,
                                   java.lang.Class requiredType)

findComponents

protected java.util.List findComponents(Component root,
                                        java.lang.String property,
                                        java.lang.Object expectedValue,
                                        java.lang.Class type,
                                        boolean exactType)

getLayout

protected Component getLayout()

getClass

protected java.lang.Class getClass(java.lang.String typeName)

escape

protected java.lang.String escape(java.lang.String s)

restore

protected java.lang.String restore(java.lang.String s)