com.mtp.pounder
Class ComponentIdentifierFactory

java.lang.Object
  |
  +--com.mtp.pounder.ComponentIdentifierFactory

public class ComponentIdentifierFactory
extends Object

Used to manufacture ComponentIdentifier's. Can do so intelligently if desired, producing the best ComponentIdentifier for a situation.

Author:
Matthew Pekar

Field Summary
protected  PounderPrefs prefs
           
 
Constructor Summary
ComponentIdentifierFactory()
           
ComponentIdentifierFactory(PounderPrefs prefs)
           
 
Method Summary
 ComponentIdentifier build(Component c)
          Build a ComponentIdentifier that best represents the given Component.
 ComponentIdentifier buildFromString(String s)
           
 KeyIdentifier buildKeyIdentifier(Component c)
           
 NameIdentifier buildNameIdentifier(Component c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefs

protected PounderPrefs prefs
Constructor Detail

ComponentIdentifierFactory

public ComponentIdentifierFactory()

ComponentIdentifierFactory

public ComponentIdentifierFactory(PounderPrefs prefs)
Method Detail

build

public ComponentIdentifier build(Component c)
Build a ComponentIdentifier that best represents the given Component.


buildKeyIdentifier

public KeyIdentifier buildKeyIdentifier(Component c)

buildNameIdentifier

public NameIdentifier buildNameIdentifier(Component c)

buildFromString

public ComponentIdentifier buildFromString(String s)


Copyright © 2002 Matthew Pekar. All Rights Reserved.