Class XmlRootElement
- java.lang.Object
-
- net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact
-
- net.ssehub.easy.instantiation.core.model.artifactModel.CompositeFragmentArtifact
-
- net.ssehub.easy.instantiation.core.model.artifactModel.xml.XmlNode
-
- net.ssehub.easy.instantiation.core.model.artifactModel.xml.XmlElement
-
- net.ssehub.easy.instantiation.core.model.artifactModel.xml.XmlRootElement
-
- All Implemented Interfaces:
IArtifact,IArtifactChangedListener,IXmlContainer,IStringValueProvider,IVilType
class XmlRootElement extends XmlElement
A specific root element storing the relation to the containing file artifact.- Author:
- Holger Eichelberger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider
IStringValueProvider.StringComparator
-
-
Field Summary
Fields Modifier and Type Field Description private XmlFileArtifactfile
-
Constructor Summary
Constructors Constructor Description XmlRootElement(XmlFileArtifact file, XmlElement parent, java.lang.String name, XmlAttribute[] attributes, org.w3c.dom.Node node)Creates a new XML root element fragment artifact.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) XmlFileArtifactgetFile()Returns the parent XML file artifact.-
Methods inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.xml.XmlElement
addAttribute, addAttribute, addChild, appendChild, attributes, buildAttribute, buildAttribute, buildElement, comments, create, create, deleteAttribute, deleteChild, elements, exists, getAttribute, getChild, getChildCount, getName, getNameSafe, getStringValue, hasChild, nodes, rename, renameAttribute, selectAll, selectAttributeByRegex, selectByName, selectByName, selectByPath, selectByRegEx, selectByXPath, setAttribute, setName, setNodes, sortAttributes, synchronizeAttributeSequence
-
Methods inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.xml.XmlNode
accept, artifactChanged, checkRoot, checkValidity, delete, getBinary, getCdata, getCdataDirect, getNode, getParent, getText, getTextDirect, notifyChange, notifyChange, setCdata, setNode, update
-
Methods inherited from class net.ssehub.easy.instantiation.core.model.artifactModel.FragmentArtifact
lastModification, store
-
-
-
-
Field Detail
-
file
private XmlFileArtifact file
-
-
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 artifactparent- the parent artifactname- the name of the elementattributes- the attributesnode- the node that is represented by this XmlElement
-
-
Method Detail
-
getFile
XmlFileArtifact getFile()
Description copied from class:XmlNodeReturns the parent XML file artifact.
-
-