|
WebObjects 5.4.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webobjects.appserver.parser.WOComponentTemplateParser.Factory
public static class WOComponentTemplateParser.Factory
Factory method for new parser.
Nested Class Summary | |
---|---|
static interface |
WOComponentTemplateParser.Factory.ClassDelegate
This interface defines a delegate to enable subclassing. |
Constructor Summary | |
---|---|
protected |
WOComponentTemplateParser.Factory()
|
Method Summary | |
---|---|
protected static WOComponentTemplateParser.Factory.ClassDelegate |
getClassDelegate()
Returns the class delegate. |
static WOComponentTemplateParser.Factory |
getInstance()
Returns the singleton, creating the instance if necessary. |
static boolean |
hasClassDelegate()
Checks if the class has a class delegate. |
WOComponentTemplateParser |
newParserWithHTMLAndDeclaration(String frameworkName,
String referenceName,
String someHTML,
String declarations,
NSArray languages,
WOAssociationFactory associationFactory,
WOMLNamespaceProvider namespaceProvider)
Creates a new instance of the component parser. |
static void |
setClassDelegate(WOComponentTemplateParser.Factory.ClassDelegate delegate)
Assigns delegate as the class delegate. |
void |
setWOHTMLTemplateParserClassName(String className)
Sets the parser class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected WOComponentTemplateParser.Factory()
Method Detail |
---|
public static WOComponentTemplateParser.Factory getInstance()
public static boolean hasClassDelegate()
WOComponentTemplateParser.Factory.getClassDelegate()
,
WOComponentTemplateParser.Factory.setClassDelegate(ClassDelegate anObject)
,
WOComponentTemplateParser.Factory.ClassDelegate
protected static WOComponentTemplateParser.Factory.ClassDelegate getClassDelegate()
WOComponentTemplateParser.Factory.setClassDelegate(ClassDelegate anObject)
,
WOComponentTemplateParser.Factory.hasClassDelegate()
,
WOComponentTemplateParser.Factory.ClassDelegate
public static void setClassDelegate(WOComponentTemplateParser.Factory.ClassDelegate delegate)
delegate
as the class delegate. The class delegate is optional.
delegate
- The object to set as the class delegate.WOComponentTemplateParser.Factory.getClassDelegate()
,
WOComponentTemplateParser.Factory.hasClassDelegate()
,
WOComponentTemplateParser.Factory.ClassDelegate
public void setWOHTMLTemplateParserClassName(String className)
className
- parser class namepublic WOComponentTemplateParser newParserWithHTMLAndDeclaration(String frameworkName, String referenceName, String someHTML, String declarations, NSArray languages, WOAssociationFactory associationFactory, WOMLNamespaceProvider namespaceProvider) throws ClassNotFoundException
frameworkName
- framework name of the component to parsereferenceName
- component name (used for error handling)someHTML
- HTML templatedeclarations
- declaration file (optional)languages
- list of languagesassociationFactory
- association factorynamespaceProvider
- namespace provider
ClassNotFoundException
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |