javax.enterprise.deploy.model

Interface DDBean

  • All Known Subinterfaces:
    DDBeanRoot

    public interface DDBean
    An interface for beans that represent a fragment of a standard deployment descriptor. A link is provided to the Java EE application that includes this bean.
    • Method Detail

      • getXpath

        String getXpath()
        Returns the original xpath string provided by the DConfigBean.
        Returns:
        The XPath of this Bean.
      • getText

        String getText()
        Returns the XML text for by this bean.
        Returns:
        The XML text for this Bean.
      • getId

        String getId()
        Returns a tool-specific reference for attribute ID on an element in the deployment descriptor. This attribute is defined for J2EE 1.2 and 1.3 components.
        Returns:
        The XML text for this Bean or 'null' if no attribute was specifed with the tag.
      • getRoot

        DDBeanRoot getRoot()
        Return the root element for this DDBean.
        Returns:
        The DDBeanRoot at the root of this DDBean tree.
      • getChildBean

        DDBean[] getChildBean(String xpath)
        Return a list of DDBeans based upon the XPath.
        Parameters:
        xpath - An XPath string referring to a location in the same deployment descriptor as this standard bean.
        Returns:
        a list of DDBeans or 'null' if no matching XML data is found.
      • getText

        String[] getText(String xpath)
        Return a list of text values for a given XPath in the deployment descriptor.
        Parameters:
        xpath - An XPath.
        Returns:
        The list text values for this XPath or 'null' if no matching XML data is found.
      • addXpathListener

        void addXpathListener(String xpath,
                              XpathListener xpl)
        Register a listener for a specific XPath.
        Parameters:
        xpath - The XPath this listener is to be registered for.
        xpl - The listener object.
      • removeXpathListener

        void removeXpathListener(String xpath,
                                 XpathListener xpl)
        Unregister a listener for a specific XPath.
        Parameters:
        xpath - The XPath from which this listener is to be unregistered.
        xpl - The listener object.
      • getAttributeNames

        String[] getAttributeNames()
        Returns the list of attribute names associated with the XML element.
        Returns:
        a list of attribute names on this element. Null is returned if there are no attributes.
      • getAttributeValue

        String getAttributeValue(String attrName)
        Returns the string value of the named attribute.
        Returns:
        a the value of the attribute. Null is returned if there is no such attribute.

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 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/enterprise/deploy/model/ddbean.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 van 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.