Liquid XML Data Binder 2019
General.bas
Option Explicit
'**********************************************************************************************
'* Copyright (c) 2001-2019 Liquid Technologies Limited. All rights reserved.
'* See www.liquid-technologies.com for product details.
'*
'* Please see products End User License Agreement for distribution permissions.
'*
'* WARNING: THIS FILE IS GENERATED
'* Changes made outside of ##HAND_CODED_BLOCK_START blocks will be overwritten
'*
'* Generation  :  by Liquid XML Data Binder 17.0.1.9233
'* Using Schema: MusicStore.xsd
'**********************************************************************************************
Public Const ERR_TO_XML_FAILED = 1
Public Const ERR_PARSING_XML = 2
Public Const ERR_UNEXPECTED_ATTRIBUTE = 3
Public Const ERR_MISSING_ATTRIBUTE = 4
Public Const ERR_MISSING_ELEMENT = 5
Public Const ERR_UNEXPECTED_ELEMENT = 6
Public Const ERR_INVALID_STATE = 7
Public Const ERR_PROHIBITED_PROPERTY = 8
Public Const ERR_INVALID_VALUE = 9
Public Const ERR_INVALID_COUNT = 10

private m_ClassFactory as MusicStoreLib.ClassFactory
Public  g_ClsDataAlbumType as LtXmlComLib17.ClassInfo
Public  g_ClsDataError_ as LtXmlComLib17.ClassInfo
Public  g_ClsDataPriceFilter as LtXmlComLib17.ClassInfo
Public  g_ClsDataResult as LtXmlComLib17.ClassInfo
Public  g_ClsDataSearchRequest as LtXmlComLib17.ClassInfo
Public  g_ClsDataSearchResponse as LtXmlComLib17.ClassInfo
Public  g_ClsDataTrackType as LtXmlComLib17.ClassInfo
' ##HAND_CODED_BLOCK_START ID="Additional Variable Declarations"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
' Add Additional Variable Declarations...
' ##HAND_CODED_BLOCK_END ID="Additional Variable Declarations"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS


public Function CF() as MusicStoreLib.ClassFactory
    If m_ClassFactory Is Nothing Then
        Set m_ClassFactory = New MusicStoreLib.ClassFactory
' ##HAND_CODED_BLOCK_START ID="Default Namespace Declarations"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
'       Add Additional namespace declarations here...
         LtXmlComLib17.DefaultXmlSerializationContext.SchemaType = LtXmlComLib17.SchemaType_XSD
'       LtXmlComLib17.DefaultXmlSerializationContext.DefaultNamespaceURI = "http://www.fpml.org/2003/FpML-4-0"
'       LtXmlComLib17.DefaultXmlSerializationContext.NamespaceAliases.Add "http://www.w3.org/2000/09/xmldsig#", "dsig"
        LtXmlComLib17.DefaultXmlSerializationContext.NamespaceAliases.Add "http://www.w3.org/2001/XMLSchema-instance", "xs"


' ##HAND_CODED_BLOCK_END ID="Default Namespace Declarations"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS
    End If
    Set CF = m_ClassFactory
End Function

public Function CastToXmlObjectBase(ByVal obj as LtXmlComLib17.XmlObjectBase) as LtXmlComLib17.XmlObjectBase
    set CastToXmlObjectBase = obj
End Function

public Function CastToXmlCollectionBase(ByVal obj as LtXmlComLib17.XmlCollectionBase) as LtXmlComLib17.XmlCollectionBase
    set CastToXmlCollectionBase = obj
End Function

Public Sub RegisterProduct()
    LtXmlComLib17.Register "Liquid Technologies Ltd ", "MusicStore.xsd", "UXXCVTR89RFVVW7A000000AA"
End Sub

' ##HAND_CODED_BLOCK_START ID="Additional Methods/Properties"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS

' Add Additional Methods/Properties Here...

' ##HAND_CODED_BLOCK_END ID="Additional Methods/Properties"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS