|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.config.DigesterFactory
public class DigesterFactory
A simple factory to hide Digester
configuration
details.
Nested Class Summary | |
---|---|
static interface |
DigesterFactory.VersionListener
Implemented by a class that wants to be called as a particular configuration file is parsed. |
Method Summary | |
---|---|
org.apache.commons.digester.Digester |
createDigester()
Creates a new Digester instance configured for use
with JSF. |
static DigesterFactory.VersionListener |
getVersionListener()
|
static DigesterFactory |
newInstance()
Returns a new DigesterFactory instance that will create
a non-validating Digester instance. |
static DigesterFactory |
newInstance(boolean isValidating)
Creates a new DigesterFactory instance that will
create a Digester instance where validation depends
on the value of isValidating . |
static DigesterFactory |
newInstance(boolean isValidating,
DigesterFactory.VersionListener listener)
Creates a new DigesterFactory instance that will
create a Digester instance where validation depends
on the value of isValidating . |
static void |
releaseDigester(org.apache.commons.digester.Digester toRelease)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DigesterFactory newInstance()
Returns a new DigesterFactory
instance that will create
a non-validating Digester
instance.
public static DigesterFactory newInstance(boolean isValidating)
Creates a new DigesterFactory
instance that will
create a Digester
instance where validation depends
on the value of isValidating
.
isValidating
- - true
if the Digester
instance that is ultimately returned should be configured (if possible)
for document validation. If validation is not desired, pass
false
.
DigesterFactory
capable of creating
Digester
instancespublic static DigesterFactory newInstance(boolean isValidating, DigesterFactory.VersionListener listener)
Creates a new DigesterFactory
instance that will
create a Digester
instance where validation depends
on the value of isValidating
.
isValidating
- - true
if the Digester
instance that is ultimately returned should be configured (if possible)
for document validation. If validation is not desired, pass
false
.GrammarListener
- a GrammarListener instance
DigesterFactory
capable of creating
Digester
instancespublic static DigesterFactory.VersionListener getVersionListener()
public static void releaseDigester(org.apache.commons.digester.Digester toRelease)
public org.apache.commons.digester.Digester createDigester()
Creates a new Digester
instance configured for use
with JSF.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |