jestr
Class Factory
java.lang.Object
jestr.Factory
- public class Factory
- extends java.lang.Object
- Author:
- David Gilliland
Method Summary |
void |
configure(java.util.Properties props)
|
static Factory |
getInstance()
|
static Factory |
getInstance(java.lang.String instanceName)
|
java.lang.Object |
getPrototype(java.lang.String name,
PrototypeScope prototypeScope)
|
java.lang.Object |
getPrototype(java.lang.String name,
PrototypeScope prototypeScope,
boolean returnNullIfAbsent)
|
java.lang.Object |
getPrototype(java.lang.String name,
PrototypeScope prototypeScope,
boolean returnNullIfAbsent,
java.lang.Class requiredClass)
|
StringificationManager |
getStringificationManager()
|
boolean |
isNameBound(java.lang.String name,
PrototypeScope prototypeScope)
|
ChildFilter |
newChildFilter()
|
ChildFilter |
newChildFilter(java.lang.String name)
|
ChildStringifier |
newChildStringifier(java.lang.String name)
|
Controller |
newController(java.lang.String name)
|
java.lang.Object |
newObject(java.lang.String name,
PrototypeScope prototypeScope)
|
JestrPredicate |
newPredicate()
|
JestrPredicate |
newPredicate(java.lang.String name)
|
PrettyPrintWriter |
newPrettyPrintWriter()
|
PrettyPrintWriter |
newPrettyPrintWriter(java.lang.String name)
|
PrettyPrintWriter |
newPrettyPrintWriter(java.lang.String name,
java.io.Writer w)
|
PrettyPrintWriter |
newPrettyPrintWriter(java.io.Writer w)
|
RegexChildFilter |
newRegexChildFilter()
|
RegexChildFilter |
newRegexChildFilter(java.lang.String name)
|
StandardPredicate |
newStandardPredicate()
|
StandardPredicate |
newStandardPredicate(java.lang.String name)
|
Stringifier |
newStringifier()
|
Stringifier |
newStringifier(java.lang.String name)
|
TSPreference |
newTSPreference(java.lang.String name)
|
void |
putPrototype(java.lang.Object proto,
PrototypeScope scope)
|
java.lang.Object |
putPrototype(java.lang.String name,
java.lang.Object proto,
PrototypeScope prototypeScope)
|
protected void |
reconfigureIfNecessary()
|
void |
reset()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_INSTANCE_NAME
public static final java.lang.String DEFAULT_INSTANCE_NAME
- See Also:
- Constant Field Values
newPredicate
public JestrPredicate newPredicate(java.lang.String name)
newPredicate
public JestrPredicate newPredicate()
newStandardPredicate
public StandardPredicate newStandardPredicate(java.lang.String name)
newStandardPredicate
public StandardPredicate newStandardPredicate()
newPrettyPrintWriter
public PrettyPrintWriter newPrettyPrintWriter(java.io.Writer w)
newPrettyPrintWriter
public PrettyPrintWriter newPrettyPrintWriter(java.lang.String name,
java.io.Writer w)
newPrettyPrintWriter
public PrettyPrintWriter newPrettyPrintWriter()
newPrettyPrintWriter
public PrettyPrintWriter newPrettyPrintWriter(java.lang.String name)
newChildFilter
public ChildFilter newChildFilter(java.lang.String name)
newChildFilter
public ChildFilter newChildFilter()
newRegexChildFilter
public RegexChildFilter newRegexChildFilter(java.lang.String name)
newRegexChildFilter
public RegexChildFilter newRegexChildFilter()
newController
public Controller newController(java.lang.String name)
newStringifier
public Stringifier newStringifier()
newStringifier
public Stringifier newStringifier(java.lang.String name)
newTSPreference
public TSPreference newTSPreference(java.lang.String name)
newChildStringifier
public ChildStringifier newChildStringifier(java.lang.String name)
putPrototype
public void putPrototype(java.lang.Object proto,
PrototypeScope scope)
putPrototype
public java.lang.Object putPrototype(java.lang.String name,
java.lang.Object proto,
PrototypeScope prototypeScope)
newObject
public java.lang.Object newObject(java.lang.String name,
PrototypeScope prototypeScope)
getPrototype
public java.lang.Object getPrototype(java.lang.String name,
PrototypeScope prototypeScope)
getPrototype
public java.lang.Object getPrototype(java.lang.String name,
PrototypeScope prototypeScope,
boolean returnNullIfAbsent)
getPrototype
public java.lang.Object getPrototype(java.lang.String name,
PrototypeScope prototypeScope,
boolean returnNullIfAbsent,
java.lang.Class requiredClass)
isNameBound
public boolean isNameBound(java.lang.String name,
PrototypeScope prototypeScope)
reset
public void reset()
configure
public void configure(java.util.Properties props)
reconfigureIfNecessary
protected void reconfigureIfNecessary()
getInstance
public static Factory getInstance()
getInstance
public static Factory getInstance(java.lang.String instanceName)
getStringificationManager
public StringificationManager getStringificationManager()
Copyright (c) 2001-2003 - Apache Software Foundation