Class NotifyingParserPool

    • Field Detail

      • containmentOnly

        protected final boolean containmentOnly
        Only set containment reference values, ignore the rest.
    • Constructor Detail

      • NotifyingParserPool

        public NotifyingParserPool​(boolean containmentOnly)
        Default constructor.
        Parameters:
        containmentOnly - only set containment reference values. The model will be mostly empty except for its containment tree.
    • Method Detail

      • createDefaultHandler

        protected XMLDefaultHandler createDefaultHandler​(XMLResource resource,
                                                         XMLLoad xmlLoad,
                                                         XMLHelper helper,
                                                         Map<?,​?> options)
        Create the default (unwrapped) XMLDefaultHandler. This is merely a call to super but can be sub-classed.
        Parameters:
        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.
        Returns:
        The created XMLDefaultHandler.
        See Also:
        getDefaultHandler(XMLResource, XMLLoad, XMLHelper, Map)
      • addProxyListener

        public void addProxyListener​(IProxyCreationListener listener)
        Add a proxy creation listener to this parser pool's list.
        Parameters:
        listener - The listener to add to this pool's list.
      • removeProxyListener

        public void removeProxyListener​(IProxyCreationListener listener)
        Remove a proxy creation listener from this parser pool's list.
        Parameters:
        listener - The listener to remove from this pool's list.
      • addNamespaceDeclarationListener

        public void addNamespaceDeclarationListener​(INamespaceDeclarationListener listener)
        Add a namespace declaration listener to this parser pool's list.
        Parameters:
        listener - The listener to add to this pool's list.
      • removeNamespaceDeclarationListener

        public void removeNamespaceDeclarationListener​(INamespaceDeclarationListener listener)
        Remove a namespace declaration listener from this parser pool's list.
        Parameters:
        listener - The listener to remove from this pool's list.