UNIX ON-LINE Man Pages - Die Onlinehilfe

Die Syntax von Unixbefehlen wird in den entsprechenden Manpages dokumentiert. Hier können Sie diese Onlinehilfe für viele Standardbefehle abrufen.

Suchoptionen:
Seiten auflisten, welche beginnen mit:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   ANDERE   ALLE
SAX::DocumentLocator(3User Contributed Perl DocumentatiSAX::DocumentLocator(3)

NAME
       XML::SAX::DocumentLocator - Helper class for document locators

SYNOPSIS
         my $locator = XML::SAX::DocumentLocator->new(
             sub { $object->get_public_id },
             sub { $object->get_system_id },
             sub { $reader->current_line },
             sub { $reader->current_column },
             sub { $reader->get_encoding },
             sub { $reader->get_xml_version },
         );

DESCRIPTION
       This module gives you a tied hash reference that calls the specified
       closures when asked for PublicId, SystemId, LineNumber and
       ColumnNumber.

       It is useful for writing SAX Parsers so that you don't have to
       constantly update the line numbers in a hash reference on the object
       you pass to set_document_locator(). See the source code for
       XML::SAX::PurePerl for a usage example.

API
       There is only 1 method: "new". Simply pass it a list of closures that
       when called will return the PublicId, the SystemId, the LineNumber, the
       ColumnNumber, the Encoding and the XMLVersion respectively.

       The closures are passed a single parameter, the key being requested.
       But you're free to ignore that.

perl v5.12.1                      2005-10-14           SAX::DocumentLocator(3)
 

Scannen Sie den Barcode um die Webseite zu öffnen


Quelle: http://www.trinler.net/de/service/doc/linux/man.html?command=XML%3A%3ASAX%3A%3ADocumentLocator
Gedruckt am: 21.09.2017 19:32 GMT+0200 (2017-09-21T19:32:16+02:00)