Uses of Class
net.ssehub.easy.instantiation.core.model.artifactModel.xml.XmlElement
-
Packages that use XmlElement Package Description net.ssehub.easy.instantiation.core.model.artifactModel.xml Contains simple (non-decomposed) artifacts. -
-
Uses of XmlElement in net.ssehub.easy.instantiation.core.model.artifactModel.xml
Subclasses of XmlElement in net.ssehub.easy.instantiation.core.model.artifactModel.xml Modifier and Type Class Description (package private) classXmlRootElementA specific root element storing the relation to the containing file artifact.Fields in net.ssehub.easy.instantiation.core.model.artifactModel.xml declared as XmlElement Modifier and Type Field Description private XmlElementXmlAttribute. parentprivate XmlElementXmlNode. parentprivate XmlElementXmlFileArtifact. rootElementMethods in net.ssehub.easy.instantiation.core.model.artifactModel.xml that return XmlElement Modifier and Type Method Description (package private) XmlElementXmlElement. appendChild(XmlElement child, org.w3c.dom.Node childNode)Appends a new child.static XmlElementXmlElement. buildAttribute(XmlElement parent, java.lang.String name, java.lang.String value)Creates a new Attribute for given XmlElement, with given name and value, but returns the parent XML element.static XmlElementXmlElement. buildAttribute(XmlElement parent, java.lang.String name, java.lang.String value, boolean forceOverwrite)Creates a new Attribute for given XmlElement, with given name and value, but returns the parent.static XmlElementXmlElement. buildElement(XmlElement parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of given parent, with given name, but returns the parent element.static XmlElementXmlElement. create(XmlElement parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of given parent, with given name.static XmlElementXmlElement. create(XmlFileArtifact parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of the root element of the given file artifact, with given name.XmlElementXmlFileArtifact. createRootElement(java.lang.String name)Creates a root element if it does not exist.private XmlElementXmlFileArtifact. fill(org.w3c.dom.Node node, XmlElement element, java.util.List<java.lang.Integer> childIndexes)Fills an XML element with data.XmlElementXmlAttribute. getParent()Returns the parent of this fragment.XmlElementXmlNode. getParent()Returns the parent of this fragment.XmlElementXmlFileArtifact. getRootElement()Returns the Root Element.Methods in net.ssehub.easy.instantiation.core.model.artifactModel.xml that return types with arguments of type XmlElement Modifier and Type Method Description Sequence<XmlElement>XmlElement. elements()Returns all nested elements in sequence.Set<XmlElement>IXmlContainer. selectByName(java.lang.String name)Returns a Set with all XmlElements matching name.Set<XmlElement>XmlElement. selectByName(java.lang.String name)Set<XmlElement>XmlElement. selectByName(java.lang.String name, boolean caseSensitive)Returns a Set with all XmlElements matching name.Set<XmlElement>XmlFileArtifact. selectByName(java.lang.String name)Set<XmlElement>IXmlContainer. selectByPath(java.lang.String path)Selects XML elements according to a given path.(package private) static Set<XmlElement>PathUtils. selectByPath(IXmlContainer container, java.lang.String path)Selects XML elements fromcontaineraccording to a given path.Set<XmlElement>XmlElement. selectByPath(java.lang.String path)Set<XmlElement>XmlFileArtifact. selectByPath(java.lang.String path)Set<XmlElement>XmlElement. selectByRegEx(java.lang.String regEx)Returns a set of all XmlElements specified by regEx.Set<XmlElement>XmlFileArtifact. selectByRegEx(java.lang.String regEx)Returns a set of all XmlElements that start with prefix and end with suffix.Set<XmlElement>IXmlContainer. selectByXPath(java.lang.String path)Selects XML elements according to a given XPath.static Set<XmlElement>PathUtils. selectByXPath(java.lang.String path, java.lang.Object root, IXmlContainer container)Selects XML elements based on a given XPath expression.Set<XmlElement>XmlElement. selectByXPath(java.lang.String path)Set<XmlElement>XmlFileArtifact. selectByXPath(java.lang.String path)Set<? extends XmlElement>XmlFileArtifact. selectChilds()Returns a set of all childs of the root element.Methods in net.ssehub.easy.instantiation.core.model.artifactModel.xml with parameters of type XmlElement Modifier and Type Method Description (package private) XmlElementXmlElement. appendChild(XmlElement child, org.w3c.dom.Node childNode)Appends a new child.private XmlNodeXmlFileArtifact. build(org.w3c.dom.Node node, XmlElement parent)Building up the representing object structure.static XmlElementXmlElement. buildAttribute(XmlElement parent, java.lang.String name, java.lang.String value)Creates a new Attribute for given XmlElement, with given name and value, but returns the parent XML element.static XmlElementXmlElement. buildAttribute(XmlElement parent, java.lang.String name, java.lang.String value, boolean forceOverwrite)Creates a new Attribute for given XmlElement, with given name and value, but returns the parent.static XmlElementXmlElement. buildElement(XmlElement parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of given parent, with given name, but returns the parent element.static XmlAttributeXmlAttribute. create(XmlElement parent, java.lang.String name, java.lang.String value)Creates a new Attribute for given XmlElement, with given name and value.static XmlAttributeXmlAttribute. create(XmlElement parent, java.lang.String name, java.lang.String value, boolean forceOverwrite)Creates a new Attribute for given XmlElement, with given name and value.static XmlCommentXmlComment. create(XmlElement parent, java.lang.String contents)Creates a new XmlComment as child of given parent.static XmlElementXmlElement. create(XmlElement parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of given parent, with given name.private XmlAttribute[]XmlFileArtifact. createAttributes(org.w3c.dom.Node node, XmlElement element)Creates and returns all Attributes for given node and XmlElement.private XmlElementXmlFileArtifact. fill(org.w3c.dom.Node node, XmlElement element, java.util.List<java.lang.Integer> childIndexes)Fills an XML element with data.(package private) booleanXmlElement. hasChild(XmlElement child)Checks whether this element has child as a child.(package private) voidXmlAttribute. setParent(XmlElement parent)Sets a new parent for this fragment.Constructors in net.ssehub.easy.instantiation.core.model.artifactModel.xml with parameters of type XmlElement Constructor Description AttributeSynchronizer(XmlElement root)Creates an attribute synchronizer.XmlAttribute(XmlElement parent, java.lang.String name, java.lang.String value)Creates a new XML attribute.XmlComment(XmlElement parent, org.w3c.dom.Node node)Creates a new XML comment fragment artifact.XmlElement(XmlElement parent, java.lang.String name, XmlAttribute[] attributes, org.w3c.dom.Node node)Creates a new XML element fragment artifact.XmlNode(XmlElement parent, org.w3c.dom.Node node)Creates a new XML comment fragment artifact.XmlRootElement(XmlFileArtifact file, XmlElement parent, java.lang.String name, XmlAttribute[] attributes, org.w3c.dom.Node node)Creates a new XML root element fragment artifact.
-