1Biber::DataModel(3) User Contributed Perl Documentation Biber::DataModel(3)
2
3
4
6 Biber::DataModel
7
8 new
9 Initialize a Biber::DataModel object
10 We are passing in an array of datamodels as there may be more than one in tool
11 mode - the one from biber-tool.conf and modifications in a user .conf
12 Later takes precedence.
13
14 get_outcase
15 Returns the original datamodel field/entrytype case for output
16
17 constants
18 Returns array ref of constant names
19
20 get_constant_type
21 Returns a constant type
22
23 get_constant_value
24 Returns a constant value
25
26 is_multiscript
27 Returns boolean to say if a field is a multiscript field
28
29 fieldtypes
30 Returns array ref of legal fieldtypes
31
32 datatypes
33 Returns array ref of legal datatypes
34
35 is_field
36 Returns boolean to say if a field is a legal field.
37 Allows for fields with meta markers whose marked field should be in
38 the datamodel.
39
40 entrytypes
41 Returns array ref of legal entrytypes
42
43 is_entrytype
44 Returns boolean to say if an entrytype is a legal entrytype
45
46 is_field_for_entrytype
47 Returns boolean to say if a field is legal for an entrytype
48
49 entrytype_is_skipout
50 Returns boolean depending on whether an entrytype is to be skipped on output
51
52 get_fields_of_fieldtype
53 Retrieve fields of a certain biblatex fieldtype from data model
54 Return in sorted order so that bbl order doesn't change when changing
55 .bcf. This really messes up tests otherwise.
56
57 get_fields_of_fieldformat
58 Retrieve fields of a certain format from data model
59 Return in sorted order so that bbl order doesn't change when changing
60 .bcf. This really messes up tests otherwise.
61
62 get_fields_of_datatype
63 Retrieve fields of a certain biblatex datatype from data model
64 Return in sorted order so that bbl order doesn't change when changing
65 .bcf. This really messes up tests otherwise.
66
67 get_fields_of_type
68 Retrieve fields of a certain biblatex type from data model
69 Return in sorted order so that bbl order doesn't change when changing
70 .bcf. This really messes up tests otherwise.
71
72 is_fields_of_type
73 Returns boolean to say if the given fieldtype/datatype/format is a valid combination
74
75 get_fieldtype
76 Returns the fieldtype of a field
77
78 get_datatype
79 Returns the datatype of a field
80
81 get_fieldformat
82 Returns the format of a field
83
84 get_dm_for_field
85 Returns the fieldtype, datatype and format of a field
86
87 field_is_fieldtype
88 Returns boolean depending on whether a field is a certain biblatex fieldtype
89
90 field_is_datatype
91 Returns boolean depending on whether a field is a certain biblatex datatype
92
93 field_is_type
94 Returns boolean depending on whether a field is a certain biblatex fieldtype
95 and datatype
96
97 field_is_nullok
98 Returns boolean depending on whether a field is ok to be null
99
100 field_is_skipout
101 Returns boolean depending on whether a field is to be skipped on output
102
103 check_mandatory_constraints
104 Checks constraints of type "mandatory" on entry and
105 returns an arry of warnings, if any
106
107 check_conditional_constraints
108 Checks constraints of type "conditional" on entry and
109 returns an arry of warnings, if any
110
111 check_data_constraints
112 Checks constraints of type "data" on entry and
113 returns an array of warnings, if any
114
115 dump
116 Dump Biber::DataModel object
117
118 generate_bltxml_schema
119 Generate a RelaxNG XML schema from the datamodel for BibLaTeXML datasources
120
121 generate_bblxml_schema
122 Generate a RelaxNG XML schema from the datamodel for bblXML output
123
125 Philip Kime "<philip at kime.org.uk>"
126
128 Please report any bugs or feature requests on our Github tracker at
129 <https://github.com/plk/biber/issues>.
130
132 Copyright 2012-2019 Philip Kime, all rights reserved.
133
134 This module is free software. You can redistribute it and/or modify it
135 under the terms of the Artistic License 2.0.
136
137 This program is distributed in the hope that it will be useful, but
138 without any warranty; without even the implied warranty of
139 merchantability or fitness for a particular purpose.
140
141
142
143perl v5.32.0 2020-07-27 Biber::DataModel(3)