org.netbeans.modules.xml.wsdl.model.impl
Class ElementFactoryRegistry

java.lang.Object
  extended by org.netbeans.modules.xml.wsdl.model.impl.ElementFactoryRegistry

public class ElementFactoryRegistry
extends java.lang.Object

Author:
rico, Nam Nguyen Registry for factories of WSDL elements. In order to register an ElementFactory, a QName must be provided of an element for which the factory will create a WSDLComponent.

Method Summary
 void addEmbeddedModelQNames(AbstractDocumentModel embeddedModel)
           
 org.netbeans.modules.xml.wsdl.model.spi.ElementFactory get(javax.xml.namespace.QName type)
           
static ElementFactoryRegistry getDefault()
           
 java.util.Set<java.lang.String> getKnownElementNames()
           
 java.util.Set<javax.xml.namespace.QName> getKnownQNames()
           
 void register(org.netbeans.modules.xml.wsdl.model.spi.ElementFactory factory)
           
 void resetQNameCache()
           
 void unregister(org.netbeans.modules.xml.wsdl.model.spi.ElementFactory fac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static ElementFactoryRegistry getDefault()

register

public void register(org.netbeans.modules.xml.wsdl.model.spi.ElementFactory factory)

unregister

public void unregister(org.netbeans.modules.xml.wsdl.model.spi.ElementFactory fac)

get

public org.netbeans.modules.xml.wsdl.model.spi.ElementFactory get(javax.xml.namespace.QName type)

resetQNameCache

public void resetQNameCache()

getKnownQNames

public java.util.Set<javax.xml.namespace.QName> getKnownQNames()

getKnownElementNames

public java.util.Set<java.lang.String> getKnownElementNames()

addEmbeddedModelQNames

public void addEmbeddedModelQNames(AbstractDocumentModel embeddedModel)