Class XmlRootElement

    • Constructor Detail

      • XmlRootElement

        XmlRootElement​(XmlFileArtifact file,
                       XmlElement parent,
                       java.lang.String name,
                       XmlAttribute[] attributes,
                       org.w3c.dom.Node node)
        Creates a new XML root element fragment artifact.
        Parameters:
        file - the containing XML file artifact
        parent - the parent artifact
        name - the name of the element
        attributes - the attributes
        node - the node that is represented by this XmlElement
    • Method Detail

      • getFile

        XmlFileArtifact getFile()
        Description copied from class: XmlNode
        Returns the parent XML file artifact.
        Overrides:
        getFile in class XmlNode
        Returns:
        the parent file artifact, may be null