Difference between revisions of "API:EPrints/DataObj/SAX/Handler"
Line 7: | Line 7: | ||
==NAME== | ==NAME== | ||
'''EPrints::DataObj::SAX::Handler''' - SAX handler for EPrints data objects. | '''EPrints::DataObj::SAX::Handler''' - SAX handler for EPrints data objects. | ||
+ | |||
+ | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
+ | <span style='display:none'>User Comments</span> | ||
+ | <!-- Edit below this comment --> | ||
+ | |||
+ | |||
+ | <!-- Pod2Wiki= --> | ||
+ | </div> | ||
+ | <!-- Pod2Wiki=head_description --> | ||
+ | ==DESCRIPTION== | ||
+ | This class provides a SAX handler for parsing EPrints data objects. | ||
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
Line 17: | Line 28: | ||
<!-- Pod2Wiki=head_methods --> | <!-- Pod2Wiki=head_methods --> | ||
==METHODS== | ==METHODS== | ||
+ | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
+ | <span style='display:none'>User Comments</span> | ||
+ | <!-- Edit below this comment --> | ||
+ | |||
+ | |||
+ | <!-- Pod2Wiki= --> | ||
+ | </div> | ||
+ | <!-- Pod2Wiki=head_constructor_methods --> | ||
+ | ===Constructor Methods=== | ||
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
<span style='display:none'>User Comments</span> | <span style='display:none'>User Comments</span> | ||
Line 25: | Line 45: | ||
</div> | </div> | ||
<!-- Pod2Wiki=item_new --> | <!-- Pod2Wiki=item_new --> | ||
− | ===new=== | + | ====new==== |
EPrints::DataObj::SAX::Handler->new | EPrints::DataObj::SAX::Handler->new | ||
Create new SAX Handler. | Create new SAX Handler. | ||
+ | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
+ | <span style='display:none'>User Comments</span> | ||
+ | <!-- Edit below this comment --> | ||
+ | |||
+ | |||
+ | <!-- Pod2Wiki= --> | ||
+ | </div> | ||
+ | <!-- Pod2Wiki=head_object_methods --> | ||
+ | ===Object Methods=== | ||
<div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | <div style='background-color: #e8e8f; margin: 0.5em 0em 1em 0em; border: solid 1px #cce; padding: 0em 1em 0em 1em; font-size: 80%; '> | ||
<span style='display:none'>User Comments</span> | <span style='display:none'>User Comments</span> | ||
Line 38: | Line 67: | ||
</div> | </div> | ||
<!-- Pod2Wiki=item_start_element --> | <!-- Pod2Wiki=item_start_element --> | ||
− | ===start_element=== | + | ====start_element==== |
$sax_handler->start_element( $data ) | $sax_handler->start_element( $data ) | ||
Line 51: | Line 80: | ||
</div> | </div> | ||
<!-- Pod2Wiki=item_end_element --> | <!-- Pod2Wiki=item_end_element --> | ||
− | ===end_element=== | + | ====end_element==== |
$sax_handler->end_element( $data ) | $sax_handler->end_element( $data ) | ||
Line 64: | Line 93: | ||
</div> | </div> | ||
<!-- Pod2Wiki=item_characters --> | <!-- Pod2Wiki=item_characters --> | ||
− | ===characters=== | + | ====characters==== |
$sax_handler->characters( $data ) | $sax_handler->characters( $data ) |
Latest revision as of 10:43, 10 January 2022
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki
Contents
NAME
EPrints::DataObj::SAX::Handler - SAX handler for EPrints data objects.
DESCRIPTION
This class provides a SAX handler for parsing EPrints data objects.
METHODS
Constructor Methods
new
EPrints::DataObj::SAX::Handler->new
Create new SAX Handler.
Object Methods
start_element
$sax_handler->start_element( $data )
Use $data to start a new element.
end_element
$sax_handler->end_element( $data )
Use $data to end an element.
characters
$sax_handler->characters( $data )
Use $data to add characters to element.
COPYRIGHT
© Copyright 2000-2024 University of Southampton.
EPrints 3.4 is supplied by EPrints Services.
http://www.eprints.org/eprints-3.4/
LICENSE
This file is part of EPrints 3.4 http://www.eprints.org/.
EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.
EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.