|
NAMEBiber::DataModel - Biber::DataModel objects new Initialize a Biber::DataModel object
We are passing in an array of datamodels as there may be more than one in tool
mode - the one from biber-tool.conf and modifications in a user .conf
We first merge these before extracting data. In case of conflicts, user .conf
datamodel takes precedence.
get_outcaseReturns the original datamodel field/entrytype case for output constantsReturns array ref of constant names get_constant_typeReturns a constant type get_constant_valueReturns a constant value is_multiscriptReturns boolean to say if a field is a multiscript field fieldtypesReturns array ref of legal fieldtypes datatypesReturns array ref of legal datatypes is_field Returns boolean to say if a field is a legal field.
Allows for fields with meta markers whose marked field should be in
the datamodel.
entrytypesReturns array ref of legal entrytypes is_entrytypeReturns boolean to say if an entrytype is a legal entrytype is_field_for_entrytypeReturns boolean to say if a field is legal for an entrytype entrytype_is_skipoutReturns boolean depending on whether an entrytype is to be skipped on output get_fields_of_fieldtype Retrieve fields of a certain biblatex fieldtype from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
get_fields_of_fieldformat Retrieve fields of a certain format from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
get_fields_of_datatype Retrieve fields of a certain biblatex datatype from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
get_fields_of_type Retrieve fields of a certain biblatex type from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
is_fields_of_typeReturns boolean to say if the given fieldtype/datatype/format is a valid combination get_fieldtypeReturns the fieldtype of a field get_datatypeReturns the datatype of a field get_fieldformatReturns the format of a field get_dm_for_fieldReturns the fieldtype, datatype and format of a field field_is_fieldtypeReturns boolean depending on whether a field is a certain biblatex fieldtype field_is_datatypeReturns boolean depending on whether a field is a certain biblatex datatype field_is_type Returns boolean depending on whether a field is a certain biblatex fieldtype
and datatype
field_is_nullokReturns boolean depending on whether a field is ok to be null field_is_skipoutReturns boolean depending on whether a field is to be skipped on output check_mandatory_constraints Checks constraints of type "mandatory" on entry and
returns an arry of warnings, if any
check_conditional_constraints Checks constraints of type "conditional" on entry and
returns an arry of warnings, if any
check_data_constraints Checks constraints of type "data" on entry and
returns an array of warnings, if any
check_datatypes Checks datatypes of fields against fields. These are not explicit constraints
in the datamodel but rather checks of the datatype of fields in the datamodel.
dumpDump Biber::DataModel object generate_bltxml_schemaGenerate a RelaxNG XML schema from the datamodel for BibLaTeXML datasources generate_bblxml_schemaGenerate a RelaxNG XML schema from the datamodel for bblXML output AUTHORSPhilip Kime "<philip at kime.org.uk>" BUGSPlease report any bugs or feature requests on our Github tracker at <https://github.com/plk/biber/issues>. COPYRIGHT & LICENSECopyright 2012-2024 Philip Kime, all rights reserved. This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. This program 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.
|