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.
javax.xml.transform.sax

Class SAXSource

  • All Implemented Interfaces:
    Source
    Direct Known Subclasses:
    JAXBSource

    public class SAXSource
    extends Object
    implements Source

    Acts as an holder for SAX-style Source.

    Note that XSLT requires namespace support. Attempting to transform an input source that is not generated with a namespace-aware parser may result in errors. Parsers can be made namespace aware by calling the SAXParserFactory.setNamespaceAware(boolean awareness) method.

    • Method Detail

      • setXMLReader

        public void setXMLReader(XMLReader reader)
        Set the XMLReader to be used for the Source.
        Parameters:
        reader - A valid XMLReader or XMLFilter reference.
      • getXMLReader

        public XMLReader getXMLReader()
        Get the XMLReader to be used for the Source.
        Returns:
        A valid XMLReader or XMLFilter reference, or null.
      • setInputSource

        public void setInputSource(InputSource inputSource)
        Set the SAX InputSource to be used for the Source.
        Parameters:
        inputSource - A valid InputSource reference.
      • getInputSource

        public InputSource getInputSource()
        Get the SAX InputSource to be used for the Source.
        Returns:
        A valid InputSource reference, or null.
      • setSystemId

        public void setSystemId(String systemId)
        Set the system identifier for this Source. If an input source has already been set, it will set the system ID or that input source, otherwise it will create a new input source.

        The system identifier is optional if there is a byte stream or a character stream, but it is still useful to provide one, since the application can use it to resolve relative URIs and can include it in error messages and warnings (the parser will attempt to open a connection to the URI only if no byte stream or character stream is specified).

        Specified by:
        setSystemId in interface Source
        Parameters:
        systemId - The system identifier as a URI string.
      • getSystemId

        public String getSystemId()

        Get the base ID (URI or system ID) from where URIs will be resolved.

        Specified by:
        getSystemId in interface Source
        Returns:
        Base URL for the Source, or null.
      • sourceToInputSource

        public static InputSource sourceToInputSource(Source source)
        Attempt to obtain a SAX InputSource object from a Source object.
        Parameters:
        source - Must be a non-null Source reference.
        Returns:
        An InputSource, or null if Source can not be converted.

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-javax/xml/transform/sax/saxsource.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