WebObjects 5.4

com.webobjects.appserver.parser.woml.namespaces
Class WOMLURLElementGenerator

java.lang.Object
  extended by com.webobjects.appserver.parser.woml.namespaces.WOMLGenericElementGenerator
      extended by com.webobjects.appserver.parser.woml.namespaces.WOMLURLElementGenerator
All Implemented Interfaces:
WOMLAbstractNamespace.WOMLElementGenerator

public class WOMLURLElementGenerator
extends WOMLGenericElementGenerator


Constructor Summary
WOMLURLElementGenerator()
           
 
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.
protected  boolean shouldKeepExistingAssociation(WOMLAbstractNamespace namespace, WOMLElement element, com.webobjects.appserver._private.WOMutableDeclaration declaration, NSArray<String> languages, String name, WOAssociation association)
          Returns true if the existing association should be kept by the current contributor.
 
Methods inherited from class com.webobjects.appserver.parser.woml.namespaces.WOMLGenericElementGenerator
generateElement, getElementAssociationsForContribution, shouldContributeAssociation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WOMLURLElementGenerator

public WOMLURLElementGenerator()
Method Detail

shouldKeepExistingAssociation

protected boolean shouldKeepExistingAssociation(WOMLAbstractNamespace namespace,
                                                WOMLElement element,
                                                com.webobjects.appserver._private.WOMutableDeclaration declaration,
                                                NSArray<String> languages,
                                                String name,
                                                WOAssociation association)
Description copied from class: WOMLGenericElementGenerator
Returns true if the existing association should be kept by the current contributor. Default implementation return true.

Overrides:
shouldKeepExistingAssociation in class WOMLGenericElementGenerator
Returns:

contributeToDeclaration

public void contributeToDeclaration(WOMLAbstractNamespace namespace,
                                    WOMLElement element,
                                    com.webobjects.appserver._private.WOMutableDeclaration declaration,
                                    NSArray<String> 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)

Last updated Tuesday, October 9, 2007 08:58 PDT

Copyright © 2000-2007 Apple Inc.