Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
org.w3c.dom.bootstrap

Class DOMImplementationRegistry


  • public final class DOMImplementationRegistry
    extends Object
    A factory that enables applications to obtain instances of DOMImplementation.

    Example:

      // get an instance of the DOMImplementation registry
      DOMImplementationRegistry registry =
           DOMImplementationRegistry.newInstance();
      // get a DOM implementation the Level 3 XML module
      DOMImplementation domImpl =
           registry.getDOMImplementation("XML 3.0");
     

    This provides an application with an implementation-independent starting point. DOM implementations may modify this class to meet new security standards or to provide *additional* fallbacks for the list of DOMImplementationSources.

    Since:
    DOM Level 3
    See Also:
    DOMImplementation, DOMImplementationSource
    • Field Detail

      • PROPERTY

        public static final String PROPERTY
        The system property to specify the DOMImplementationSource class names.
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        public static DOMImplementationRegistry newInstance()
                                                     throws ClassNotFoundException,
                                                            InstantiationException,
                                                            IllegalAccessException,
                                                            ClassCastException
        Obtain a new instance of a DOMImplementationRegistry. The DOMImplementationRegistry is initialized by the application or the implementation, depending on the context, by first checking the value of the Java system property org.w3c.dom.DOMImplementationSourceList and the service provider whose contents are at "META_INF/services/org.w3c.dom.DOMImplementationSourceList". The value of this property is a white-space separated list of names of availables classes implementing the DOMImplementationSource interface. Each class listed in the class name list is instantiated and any exceptions encountered are thrown to the application.
        Returns:
        an initialized instance of DOMImplementationRegistry
        Throws:
        ClassNotFoundException - If any specified class can not be found
        InstantiationException - If any specified class is an interface or abstract class
        IllegalAccessException - If the default constructor of a specified class is not accessible
        ClassCastException - If any specified class does not implement DOMImplementationSource
      • getDOMImplementation

        public DOMImplementation getDOMImplementation(String features)
        Return the first implementation that has the desired features, or null if none is found.
        Parameters:
        features - A string that specifies which features are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 1.0 Traversal +Events 2.0"
        Returns:
        An implementation that has the desired features, or null if none found.
      • getDOMImplementationList

        public DOMImplementationList getDOMImplementationList(String features)
        Return a list of implementations that support the desired features.
        Parameters:
        features - A string that specifies which features are required. This is a space separated list in which each feature is specified by its name optionally followed by a space and a version number. This is something like: "XML 1.0 Traversal +Events 2.0"
        Returns:
        A list of DOMImplementations that support the desired features.
      • addSource

        public void addSource(DOMImplementationSource s)
        Register an implementation.
        Parameters:
        s - The source to be registered, may not be null

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-org/w3c/dom/bootstrap/domimplementationregistry.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut