|
WebObjects 5.4.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.appserver.parser.woml.namespaces.WOMLGenericElementGenerator
public class WOMLGenericElementGenerator
| Constructor Summary | |
|---|---|
WOMLGenericElementGenerator()
|
|
| Method Summary | |
|---|---|
void |
contributeToDeclaration(WOMLAbstractNamespace namespace,
WOMLElement element,
com.webobjects.appserver._private.WOMutableDeclaration declaration,
NSArray<String> languages,
WOAssociationFactory associationFactory)
Default implementation copies all associations in the given namespace to the declaration. |
WOElement |
generateElement(WOMLAbstractNamespace namespace,
WOMLElement element,
WOElement template,
com.webobjects.appserver._private.WOMutableDeclaration declaration,
NSArray<String> languages,
WOAssociationFactory associationFactory)
Default implementation generates a new dynamic element with the declaration's type and associations. |
protected Map<String,WOAssociation> |
getElementAssociationsForContribution(WOMLAbstractNamespace namespace,
WOMLElement element,
WOAssociationFactory associationFactory)
Returns the map of associations from the element to be used by the default contributeToDeclaration() method. |
protected boolean |
shouldContributeAssociation(WOMLAbstractNamespace namespace,
WOMLElement element,
com.webobjects.appserver._private.WOMutableDeclaration declaration,
NSArray<String> languages,
String name,
WOAssociation association)
Returns true if the given association with the given name should be contributed to the declaration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WOMLGenericElementGenerator()
| Method Detail |
|---|
protected Map<String,WOAssociation> getElementAssociationsForContribution(WOMLAbstractNamespace namespace,
WOMLElement element,
WOAssociationFactory associationFactory)
namespace - element - associationFactory -
protected boolean shouldContributeAssociation(WOMLAbstractNamespace namespace,
WOMLElement element,
com.webobjects.appserver._private.WOMutableDeclaration declaration,
NSArray<String> languages,
String name,
WOAssociation association)
namespace - element - declaration - name - association -
public WOElement generateElement(WOMLAbstractNamespace namespace,
WOMLElement element,
WOElement template,
com.webobjects.appserver._private.WOMutableDeclaration declaration,
NSArray<String> languages,
WOAssociationFactory associationFactory)
throws WOMLElementGenerationException
generateElement in interface WOMLAbstractNamespace.WOMLElementGeneratornamespace - element - template - declaration - associationFactory -
WOMLElementGenerationExceptioncom.webobjects.appserver.parser.woml.namespaces.WOMLWebObjectsNamespace.WOMLWebObjectsElementGenerator#generateElement(com.webobjects.appserver.parser.woml.WOMLNamespace, com.webobjects.appserver.parser.woml.WOMLElement, com.webobjects.appserver.WOElement, com.webobjects.appserver._private.WOMutableDeclaration, com.webobjects.appserver.WOAssociationFactory)
public void contributeToDeclaration(WOMLAbstractNamespace namespace,
WOMLElement element,
com.webobjects.appserver._private.WOMutableDeclaration declaration,
NSArray<String> languages,
WOAssociationFactory associationFactory)
throws WOMLElementGenerationException
contributeToDeclaration in interface WOMLAbstractNamespace.WOMLElementGeneratornamespace - element - declaration - associationFactory -
WOMLElementGenerationExceptioncom.webobjects.appserver.parser.woml.namespaces.WOMLWebObjectsNamespace.WOMLWebObjectsElementGenerator#contributeToDeclaration(com.webobjects.appserver.parser.woml.WOMLNamespace, com.webobjects.appserver.parser.woml.WOMLElement, com.webobjects.appserver._private.WOMutableDeclaration, com.webobjects.appserver.WOAssociationFactory)
|
Last updated Wednesday, January 23, 2008 14:25 PST | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||