# encoding: utf-8
# module wx._xml
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_xml.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._core as __wx__core


# Variables with simple values

XMLDOC_KEEP_WHITESPACE_NODES = 1

XMLDOC_NONE = 0

XML_ATTRIBUTE_NODE = 2

XML_CDATA_SECTION_NODE = 4

XML_COMMENT_NODE = 8

XML_DOCUMENT_FRAG_NODE = 11

XML_DOCUMENT_NODE = 9

XML_DOCUMENT_TYPE_NODE = 10

XML_ELEMENT_NODE = 1

XML_ENTITY_NODE = 6

XML_ENTITY_REF_NODE = 5

XML_HTML_DOCUMENT_NODE = 13

XML_NOTATION_NODE = 12

XML_NO_INDENTATION = -1

XML_PI_NODE = 7

XML_TEXT_NODE = 3

# no functions
# classes

class XmlAttribute(__sip.wrapper):
    """
    XmlAttribute() -> None
    XmlAttribute(name, value, next=None) -> None
    
    Represents a node attribute.
    """
    def GetName(self): # real signature unknown; restored from __doc__
        """
        GetName() -> str
        
        Returns the name of this attribute.
        """
        return ""

    def GetNext(self): # real signature unknown; restored from __doc__
        """
        GetNext() -> XmlAttribute
        
        Returns the sibling of this attribute or NULL if there are no
        siblings.
        """
        return XmlAttribute

    def GetValue(self): # real signature unknown; restored from __doc__
        """
        GetValue() -> str
        
        Returns the value of this attribute.
        """
        return ""

    def SetName(self, name): # real signature unknown; restored from __doc__
        """
        SetName(name) -> None
        
        Sets the name of this attribute.
        """
        pass

    def SetNext(self, next): # real signature unknown; restored from __doc__
        """
        SetNext(next) -> None
        
        Sets the sibling of this attribute.
        """
        pass

    def SetValue(self, value): # real signature unknown; restored from __doc__
        """
        SetValue(value) -> None
        
        Sets the value of this attribute.
        """
        pass

    def __init__(self, name=None, value=None, next=None): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Name = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetName() -> str

Returns the name of this attribute."""

    Next = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetNext() -> XmlAttribute

Returns the sibling of this attribute or NULL if there are no
siblings."""

    Value = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetValue() -> str

Returns the value of this attribute."""

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



class XmlDoctype(__sip.wrapper):
    """
    XmlDoctype(rootName="", systemId="", publicId="") -> None
    
    Represents a DOCTYPE Declaration.
    """
    def Clear(self): # real signature unknown; restored from __doc__
        """
        Clear() -> None
        
        Removes all the DOCTYPE values.
        """
        pass

    def GetFullString(self): # real signature unknown; restored from __doc__
        """
        GetFullString() -> str
        
        Returns the formatted DOCTYPE contents.
        """
        return ""

    def GetPublicId(self): # real signature unknown; restored from __doc__
        """
        GetPublicId() -> str
        
        Returns the public id of the document.
        """
        return ""

    def GetRootName(self): # real signature unknown; restored from __doc__
        """
        GetRootName() -> str
        
        Returns the root name of the document.
        """
        return ""

    def GetSystemId(self): # real signature unknown; restored from __doc__
        """
        GetSystemId() -> str
        
        Returns the system id of the document.
        """
        return ""

    def IsValid(self): # real signature unknown; restored from __doc__
        """
        IsValid() -> bool
        
        Returns true if the contents can produce a valid DOCTYPE string.
        """
        return False

    def __init__(self, rootName="", systemId="", publicId=""): # real signature unknown; restored from __doc__
        pass

    FullString = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFullString() -> str

Returns the formatted DOCTYPE contents."""

    PublicId = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetPublicId() -> str

Returns the public id of the document."""

    RootName = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetRootName() -> str

Returns the root name of the document."""

    SystemId = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetSystemId() -> str

