2022-02-25 19:20:45 +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 (_a "encoding/xml";_f "fmt";_g "github.com/unidoc/unioffice";_aa "github.com/unidoc/unioffice/common/logger";_b "github.com/unidoc/unioffice/schema/purl.org/dc/elements";);type URI struct{};type ElementsAndRefinementsGroupChoice struct{Any []*_b .Any ;};func (_gdd *ISO639_2 )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0049\u0053\u004f\u0036\u0033\u0039\u002d\u0032";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func (_da *LCC )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_edc ,_cga :=d .Token ();if _cga !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u004c\u0043\u0043\u003a\u0020\u0025\u0073",_cga );};if _fge ,_eda :=_edc .(_a .EndElement );_eda &&_fge .Name ==start .Name {break ;};};return nil ;};func (_ag *IMT )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0049\u004d\u0054";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// ValidateWithPath validates the Period and its children, prefixing error messages with path
func (_dac *Period )ValidateWithPath (path string )error {return nil };func NewDDC ()*DDC {_be :=&DDC {};return _be };
// ValidateWithPath validates the RFC3066 and its children, prefixing error messages with path
func (_gbc *RFC3066 )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the DCMIType and its children, prefixing error messages with path
func (_de *DCMIType )ValidateWithPath (path string )error {return nil };func (_ggf *MESH )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u004d\u0045\u0053\u0048";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func (_dcg *LCSH )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_eb ,_edg :=d .Token ();if _edg !=nil {return _f .Errorf ("\u0070\u0061r\u0073\u0069\u006eg\u0020\u004c\u0043\u0053\u0048\u003a\u0020\u0025\u0073",_edg );};if _cdb ,_ede :=_eb .(_a .EndElement );_ede &&_cdb .Name ==start .Name {break ;};};return nil ;};func (_ee *DDC )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0044\u0044\u0043";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// ValidateWithPath validates the ElementOrRefinementContainer and its children, prefixing error messages with path
func (_efa *ElementOrRefinementContainer )ValidateWithPath (path string )error {for _ge ,_ac :=range _efa .Choice {if _ded :=_ac .ValidateWithPath (_f .Sprintf ("\u0025\u0073\u002f\u0043\u0068\u006f\u0069\u0063\u0065\u005b\u0025\u0064\u005d",path ,_ge ));_ded !=nil {return _ded ;};};return nil ;};func (_eee *ISO3166 )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_def ,_ggc :=d .Token ();if _ggc !=nil {return _f .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0049\u0053\u004f\u0033\u0031\u0036\u0036\u003a\u0020\u0025\u0073",_ggc );};if _ccbf ,_caa :=_def .(_a .EndElement );_caa &&_ccbf .Name ==start .Name {break ;};};return nil ;};func (_egde *Point )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0050\u006f\u0069n\u0074";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// ValidateWithPath validates the DDC and its children, prefixing error messages with path
func (_cc *DDC )ValidateWithPath (path string )error {return nil };
// Validate validates the IMT and its children
func (_cdc *IMT )Validate ()error {return _cdc .ValidateWithPath ("\u0049\u004d\u0054")};
// Validate validates the TGN and its children
func (_gce *TGN )Validate ()error {return _gce .ValidateWithPath ("\u0054\u0047\u004e")};type ISO639_2 struct{};type LCC struct{};func (_acd *LCSH )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u004c\u0043\u0053\u0048";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// Validate validates the ElementsAndRefinementsGroup and its children
func (_ab *ElementsAndRefinementsGroup )Validate ()error {return _ab .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 NewW3CDTF ()*W3CDTF {_ebcc :=&W3CDTF {};return _ebcc };
// ValidateWithPath validates the URI and its children, prefixing error messages with path
func (_gdca *URI )ValidateWithPath (path string )error {return nil };func (_gcb *Period )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_bccb ,_egb :=d .Token ();if _egb !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0050e\u0072\u0069o\u0064\u003a\u0020\u0025\u0073",_egb );};if _ccbb ,_ebd :=_bccb .(_a .EndElement );_ebd &&_ccbb .Name ==start .Name {break ;};};return nil ;};
// ValidateWithPath validates the TGN and its children, prefixing error messages with path
func (_bffa *TGN )ValidateWithPath (path string )error {return nil };
// Validate validates the ISO3166 and its children
func (_gab *ISO3166 )Validate ()error {return _gab .ValidateWithPath ("\u0049S\u004f\u0033\u0031\u0036\u0036");};
// Validate validates the ISO639_2 and its children
func (_dea *ISO639_2 )Validate ()error {return _dea .ValidateWithPath ("\u0049\u0053\u004f\u0036\u0033\u0039\u005f\u0032");};type UDC struct{};func (_dbd *TGN )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0054\u0047\u004e";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func (_ca *ElementOrRefinementContainer )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {_ga :for {_ff ,_fg :=d .Token ();if _fg !=nil {return _fg ;};switch _fde :=_ff .(type ){case _a .StartElement :switch _fde .Name {case _a .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"}:_bf :=NewElementsAndRefinementsGroupChoice ();if _fbe :=d .DecodeElement (&_bf .Any ,&_fde );_fbe !=nil {return _fbe ;};_ca .Choice =append (_ca .Choice ,_bf );default:_aa .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",_fde .Name );if _ec :=d .Skip ();_ec !=nil {return _ec ;};};case _a .EndElement :break _ga ;case _a .CharData :};};return nil ;};func (_gbg *ElementsAndRefinementsGroupChoice )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {_ccg :for {_aee ,_aad :=d .Token ();if _aad !=nil {return _aad ;};switch _aae :=_aee .(type ){case _a .StartElement :switch _aae .Name {case _a .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"}:_bff :=_b .NewAny ();if _gdc :=d .DecodeElement (_bff ,&_aae );_gdc !=nil {return _gdc ;};_gbg .Any =append (_gbg .Any ,_bff );default:_aa .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",_aae .Name );if _cac :=d .Skip ();_cac !=nil {return _cac ;};};case _a .EndElement :break _ccg ;case _a .CharData :};};return nil ;};
// Validate validates the Point and its children
func (_ffe *Point )Validate ()error {return _ffe .ValidateWithPath ("\u0050\u006f\u0069n\u0074")};func (_aff *ElementOrRefinementContainer )MarshalXML (e *_a .Encoder ,start _a .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 _aff .Choice !=nil {for _ ,_gb :=range _aff .Choice {_gb .MarshalXML (e ,_a .StartElement {});};};e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};type Point struct{};
// Validate validates the W3CDTF and its children
func (_egbc *W3CDTF )Validate ()error {return _egbc .ValidateWithPath ("\u0057\u0033\u0043\u0044\u0054\u0046");};
// ValidateWithPath validates the ISO3166 and its children, prefixing error messages with path
func (_gdbg *ISO3166 )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the LCSH and its children, prefixing error messages with path
func (_eg *LCSH )ValidateWithPath (path string )error {return nil };func (_gfa *LCC )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u004c\u0043\u0043";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func (_eea *TGN )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_dfa ,_dg :=d .Token ();if _dg !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0054\u0047\u004e\u003a\u0020\u0025\u0073",_dg );};if _gfc ,_fbb :=_dfa .(_a .EndElement );_fbb &&_gfc .Name ==start .Name {break ;};};return nil ;};type DDC struct{};func NewRFC1766 ()*RFC1766 {_cfcc :=&RFC1766 {};return _cfcc };func NewPoint ()*Point {_feac :=&Point {};return _feac };func NewUDC ()*UDC {_cdf :=&UDC {};return _cdf };type LCSH struct{};func (_fd *Box )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_fe ,_ed :=d .Token ();if _ed !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0042\u006f\u0078\u003a\u0020\u0025\u0073",_ed );};if _ba ,_ae :=_fe .(_a .EndElement );_ae &&_ba .Name ==start .Name {break ;};};return nil ;};func NewMESH ()*MESH {_eecd :=&MESH {};return _eecd };func (_feg *DDC )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_afe ,_gf :=d .Token ();if _gf !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0044\u0044\u0043\u003a\u0020\u0025\u0073",_gf );};if _gcf ,_fa :=_afe .(_a .EndElement );_fa &&_gcf .Name ==start .Name {break ;};};return nil ;};func NewISO639_2 ()*ISO639_2 {_fgd :=&ISO639_2 {};return _fgd };
// ValidateWithPath validates the Box and its children, prefixing error messages with path
func (_baa *Box )ValidateWithPath (path string )error {return nil };
// Validate validates the URI and its children
func (_eeac *URI )Validate ()error {return _eeac .ValidateWithPath ("\u0055\u0052\u0049")};func (_gfaf *RFC1766 )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_cde ,_feab :=d .Token ();if _feab !=nil {return _f .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0052\u0046\u0043\u0031\u0037\u0036\u0036\u003a\u0020\u0025\u0073",_feab );};if _fbag ,_eac :=_cde .(_a .EndElement );_eac &&_fbag .Name ==start .Name {break ;};};return nil ;};type DCMIType struct{};type MESH struct{};func (_efe *IMT )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_ffc ,_eae :=d .Token ();if _eae !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0049\u004d\u0054\u003a\u0020\u0025\u0073",_eae );};if _cf ,_gge :=_ffc .(_a .EndElement );_gge &&_cf .Name ==start .Name {break ;};};return nil ;};func NewTGN ()*TGN {_edd :=&TGN {};return _edd };type RFC3066 struct{};func NewLCSH ()*LCSH {_fcd :=&LCSH {};return _fcd };type Box struct{};func (_eagd *UDC )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0055\u0044\u0043";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// Validate validates the RFC1766 and its children
func (_cgf *RFC1766 )Validate ()error {return _cgf .ValidateWithPath ("\u0052F\u0043\u0031\u0037\u0036\u0036");};func (_faef *RFC3066 )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_cbd ,_cefa :=d .Token ();if _cefa !=nil {return _f .Errorf ("\u0070\u0061\u0072\u0073in\u0067\u0020\u0052\u0046\u0043\u0033\u0030\u0036\u0036\u003a\u0020\u0025\u0073",_cefa );};if _ebc ,_ebf :=_cbd .(_a .EndElement );_ebf &&_ebc .Name ==start .Name {break ;};};return nil ;};
// Validate validates the Period and its children
func (_eag *Period )Validate ()error {return _eag .ValidateWithPath ("\u0050\u0065\u0072\u0069\u006f\u0064");};
// Validate validates the LCSH and its children
func (_gbd *LCSH )Validate ()error {return _gbd .ValidateWithPath ("\u004c\u0043\u0053\u0048")};func (_cfc *Point )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_eab ,_ggg :=d .Token ();if _ggg !=nil {return _f .Errorf ("\u0070\u0061\u0072\u0073\u0069\u006e\u0067\u0020\u0050\u006f\u0069\u006et\u003a\u0020\u0025\u0073",_ggg );};if _bcb ,_gdbgb :=_eab .(_a .EndElement );_gdbgb &&_bcb .Name ==start .Name {break ;};};return nil ;};func (_fae *RFC3066 )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0052F\u0043\u0033\u0030\u0036\u0036";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func NewElementOrRefinementContainer ()*ElementOrRefinementContainer {_gd :=&ElementOrRefinementContainer {};return _gd ;};func NewRFC3066 ()*RFC3066 {_fed :=&RFC3066 {};return _fed };func (_bad *URI )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_feb ,_aag :=d .Token ();if _aag !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0055\u0052\u0049\u003a\u0020\u0025\u0073",_aag );};if _dcb ,_gaf :=_feb .(_a .EndElement );_gaf &&_dcb .Name ==start .Name {break ;};};return nil ;};type ElementsAndRefinementsGroup struct{Choice []*ElementsAndRefinementsGroupChoice ;};func (_gde *ElementsAndRefinementsGroup )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {if _gde .Choice !=nil {for _ ,_deb :=range _gde .Choice {_deb .MarshalXML (e ,_a .StartElement {});};};return nil ;};type TGN struct{};
// Validate validates the DCMIType and its children
func (_df *DCMIType )Validate ()error {return _df .ValidateWithPath ("\u0044\u0043\u004d\u0049\u0054\u0079\u0070\u0065");};func (_bge *ISO639_2 )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_dc ,_cge :=d .Token ();if _cge !=nil {return _f .Errorf ("p\u0061r\u0073\u0069\u006e\u0067\u0020\u0049\u0053\u004f6\u0033\u0039\u005f\u0032: \u0025\u0073",_cge );};if _efb ,_bgeb :=_dc .(_a .EndElement );_bgeb &&_efb .Name ==start .Name {break ;};};return nil ;};func (_efd *W3CDTF )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_dba ,_cba :=d .Token ();if _cba !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u00573\u0043\u0044T\u0046\u003a\u0020\u0025\u0073",_cba );};if _agc ,_bac :=_dba .(_a .EndElement );_bac &&_agc .Name ==start .Name {break ;};};return nil ;};
// ValidateWithPath validates the UDC and its children, prefixing error messages with path
func (_bee *UDC )ValidateWithPath (path string )error {return nil };func NewURI ()*URI {_eaba :=&URI {};return _eaba };func NewIMT ()*IMT {_fba :=&IMT {};return _fba };
// Validate validates the ElementOrRefinementContainer and its children
func (_bab *ElementOrRefinementContainer )Validate ()error {return _bab .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");};
// ValidateWithPath validates the MESH and its children, prefixing error messages with path
func (_afc *MESH )ValidateWithPath (path string )error {return nil };func (_cef *RFC1766 )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0052F\u0043\u0031\u0037\u0036\u0036";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// Validate validates the LCC and its children
func (_bgb *LCC )Validate ()error {return _bgb .ValidateWithPath ("\u004c\u0043\u0043")};
// ValidateWithPath validates the RFC1766 and its children, prefixing error messages with path
func (_bbd *RFC1766 )ValidateWithPath (path string )error {return nil };func (_bgg *MESH )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_aga ,_fca :=d .Token ();if _fca !=nil {return _f .Errorf ("\u0070\u0061r\u0073\u0069\u006eg\u0020\u004d\u0045\u0053\u0048\u003a\u0020\u0025\u0073",_fca );};if _egd ,_bcc :=_aga .(_a .EndElement );_bcc &&_egd .Name ==start .Name {break ;};};return nil ;};func (_add *UDC )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_defc ,_ega :=d .Token ();if _ega !=nil {return _f .Errorf ("\u0070a\u0072s\u0069\u006e\u0067\u0020\u0055\u0044\u0043\u003a\u0020\u0025\u0073",_ega );};if _aed ,_adg :=_defc .(_a .EndElement );_adg &&_aed .Name ==start .Name {break ;};};return nil ;};type IMT struct{};type W3CDTF struct{};func (_d *DCMIType )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0044\u0043\u004d\u0049\u0054\u0079\u0070\u0065";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// Validate validates the ElementsAndRefinementsGroupChoice and its children
func (_ad *ElementsAndRefinementsGroupChoice )Validate ()error {return _ad .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 ISO639_2 and its children, prefixing error messages with path
func (_db *ISO639_2 )ValidateWithPath (path string )error {return nil };func (_ceb *ISO3166 )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0049S\u004f\u0033\u0031\u0036\u0036";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};
// ValidateWithPath validates the ElementsAndRefinementsGroup and its children, prefixing error messages with path
func (_eec *ElementsAndRefinementsGroup )ValidateWithPath (path string )error {for _cb ,_cg :=range _eec .Choice {if _ccb :=_cg .ValidateWithPath (_f .Sprintf ("\u0025\u0073\u002f\u0043\u0068\u006f\u0069\u0063\u0065\u005b\u0025\u0064\u005d",path ,_cb ));_ccb !=nil {return _ccb ;};};return nil ;};
// Validate validates the RFC3066 and its children
func (_cbg *RFC3066 )Validate ()error {return _cbg .ValidateWithPath ("\u0052F\u0043\u0033\u0030\u0036\u0036");};
// Validate validates the Box and its children
func (_af *Box )Validate ()error {return _af .ValidateWithPath ("\u0042\u006f\u0078")};type RFC1766 struct{};
// Validate validates the UDC and its children
func (_cee *UDC )Validate ()error {return _cee .ValidateWithPath ("\u0055\u0044\u0043")};type ISO3166 struct{};func NewElementsAndRefinementsGroup ()*ElementsAndRefinementsGroup {_fad :=&ElementsAndRefinementsGroup {};return _fad ;};func NewLCC ()*LCC {_fdee :=&LCC {};return _fdee };type ElementOrRefinementContainer struct{Choice []*ElementsAndRefinementsGroupChoice ;};func (_ea *Box )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0042\u006f\u0078";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func NewDCMIType ()*DCMIType {_bb :=&DCMIType {};return _bb };func (_gabc *Period )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0050\u0065\u0072\u0069\u006f\u0064";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func NewPeriod ()*Period {_abd :=&Period {};return _abd };func NewElementsAndRefinementsGroupChoice ()*ElementsAndRefinementsGroupChoice {_gdga :=&ElementsAndRefinementsGroupChoice {};return _gdga ;};func NewBox ()*Box {_fb :=&Box {};return _fb };func (_eeg *ElementsAndRefinementsGroup )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {_ce :for {_cd ,_faf :=d .Token ();if _faf !=nil {return _faf ;};switch _fdc :=_cd .(type ){case _a .StartElement :switch _fdc .Name {case _a .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"}:_ffa :=NewElementsAndRefinementsGroupChoice ();if _gdg :=d .DecodeElement (&_ffa .Any ,&_fdc );_gdg !=nil {return _gdg ;};_eeg .Choice =append (_eeg .Choice ,_ffa );default:_aa .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",_fdc .Name );if _fbeg :=d .Skip ();_fbeg !=nil {return _fbeg ;};};case _a .EndElement :break _ce ;case _a .CharData :};};return nil ;};
// ValidateWithPath validates the Point and its children, prefixing error messages with path
func (_bed *Point )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the LCC and its children, prefixing error messages with path
func (_cab *LCC )ValidateWithPath (path string )error {return nil };
// ValidateWithPath validates the W3CDTF and its children, prefixing error messages with path
func (_bce *W3CDTF )ValidateWithPath (path string )error {return nil };func (_ef *DCMIType )UnmarshalXML (d *_a .Decoder ,start _a .StartElement )error {for {_c ,_gc :=d .Token ();if _gc !=nil {return _f .Errorf ("p\u0061r\u0073\u0069\u006e\u0067\u0020\u0044\u0043\u004dI\u0054\u0079\u0070\u0065: \u0025\u0073",_gc );};if _fdg ,_bg :=_c .(_a .EndElement );_bg &&_fdg .Name ==start .Name {break ;};};return nil ;};
// Validate validates the DDC and its children
func (_bc *DDC )Validate ()error {return _bc .ValidateWithPath ("\u0044\u0044\u0043")};func NewISO3166 ()*ISO3166 {_afb :=&ISO3166 {};return _afb };
// Validate validates the MESH and its children
func (_fea *MESH )Validate ()error {return _fea .ValidateWithPath ("\u004d\u0045\u0053\u0048")};func (_gcd *W3CDTF )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0057\u0033\u0043\u0044\u0054\u0046";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};type Period struct{};func (_ffad *ElementsAndRefinementsGroupChoice )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {if _ffad .Any !=nil {_bd :=_a .StartElement {Name :_a .Name {Local :"\u0064\u0063\u003a\u0061\u006e\u0079"}};for _ ,_gg :=range _ffad .Any {e .EncodeElement (_gg ,_bd );};};return nil ;};
// ValidateWithPath validates the ElementsAndRefinementsGroupChoice and its children, prefixing error messages with path
func (_gdb *ElementsAndRefinementsGroupChoice )ValidateWithPath (path string )error {for _fc ,_gad :=range _gdb .Any {if _bea :=_gad .ValidateWithPath (_f .Sprintf ("\u0025\u0073\u002f\u0041\u006e\u0079\u005b\u0025\u0064\u005d",path ,_fc ));_bea !=nil {return _bea ;};};return nil ;};
// ValidateWithPath validates the IMT and its children, prefixing error messages with path
func (_cbb *IMT )ValidateWithPath (path string )error {return nil };func (_cbbc *URI )MarshalXML (e *_a .Encoder ,start _a .StartElement )error {start .Name .Local ="\u0055\u0052\u0049";e .EncodeToken (start );e .EncodeToken (_a .EndElement {Name :start .Name });return nil ;};func init (){_g .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 );_g .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 );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0044\u0044\u0043",NewDDC );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u004c\u0043\u0043",NewLCC );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0055\u0044\u0043",NewUDC );_g .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 );_g .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 );_g .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 );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0049\u004d\u0054",NewIMT );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0055\u0052\u0049",NewURI );_g .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 );_g .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 );_g .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 );_g .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 );_g .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 );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0042\u006f\u0078",NewBox );_g .RegisterConstructor ("\u0068t\u0074\u0070\u003a\u002f/\u0070\u0075\u0072\u006c\u002eo\u0072g\u002fd\u0063\u002f\u0074\u0065\u0072\u006d\u0073/","\u0054\u0047\u004e",NewTGN );_g .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 );_g .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 );};