2022-01-15 21:17:38 +00:00

132 lines
27 KiB
Go

//
// Copyright 2020 FoxyUtils ehf. All rights reserved.
//
// This is a commercial product and requires a license to operate.
// A trial license can be obtained at https://unidoc.io
//
// DO NOT EDIT: generated by unitwist Go source code obfuscator.
//
// Use of this source code is governed by the UniDoc End User License Agreement
// terms that can be accessed at https://unidoc.io/eula/
package terms ;import (_c "encoding/xml";_g "fmt";_f "github.com/unidoc/unioffice";_df "github.com/unidoc/unioffice/common/logger";_fe "github.com/unidoc/unioffice/schema/purl.org/dc/elements";);type ElementsAndRefinementsGroup struct{Choice []*ElementsAndRefinementsGroupChoice ;};func NewElementsAndRefinementsGroup ()*ElementsAndRefinementsGroup {_gge :=&ElementsAndRefinementsGroup {};return _gge ;};
// ValidateWithPath validates the URI and its children, prefixing error messages with path
func (_aac *URI )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the DCMIType and its children, prefixing error messages with path
func (_ec *DCMIType )ValidateWithPath (path string )error {return nil };
// Validate validates the UDC and its children
func (_eba *UDC )Validate ()error {return _eba .ValidateWithPath ("\u0055\u0044\u0043")};func (_dfg *ElementsAndRefinementsGroupChoice )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {if _dfg .Any !=nil {_gff :=_c .StartElement {Name :_c .Name {Local :"\u0064\u0063\u003a\u0061\u006e\u0079"}};for _ ,_ggb :=range _dfg .Any {e .EncodeElement (_ggb ,_gff );};};return nil ;};func (_eaf *ElementsAndRefinementsGroup )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {_faa :for {_cea ,_bbc :=d .Token ();if _bbc !=nil {return _bbc ;};switch _ccg :=_cea .(type ){case _c .StartElement :switch _ccg .Name {case _c .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0072\u0067/\u0064c\u002f\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u002f\u0031\u002e\u0031\u002f",Local :"\u0061\u006e\u0079"}:_db :=NewElementsAndRefinementsGroupChoice ();if _af :=d .DecodeElement (&_db .Any ,&_ccg );_af !=nil {return _af ;};_eaf .Choice =append (_eaf .Choice ,_db );default:_df .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074ed\u0020e\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0045\u006ce\u006d\u0065\u006e\u0074\u0073\u0041\u006e\u0064\u0052\u0065\u0066\u0069\u006e\u0065\u006d\u0065\u006et\u0073\u0047\u0072\u006f\u0075\u0070\u0020\u0025\u0076",_ccg .Name );if _be :=d .Skip ();_be !=nil {return _be ;};};case _c .EndElement :break _faa ;case _c .CharData :};};return nil ;};
// Validate validates the W3CDTF and its children
func (_edf *W3CDTF )Validate ()error {return _edf .ValidateWithPath ("\u0057\u0033\u0043\u0044\u0054\u0046");};type URI struct{};
// Validate validates the ElementsAndRefinementsGroupChoice and its children
func (_da *ElementsAndRefinementsGroupChoice )Validate ()error {return _da .ValidateWithPath ("\u0045\u006c\u0065\u006d\u0065\u006et\u0073\u0041\u006e\u0064\u0052\u0065\u0066\u0069\u006e\u0065\u006d\u0065\u006et\u0073\u0047\u0072\u006f\u0075\u0070\u0043h\u006f\u0069\u0063\u0065");};
// ValidateWithPath validates the MESH and its children, prefixing error messages with path
func (_dbgd *MESH )ValidateWithPath (path string )error {return nil };func (_bba *ElementsAndRefinementsGroupChoice )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {_egg :for {_gdge ,_eeb :=d .Token ();if _eeb !=nil {return _eeb ;};switch _eafa :=_gdge .(type ){case _c .StartElement :switch _eafa .Name {case _c .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0072\u0067/\u0064c\u002f\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u002f\u0031\u002e\u0031\u002f",Local :"\u0061\u006e\u0079"}:_fd :=_fe .NewAny ();if _ab :=d .DecodeElement (_fd ,&_eafa );_ab !=nil {return _ab ;};_bba .Any =append (_bba .Any ,_fd );default:_df .Log .Debug ("\u0073\u006b\u0069\u0070\u0070\u0069\u006e\u0067\u0020\u0075\u006e\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064 \u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0020\u006f\u006e\u0020\u0045\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u0041\u006ed\u0052\u0065\u0066\u0069\u006e\u0065\u006d\u0065\u006e\u0074\u0073\u0047\u0072\u006fu\u0070\u0043\u0068o\u0069\u0063\u0065\u0020\u0025\u0076",_eafa .Name );if _ed :=d .Skip ();_ed !=nil {return _ed ;};};case _c .EndElement :break _egg ;case _c .CharData :};};return nil ;};type TGN struct{};type Point struct{};
// ValidateWithPath validates the LCSH and its children, prefixing error messages with path
func (_acaf *LCSH )ValidateWithPath (path string )error {return nil };type ISO3166 struct{};func (_bed *Period )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_bfdd ,_bedf :=d .Token ();if _bedf !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0050e\u0072\u0069o\u0064\u003a\u0020\u0025\u0073",_bedf );};if _dbd ,_eab :=_bfdd .(_c .EndElement );_eab &&_dbd .Name ==start .Name {break ;};};return nil ;};
// ValidateWithPath validates the RFC3066 and its children, prefixing error messages with path
func (_cac *RFC3066 )ValidateWithPath (path string )error {return nil };func (_gca *RFC1766 )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_ecbd ,_dge :=d .Token ();if _dge !=nil {return _g .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0052\u0046\u0043\u0031\u0037\u0036\u0036\u003a\u0020\u0025\u0073",_dge );};if _afd ,_ffe :=_ecbd .(_c .EndElement );_ffe &&_afd .Name ==start .Name {break ;};};return nil ;};func (_ecg *RFC3066 )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0052F\u0043\u0033\u0030\u0036\u0036";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};
// ValidateWithPath validates the Box and its children, prefixing error messages with path
func (_fea *Box )ValidateWithPath (path string )error {return nil };type W3CDTF struct{};func NewIMT ()*IMT {_bcb :=&IMT {};return _bcb };func (_agg *UDC )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0055\u0044\u0043";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_gb *LCSH )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u004c\u0043\u0053\u0048";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};type DCMIType struct{};
// ValidateWithPath validates the Period and its children, prefixing error messages with path
func (_cfc *Period )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the LCC and its children, prefixing error messages with path
func (_fef *LCC )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the RFC1766 and its children, prefixing error messages with path
func (_ede *RFC1766 )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the DDC and its children, prefixing error messages with path
func (_ad *DDC )ValidateWithPath (path string )error {return nil };func (_edcf *ISO639_2 )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_egb ,_fga :=d .Token ();if _fga !=nil {return _g .Errorf ("p\u0061r\u0073\u0069\u006e\u0067\u0020\u0049\u0053\u004f6\u0033\u0039\u005f\u0032: \u0025\u0073",_fga );};if _baf ,_edd :=_egb .(_c .EndElement );_edd &&_baf .Name ==start .Name {break ;};};return nil ;};func (_bcbf *ISO3166 )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_ac ,_gee :=d .Token ();if _gee !=nil {return _g .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0049\u0053\u004f\u0033\u0031\u0036\u0036\u003a\u0020\u0025\u0073",_gee );};if _ecb ,_aad :=_ac .(_c .EndElement );_aad &&_ecb .Name ==start .Name {break ;};};return nil ;};
// Validate validates the LCSH and its children
func (_fdbd *LCSH )Validate ()error {return _fdbd .ValidateWithPath ("\u004c\u0043\u0053\u0048")};type UDC struct{};
// ValidateWithPath validates the ElementsAndRefinementsGroup and its children, prefixing error messages with path
func (_ee *ElementsAndRefinementsGroup )ValidateWithPath (path string )error {for _gcf ,_cae :=range _ee .Choice {if _bf :=_cae .ValidateWithPath (_g .Sprintf ("\u0025\u0073\u002f\u0043\u0068\u006f\u0069\u0063\u0065\u005b\u0025\u0064\u005d",path ,_gcf ));_bf !=nil {return _bf ;};};return nil ;};
// ValidateWithPath validates the ISO3166 and its children, prefixing error messages with path
func (_facc *ISO3166 )ValidateWithPath (path string )error {return nil };func NewElementOrRefinementContainer ()*ElementOrRefinementContainer {_ff :=&ElementOrRefinementContainer {};return _ff ;};func (_aga *RFC3066 )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_bge ,_fab :=d .Token ();if _fab !=nil {return _g .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0052\u0046\u0043\u0033\u0030\u0036\u0036\u003a\u0020\u0025\u0073",_fab );};if _ebg ,_ddfc :=_bge .(_c .EndElement );_ddfc &&_ebg .Name ==start .Name {break ;};};return nil ;};func NewElementsAndRefinementsGroupChoice ()*ElementsAndRefinementsGroupChoice {_bc :=&ElementsAndRefinementsGroupChoice {};return _bc ;};func (_bg *IMT )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0049\u004d\u0054";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};
// Validate validates the ISO3166 and its children
func (_cdb *ISO3166 )Validate ()error {return _cdb .ValidateWithPath ("\u0049S\u004f\u0033\u0031\u0036\u0036");};func NewRFC1766 ()*RFC1766 {_bbe :=&RFC1766 {};return _bbe };func NewPoint ()*Point {_ffa :=&Point {};return _ffa };type Box struct{};type LCC struct{};
// Validate validates the ISO639_2 and its children
func (_dbg *ISO639_2 )Validate ()error {return _dbg .ValidateWithPath ("\u0049\u0053\u004f\u0036\u0033\u0039\u005f\u0032");};type MESH struct{};
// ValidateWithPath validates the UDC and its children, prefixing error messages with path
func (_ded *UDC )ValidateWithPath (path string )error {return nil };func (_ggbf *IMT )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_dda ,_gdc :=d .Token ();if _gdc !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0049\u004d\u0054\u003a\u0020\u0025\u0073",_gdc );};if _ffg ,_ge :=_dda .(_c .EndElement );_ge &&_ffg .Name ==start .Name {break ;};};return nil ;};func (_fdb *LCSH )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_fcd ,_gbg :=d .Token ();if _gbg !=nil {return _g .Errorf ("\u0070\u0061r\u0073\u0069\u006eg\u0020\u004c\u0043\u0053\u0048\u003a\u0020\u0025\u0073",_gbg );};if _dac ,_bbd :=_fcd .(_c .EndElement );_bbd &&_dac .Name ==start .Name {break ;};};return nil ;};func (_bb *ElementsAndRefinementsGroup )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {if _bb .Choice !=nil {for _ ,_ea :=range _bb .Choice {_ea .MarshalXML (e ,_c .StartElement {});};};return nil ;};func NewDDC ()*DDC {_cg :=&DDC {};return _cg };
// Validate validates the IMT and its children
func (_adc *IMT )Validate ()error {return _adc .ValidateWithPath ("\u0049\u004d\u0054")};
// Validate validates the DDC and its children
func (_gf *DDC )Validate ()error {return _gf .ValidateWithPath ("\u0044\u0044\u0043")};
// ValidateWithPath validates the ElementOrRefinementContainer and its children, prefixing error messages with path
func (_cde *ElementOrRefinementContainer )ValidateWithPath (path string )error {for _cdeb ,_ggf :=range _cde .Choice {if _bab :=_ggf .ValidateWithPath (_g .Sprintf ("\u0025\u0073\u002f\u0043\u0068\u006f\u0069\u0063\u0065\u005b\u0025\u0064\u005d",path ,_cdeb ));_bab !=nil {return _bab ;};};return nil ;};func (_gde *ElementOrRefinementContainer )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {_cfg :for {_cb ,_ba :=d .Token ();if _ba !=nil {return _ba ;};switch _cfd :=_cb .(type ){case _c .StartElement :switch _cfd .Name {case _c .Name {Space :"\u0068\u0074\u0074\u0070\u003a\u002f\u002f\u0070\u0075\u0072\u006c\u002e\u006f\u0072\u0067/\u0064c\u002f\u0065\u006c\u0065\u006d\u0065\u006e\u0074\u0073\u002f\u0031\u002e\u0031\u002f",Local :"\u0061\u006e\u0079"}:_gda :=NewElementsAndRefinementsGroupChoice ();if _bde :=d .DecodeElement (&_gda .Any ,&_cfd );_bde !=nil {return _bde ;};_gde .Choice =append (_gde .Choice ,_gda );default:_df .Log .Debug ("\u0073k\u0069\u0070\u0070\u0069\u006e\u0067\u0020un\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u0065\u0064\u0020\u0065\u006c\u0065\u006de\u006e\u0074 \u006f\u006e\u0020E\u006c\u0065\u006d\u0065\u006e\u0074\u004f\u0072\u0052\u0065\u0066\u0069\u006e\u0065\u006d\u0065n\u0074\u0043on\u0074\u0061\u0069n\u0065\u0072\u0020\u0025\u0076",_cfd .Name );if _cd :=d .Skip ();_cd !=nil {return _cd ;};};case _c .EndElement :break _cfg ;case _c .CharData :};};return nil ;};type ISO639_2 struct{};
// Validate validates the ElementsAndRefinementsGroup and its children
func (_ef *ElementsAndRefinementsGroup )Validate ()error {return _ef .ValidateWithPath ("E\u006c\u0065\u006d\u0065\u006e\u0074s\u0041\u006e\u0064\u0052\u0065\u0066\u0069\u006e\u0065m\u0065\u006e\u0074s\u0047r\u006f\u0075\u0070");};func NewRFC3066 ()*RFC3066 {_cff :=&RFC3066 {};return _cff };type DDC struct{};func NewURI ()*URI {_fed :=&URI {};return _fed };
// Validate validates the ElementOrRefinementContainer and its children
func (_ag *ElementOrRefinementContainer )Validate ()error {return _ag .ValidateWithPath ("\u0045\u006c\u0065\u006de\u006e\u0074\u004f\u0072\u0052\u0065\u0066\u0069\u006e\u0065m\u0065n\u0074\u0043\u006f\u006e\u0074\u0061\u0069n\u0065\u0072");};func NewW3CDTF ()*W3CDTF {_eeg :=&W3CDTF {};return _eeg };
// Validate validates the Box and its children
func (_e *Box )Validate ()error {return _e .ValidateWithPath ("\u0042\u006f\u0078")};type RFC1766 struct{};func NewMESH ()*MESH {_ggc :=&MESH {};return _ggc };func (_bag *ISO3166 )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0049S\u004f\u0033\u0031\u0036\u0036";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_afc *Period )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0050\u0065\u0072\u0069\u006f\u0064";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};
// Validate validates the Period and its children
func (_fbf *Period )Validate ()error {return _fbf .ValidateWithPath ("\u0050\u0065\u0072\u0069\u006f\u0064");};func NewDCMIType ()*DCMIType {_gd :=&DCMIType {};return _gd };
// ValidateWithPath validates the ElementsAndRefinementsGroupChoice and its children, prefixing error messages with path
func (_ga *ElementsAndRefinementsGroupChoice )ValidateWithPath (path string )error {for _dg ,_ddf :=range _ga .Any {if _cdc :=_ddf .ValidateWithPath (_g .Sprintf ("\u0025\u0073\u002f\u0041\u006e\u0079\u005b\u0025\u0064\u005d",path ,_dg ));_cdc !=nil {return _cdc ;};};return nil ;};
// Validate validates the Point and its children
func (_ega *Point )Validate ()error {return _ega .ValidateWithPath ("\u0050\u006f\u0069n\u0074")};type ElementOrRefinementContainer struct{Choice []*ElementsAndRefinementsGroupChoice ;};
// Validate validates the RFC3066 and its children
func (_add *RFC3066 )Validate ()error {return _add .ValidateWithPath ("\u0052F\u0043\u0033\u0030\u0036\u0036");};func (_ce *Box )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0042\u006f\u0078";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func NewISO3166 ()*ISO3166 {_cbb :=&ISO3166 {};return _cbb };func (_de *DDC )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0044\u0044\u0043";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_gdgea *MESH )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_edb ,_bfc :=d .Token ();if _bfc !=nil {return _g .Errorf ("\u0070\u0061r\u0073\u0069\u006eg\u0020\u004d\u0045\u0053\u0048\u003a\u0020\u0025\u0073",_bfc );};if _fdc ,_eec :=_edb .(_c .EndElement );_eec &&_fdc .Name ==start .Name {break ;};};return nil ;};
// ValidateWithPath validates the ISO639_2 and its children, prefixing error messages with path
func (_aca *ISO639_2 )ValidateWithPath (path string )error {return nil };func NewUDC ()*UDC {_cdec :=&UDC {};return _cdec };func (_cad *UDC )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_dee ,_bdb :=d .Token ();if _bdb !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0055\u0044\u0043\u003a\u0020\u0025\u0073",_bdb );};if _ddd ,_feb :=_dee .(_c .EndElement );_feb &&_ddd .Name ==start .Name {break ;};};return nil ;};func (_aa *ElementOrRefinementContainer )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0065\u006c\u0065\u006de\u006e\u0074\u004f\u0072\u0052\u0065\u0066\u0069\u006e\u0065m\u0065n\u0074\u0043\u006f\u006e\u0074\u0061\u0069n\u0065\u0072";e .EncodeToken (start );if _aa .Choice !=nil {for _ ,_eg :=range _aa .Choice {_eg .MarshalXML (e ,_c .StartElement {});};};e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};
// Validate validates the MESH and its children
func (_ade *MESH )Validate ()error {return _ade .ValidateWithPath ("\u004d\u0045\u0053\u0048")};func (_fb *Box )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_a ,_fba :=d .Token ();if _fba !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0042\u006f\u0078\u003a\u0020\u0025\u0073",_fba );};if _cf ,_b :=_a .(_c .EndElement );_b &&_cf .Name ==start .Name {break ;};};return nil ;};type ElementsAndRefinementsGroupChoice struct{Any []*_fe .Any ;};
// Validate validates the URI and its children
func (_gdb *URI )Validate ()error {return _gdb .ValidateWithPath ("\u0055\u0052\u0049")};func (_gg *DDC )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_aed ,_bd :=d .Token ();if _bd !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0044\u0044\u0043\u003a\u0020\u0025\u0073",_bd );};if _fcf ,_cc :=_aed .(_c .EndElement );_cc &&_fcf .Name ==start .Name {break ;};};return nil ;};func NewISO639_2 ()*ISO639_2 {_cag :=&ISO639_2 {};return _cag };type RFC3066 struct{};
// Validate validates the DCMIType and its children
func (_dd *DCMIType )Validate ()error {return _dd .ValidateWithPath ("\u0044\u0043\u004d\u0049\u0054\u0079\u0070\u0065");};type Period struct{};
// Validate validates the RFC1766 and its children
func (_gffd *RFC1766 )Validate ()error {return _gffd .ValidateWithPath ("\u0052F\u0043\u0031\u0037\u0036\u0036");};type LCSH struct{};func (_bfdc *W3CDTF )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_caca ,_caa :=d .Token ();if _caa !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u00573\u0043\u0044T\u0046\u003a\u0020\u0025\u0073",_caa );};if _bgc ,_gdbd :=_caca .(_c .EndElement );_gdbd &&_bgc .Name ==start .Name {break ;};};return nil ;};func (_fa *DCMIType )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0044\u0043\u004d\u0049\u0054\u0079\u0070\u0065";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func NewTGN ()*TGN {_addc :=&TGN {};return _addc };func (_gfd *RFC1766 )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0052F\u0043\u0031\u0037\u0036\u0036";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_dea *TGN )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0054\u0047\u004e";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_aae *LCC )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u004c\u0043\u0043";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};type IMT struct{};func NewBox ()*Box {_ca :=&Box {};return _ca };func (_fc *DCMIType )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_ae ,_dff :=d .Token ();if _dff !=nil {return _g .Errorf ("p\u0061r\u0073\u0069\u006e\u0067\u0020\u0044\u0043\u004dI\u0054\u0079\u0070\u0065: \u0025\u0073",_dff );};if _gdg ,_feg :=_ae .(_c .EndElement );_feg &&_gdg .Name ==start .Name {break ;};};return nil ;};func NewLCC ()*LCC {_ddfa :=&LCC {};return _ddfa };
// ValidateWithPath validates the Point and its children, prefixing error messages with path
func (_dfge *Point )ValidateWithPath (path string )error {return nil };func NewLCSH ()*LCSH {_geee :=&LCSH {};return _geee };
// ValidateWithPath validates the TGN and its children, prefixing error messages with path
func (_gbgf *TGN )ValidateWithPath (path string )error {return nil };
// Validate validates the LCC and its children
func (_fege *LCC )Validate ()error {return _fege .ValidateWithPath ("\u004c\u0043\u0043")};func (_cgf *URI )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_ceg ,_dag :=d .Token ();if _dag !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0055\u0052\u0049\u003a\u0020\u0025\u0073",_dag );};if _dgd ,_ebe :=_ceg .(_c .EndElement );_ebe &&_dgd .Name ==start .Name {break ;};};return nil ;};
// ValidateWithPath validates the W3CDTF and its children, prefixing error messages with path
func (_abb *W3CDTF )ValidateWithPath (path string )error {return nil };func (_fbc *MESH )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u004d\u0045\u0053\u0048";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};
// Validate validates the TGN and its children
func (_bdgg *TGN )Validate ()error {return _bdgg .ValidateWithPath ("\u0054\u0047\u004e")};
// ValidateWithPath validates the IMT and its children, prefixing error messages with path
func (_fg *IMT )ValidateWithPath (path string )error {return nil };func (_ecc *LCC )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_dgf ,_babe :=d .Token ();if _babe !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u004c\u0043\u0043\u003a\u0020\u0025\u0073",_babe );};if _eafe ,_faf :=_dgf .(_c .EndElement );_faf &&_eafe .Name ==start .Name {break ;};};return nil ;};func (_adb *Point )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0050\u006f\u0069n\u0074";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func NewPeriod ()*Period {_bfd :=&Period {};return _bfd };func (_edc *ISO639_2 )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0049\u0053\u004f\u0036\u0033\u0039\u002d\u0032";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_gfc *Point )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_edcg ,_eb :=d .Token ();if _eb !=nil {return _g .Errorf ("\u0070\u0061\u0072\u0073\u0069\u006e\u0067\u0020\u0050\u006f\u0069\u006et\u003a\u0020\u0025\u0073",_eb );};if _egf ,_bdg :=_edcg .(_c .EndElement );_bdg &&_egf .Name ==start .Name {break ;};};return nil ;};func (_fec *W3CDTF )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0057\u0033\u0043\u0044\u0054\u0046";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func (_fbg *TGN )UnmarshalXML (d *_c .Decoder ,start _c .StartElement )error {for {_daa ,_bedb :=d .Token ();if _bedb !=nil {return _g .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0054\u0047\u004e\u003a\u0020\u0025\u0073",_bedb );};if _fff ,_adbc :=_daa .(_c .EndElement );_adbc &&_fff .Name ==start .Name {break ;};};return nil ;};func (_aeg *URI )MarshalXML (e *_c .Encoder ,start _c .StartElement )error {start .Name .Local ="\u0055\u0052\u0049";e .EncodeToken (start );e .EncodeToken (_c .EndElement {Name :start .Name });return nil ;};func init (){_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u004c\u0043\u0053\u0048",NewLCSH );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u004d\u0045\u0053\u0048",NewMESH );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0044\u0044\u0043",NewDDC );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u004c\u0043\u0043",NewLCC );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0055\u0044\u0043",NewUDC );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0050\u0065\u0072\u0069\u006f\u0064",NewPeriod );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0057\u0033\u0043\u0044\u0054\u0046",NewW3CDTF );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0044\u0043\u004d\u0049\u0054\u0079\u0070\u0065",NewDCMIType );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0049\u004d\u0054",NewIMT );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0055\u0052\u0049",NewURI );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0049\u0053\u004f\u0036\u0033\u0039\u002d\u0032",NewISO639_2 );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0052F\u0043\u0031\u0037\u0036\u0036",NewRFC1766 );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0052F\u0043\u0033\u0030\u0036\u0036",NewRFC3066 );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0050\u006f\u0069n\u0074",NewPoint );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0049S\u004f\u0033\u0031\u0036\u0036",NewISO3166 );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0042\u006f\u0078",NewBox );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0054\u0047\u004e",NewTGN );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0065\u006c\u0065\u006de\u006e\u0074\u004f\u0072\u0052\u0065\u0066\u0069\u006e\u0065m\u0065n\u0074\u0043\u006f\u006e\u0074\u0061\u0069n\u0065\u0072",NewElementOrRefinementContainer );_f .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","e\u006c\u0065\u006d\u0065\u006e\u0074s\u0041\u006e\u0064\u0052\u0065\u0066\u0069\u006e\u0065m\u0065\u006e\u0074s\u0047r\u006f\u0075\u0070",NewElementsAndRefinementsGroup );};