Returns the system id of the document."""

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



class XmlDocument(__wx__core.Object):
    """
    XmlDocument() -> None
    XmlDocument(doc) -> None
    XmlDocument(filename, encoding="UTF-8") -> None
    XmlDocument(stream, encoding="UTF-8") -> None
    
    This class holds XML data/document as parsed by XML parser in the root
    node.
    """
    def AppendToProlog(self, node): # real signature unknown; restored from __doc__
        """
        AppendToProlog(node) -> None
        
        Appends a Process Instruction or Comment node to the document
        prologue.
        """
        pass

    def DetachDocumentNode(self): # real signature unknown; restored from __doc__
        """
        DetachDocumentNode() -> XmlNode
        
        Detaches the document node and returns it.
        """
        return XmlNode

    def DetachRoot(self): # real signature unknown; restored from __doc__
        """
        DetachRoot() -> XmlNode
        
        Detaches the root entity node and returns it.
        """
        return XmlNode

    def GetDoctype(self): # real signature unknown; restored from __doc__
        """
        GetDoctype() -> XmlDoctype
        
        Returns the DOCTYPE declaration data for the document.
        """
        return XmlDoctype

    def GetDocumentNode(self): # real signature unknown; restored from __doc__
        """
        GetDocumentNode() -> XmlNode
        
        Returns the document node of the document.
        """
        return XmlNode

    def GetEOL(self): # real signature unknown; restored from __doc__
        """
        GetEOL() -> str
        
        Returns the output line ending string used for documents.
        """
        return ""

    def GetFileEncoding(self): # real signature unknown; restored from __doc__
        """
        GetFileEncoding() -> str
        
        Returns encoding of document (may be empty).
        """
        return ""

    def GetFileType(self): # real signature unknown; restored from __doc__
        """
        GetFileType() -> TextFileType
        
        Returns the output line ending format used for documents.
        """
        pass

    def GetLibraryVersionInfo(self): # real signature unknown; restored from __doc__
        """
        GetLibraryVersionInfo() -> VersionInfo
        
        Get expat library version information.
        """
        pass

    def GetRoot(self): # real signature unknown; restored from __doc__
        """
        GetRoot() -> XmlNode
        
        Returns the root element node of the document.
        """
        return XmlNode

    def GetVersion(self): # real signature unknown; restored from __doc__
        """
        GetVersion() -> str
        
        Returns the version of document.
        """
        return ""

    def IsOk(self): # real signature unknown; restored from __doc__
        """
        IsOk() -> bool
        
        Returns true if the document has been loaded successfully.
        """
        return False

    def Load(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        Load(filename, encoding="UTF-8", flags=XMLDOC_NONE) -> bool
        Load(stream, encoding="UTF-8", flags=XMLDOC_NONE) -> bool
        
        Parses filename as an xml document and loads its data.
        """
        return False

    def Save(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        Save(filename, indentstep=2) -> bool
        Save(stream, indentstep=2) -> bool
        
        Saves XML tree creating a file named with given string.
        """
        return False

    def SetDoctype(self, doctype): # real signature unknown; restored from __doc__
        """
        SetDoctype(doctype) -> None
        
        Sets the data which will appear in the DOCTYPE declaration when the
        document is saved.
        """
        pass

    def SetDocumentNode(self, node): # real signature unknown; restored from __doc__
        """
        SetDocumentNode(node) -> None
        
        Sets the document node of this document.
        """
        pass

    def SetFileEncoding(self, encoding): # real signature unknown; restored from __doc__
        """
        SetFileEncoding(encoding) -> None
        
        Sets the encoding of the file which will be used to save the document.
        """
        pass

    def SetFileType(self, fileType): # real signature unknown; restored from __doc__
        """
        SetFileType(fileType) -> None
        
        Sets the output line ending formats when the document is saved.
        """
        pass

    def SetRoot(self, node): # real signature unknown; restored from __doc__
        """
        SetRoot(node) -> None
        
        Sets the root element node of this document.
        """
        pass

    def SetVersion(self, version): # real signature unknown; restored from __doc__
        """
        SetVersion(version) -> None
        
        Sets the version of the XML file which will be used to save the
        document.
        """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Doctype = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetDoctype() -> XmlDoctype

Returns the DOCTYPE declaration data for the document."""

    DocumentNode = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetDocumentNode() -> XmlNode

Returns the document node of the document."""

    EOL = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetEOL() -> str

Returns the output line ending string used for documents."""

    FileEncoding = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFileEncoding() -> str

Returns encoding of document (may be empty)."""

    FileType = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFileType() -> TextFileType

Returns the output line ending format used for documents."""

    Root = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetRoot() -> XmlNode

Returns the root element node of the document."""

    Version = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetVersion() -> str

Returns the version of document."""



class XmlDocumentLoadFlag(int):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __dict__ = None # (!) real value is "mappingproxy({'__module__': 'wx._xml', '__dict__': <attribute '__dict__' of 'XmlDocumentLoadFlag' objects>, '__doc__': None})"


class XmlNode(__sip.wrapper):
    """
    XmlNode(parent, type, name, content='', attrs=None, next=None, lineNo=-1) -> None
    XmlNode(type, name, content='', lineNo=-1) -> None
    XmlNode(node) -> None
    
    Represents a node in an XML document.
    """
    def AddAttribute(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        AddAttribute(name, value) -> None
        AddAttribute(attr) -> None
        
        Appends an attribute with given name and value to the list of
        attributes for this node.
        """
        pass

    def AddChild(self, child): # real signature unknown; restored from __doc__
        """
        AddChild(child) -> None
        
        Adds node child as the last child of this node.
        """
        pass

    def DeleteAttribute(self, name): # real signature unknown; restored from __doc__
        """
        DeleteAttribute(name) -> bool
        
        Removes the first attributes which has the given name from the list of
        attributes for this node.
        """
        return False

    def GetAttribute(self, attrName, defaultVal=''): # real signature unknown; restored from __doc__
        """
        GetAttribute(attrName, defaultVal='') -> str
        
        Returns the value of the attribute named attrName if it does exist.
        """
        return ""

    def GetAttributes(self): # real signature unknown; restored from __doc__
        """
        GetAttributes() -> XmlAttribute
        
        Return a pointer to the first attribute of this node.
        """
        return XmlAttribute

    def GetChildren(self): # real signature unknown; restored from __doc__
        """
        GetChildren() -> XmlNode
        
        Returns the first child of this node.
        """
        return XmlNode

    def GetContent(self): # real signature unknown; restored from __doc__
        """
        GetContent() -> str
        
        Returns the content of this node.
        """
        return ""

    def GetDepth(self, grandparent=None): # real signature unknown; restored from __doc__
        """
        GetDepth(grandparent=None) -> int
        
        Returns the number of nodes which separate this node from grandparent.
        """
        return 0

    def GetLineNumber(self): # real signature unknown; restored from __doc__
        """
        GetLineNumber() -> int
        
        Returns line number of the node in the input XML file or -1 if it is
        unknown.
        """
        return 0

    def GetName(self): # real signature unknown; restored from __doc__
        """
        GetName() -> str
        
        Returns the name of this node.
        """
        return ""

    def GetNext(self): # real signature unknown; restored from __doc__
        """
        GetNext() -> XmlNode
        
        Returns a pointer to the sibling of this node or NULL if there are no
        siblings.
        """
        return XmlNode

    def GetNoConversion(self): # real signature unknown; restored from __doc__
        """
        GetNoConversion() -> bool
        
        Returns a flag indicating whether encoding conversion is necessary
        when saving.
        """
        return False

    def GetNodeContent(self): # real signature unknown; restored from __doc__
        """
        GetNodeContent() -> str
        
        Returns the content of the first child node of type wxXML_TEXT_NODE or
        wxXML_CDATA_SECTION_NODE.
        """
        return ""

    def GetParent(self): # real signature unknown; restored from __doc__
        """
        GetParent() -> XmlNode
        
        Returns a pointer to the parent of this node or NULL if this node has
        no parent.
        """
        return XmlNode

    def GetType(self): # real signature unknown; restored from __doc__
        """
        GetType() -> XmlNodeType
        
        Returns the type of this node.
        """
        return XmlNodeType

    def HasAttribute(self, attrName): # real signature unknown; restored from __doc__
        """
        HasAttribute(attrName) -> bool
        
        Returns true if this node has a attribute named attrName.
        """
        return False

    def InsertChild(self, child, followingNode): # real signature unknown; restored from __doc__
        """
        InsertChild(child, followingNode) -> bool
        
        Inserts the child node immediately before followingNode in the
        children list.
        """
        return False

    def InsertChildAfter(self, child, precedingNode): # real signature unknown; restored from __doc__
        """
        InsertChildAfter(child, precedingNode) -> bool
        
        Inserts the child node immediately after precedingNode in the children
        list.
        """
        return False

    def IsWhitespaceOnly(self): # real signature unknown; restored from __doc__
        """
        IsWhitespaceOnly() -> bool
        
        Returns true if the content of this node is a string containing only
        whitespaces (spaces, tabs, new lines, etc).
        """
        return False

    def RemoveChild(self, child): # real signature unknown; restored from __doc__
        """
        RemoveChild(child) -> bool
        
        Removes the given node from the children list.
        """
        return False

    def SetContent(self, con): # real signature unknown; restored from __doc__
        """
        SetContent(con) -> None
        
        Sets the content of this node.
        """
        pass

    def SetName(self, name): # real signature unknown; restored from __doc__
        """
        SetName(name) -> None
        
        Sets the name of this node.
        """
        pass

    def SetNext(self, next): # real signature unknown; restored from __doc__
        """
        SetNext(next) -> None
        
        Sets as sibling the given node.
        """
        pass

    def SetNoConversion(self, noconversion): # real signature unknown; restored from __doc__
        """
        SetNoConversion(noconversion) -> None
        
        Sets a flag to indicate whether encoding conversion is necessary when
        saving.
        """
        pass

    def SetParent(self, parent): # real signature unknown; restored from __doc__
        """
        SetParent(parent) -> None
        
        Sets as parent the given node.
        """
        pass

    def SetType(self, type): # real signature unknown; restored from __doc__
        """
        SetType(type) -> None
        
        Sets the type of this node.
        """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Attributes = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetAttributes() -> XmlAttribute

Return a pointer to the first attribute of this node."""

    Children = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetChildren() -> XmlNode

Returns the first child of this node."""

    Content = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetContent() -> str

Returns the content of this node."""

    Depth = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetDepth(grandparent=None) -> int

Returns the number of nodes which separate this node from grandparent."""

    LineNumber = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetLineNumber() -> int

Returns line number of the node in the input XML file or -1 if it is
unknown."""

    Name = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetName() -> str

Returns the name of this node."""

    Next = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetNext() -> XmlNode

Returns a pointer to the sibling of this node or NULL if there are no
siblings."""

    NoConversion = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetNoConversion() -> bool

Returns a flag indicating whether encoding conversion is necessary
when saving."""

    NodeContent = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetNodeContent() -> str

Returns the content of the first child node of type wxXML_TEXT_NODE or
wxXML_CDATA_SECTION_NODE."""

    Parent = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetParent() -> XmlNode

Returns a pointer to the parent of this node or NULL if this node has
no parent."""

    Type = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetType() -> XmlNodeType

Returns the type of this node."""

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""



class XmlNodeType(int):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __dict__ = None # (!) real value is "mappingproxy({'__module__': 'wx._xml', '__dict__': <attribute '__dict__' of 'XmlNodeType' objects>, '__doc__': None})"


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x0000013A8F33E150>'

__spec__ = None # (!) real value is "ModuleSpec(name='wx._xml', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x0000013A8F33E150>, origin='D:\\\\project\\\\A_Board\\\\.venv\\\\Lib\\\\site-packages\\\\wx\\\\_xml.cp313-win_amd64.pyd')"

