org.netbeans.modules.xml.xam.dom
Interface ComponentFactory<C extends DocumentComponent<C>>

All Known Subinterfaces:
WSDLComponentFactory
All Known Implementing Classes:
WSDLComponentFactoryImpl

public interface ComponentFactory<C extends DocumentComponent<C>>

Factory for providing concrete instance of components.

Author:
Chris Webster

Method Summary
 C create(org.w3c.dom.Element child, C parent)
           
 

Method Detail

create

C create(org.w3c.dom.Element child,
         C parent)
Parameters:
child - to create model object from
parent - containing this element
Returns:
instance of model object for the given element.