com.webobjects.appserver.parser.woml.namespaces
Class WOMLConditionalElementGenerator
java.lang.Object
com.webobjects.appserver.parser.woml.namespaces.WOMLGenericElementGenerator
com.webobjects.appserver.parser.woml.namespaces.WOMLConditionalElementGenerator
- All Implemented Interfaces:
- WOMLAbstractNamespace.WOMLElementGenerator
public class WOMLConditionalElementGenerator
- extends WOMLGenericElementGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONDITION_RESULT_PREFIX
protected static final String CONDITION_RESULT_PREFIX
- See Also:
- Constant Field Values
CONDITION_ID
protected static int CONDITION_ID
WOMLConditionalElementGenerator
public WOMLConditionalElementGenerator()
generateElement
public WOElement generateElement(WOMLAbstractNamespace namespace,
WOMLElement element,
WOElement template,
WOMutableDeclaration declaration,
NSArray languages,
WOAssociationFactory associationFactory)
throws WOMLElementGenerationException
- Description copied from class:
WOMLGenericElementGenerator
- Default implementation generates a new dynamic element with the
declaration's type and associations.
- Specified by:
generateElement
in interface WOMLAbstractNamespace.WOMLElementGenerator
- Overrides:
generateElement
in class WOMLGenericElementGenerator
- Throws:
WOMLElementGenerationException
- See Also:
com.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)
contributeToDeclaration
public void contributeToDeclaration(WOMLAbstractNamespace namespace,
WOMLElement element,
WOMutableDeclaration declaration,
NSArray languages,
WOAssociationFactory associationFactory)
throws WOMLElementGenerationException
- Description copied from class:
WOMLGenericElementGenerator
- Default implementation copies all associations in the given namespace to the
declaration.
- Specified by:
contributeToDeclaration
in interface WOMLAbstractNamespace.WOMLElementGenerator
- Overrides:
contributeToDeclaration
in class WOMLGenericElementGenerator
- Throws:
WOMLElementGenerationException
- See Also:
com.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)
Copyright © 2000-2008 Apple Inc.