public class ProxyNotifierParserPool extends XMLParserPoolImpl
proxy
creation listeners
of each and every proxy it sees while loading an XML file as an EMF model.Modifier and Type | Class and Description |
---|---|
static interface |
ProxyNotifierParserPool.IProxyCreationListener
Describes the contract for a proxy creation listener as can be notifier from this pool's created
parsers.
|
Constructor and Description |
---|
ProxyNotifierParserPool()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProxyListener(ProxyNotifierParserPool.IProxyCreationListener listener)
Add a proxy creation listener to this parser pool's list.
|
protected XMLDefaultHandler |
createDefaultHandler(XMLResource resource,
XMLLoad xmlLoad,
XMLHelper helper,
Map<?,?> options)
Create the default (unwrapped) XMLDefaultHandler.
|
XMLDefaultHandler |
getDefaultHandler(XMLResource resource,
XMLLoad xmlLoad,
XMLHelper helper,
Map<?,?> options) |
void |
removeProxyListener(ProxyNotifierParserPool.IProxyCreationListener listener)
Remove a proxy creation listener from this parser pool's list.
|
get, makeParser, release, releaseDefaultHandler
public XMLDefaultHandler getDefaultHandler(XMLResource resource, XMLLoad xmlLoad, XMLHelper helper, Map<?,?> options)
getDefaultHandler
in interface XMLParserPool
getDefaultHandler
in class XMLParserPoolImpl
protected XMLDefaultHandler createDefaultHandler(XMLResource resource, XMLLoad xmlLoad, XMLHelper helper, Map<?,?> options)
super
but can
be sub-classed.resource
- The resource to load.xmlLoad
- The XML load to pass on tho the handler.helper
- The XML helper to pass on tho the handler.options
- The load options for this resource.getDefaultHandler(XMLResource, XMLLoad, XMLHelper, Map)
public void addProxyListener(ProxyNotifierParserPool.IProxyCreationListener listener)
listener
- The listener to add to this pool's list.public void removeProxyListener(ProxyNotifierParserPool.IProxyCreationListener listener)
listener
- The listener to remove from this pool's list.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.