Class SpringXmlElement
A common superclass for all Spring XML elements.
Import path
import semmle.code.java.frameworks.spring.SpringXMLElementDirect supertypes
Indirect supertypes
Known direct subtypes
- SpringAbstractRef
- SpringAlias
- SpringArgType
- SpringAttribute
- SpringBean
- SpringCamelXmlElement
- SpringConstructorArg
- SpringDescription
- SpringEntry
- SpringImport
- SpringKey
- SpringLookupMethod
- SpringMergable
- SpringMeta
- SpringNull
- SpringProp
- SpringProperty
- SpringQualifier
- SpringRemotingDestination
- SpringReplacedMethod
- SpringValue
- SpringXmlComponentScan
Predicates
| getASpringChild | Gets a child of this Spring XML element. |
| getAttributeValueWithDefault | Gets the value of the attribute with name |
| getContentString | |
| getEnclosingBean | Gets the closest enclosing |
| getSpringBeanFile | Gets the bean file of this XML element. |
| isSimilar | Overridden by subclasses. Used to match |
Inherited predicates
| allCharactersString | Gets the result of appending all the character sequences of this XML parent from left to right, separated by a space. | from XmlParentImpl |
| getACharactersSet | Gets a character sequence that is a child of this XML parent. | from XmlParentImpl |
| getAChild | Gets a child element of this XML parent. | from XmlParentImpl |
| getAChild | Gets a child element of this XML parent with the given | from XmlParentImpl |
| getAComment | Gets a comment that is a child of this XML parent. | from XmlParentImpl |
| getAnAttribute | Gets an XML attribute of this XML element. | from XmlElementImpl |
| getAttribute | Gets the attribute with the specified | from XmlElementImpl |
| getAttributeValue | Gets the value of the attribute with the specified | from XmlElementImpl |
| getChild | Gets the child element at a specified index of this XML parent. | from XmlParentImpl |
| getDepth | Gets the depth of this element within the XML file tree structure. | from XmlElementImpl |
| getElementPositionIndex | Gets the index of this XML element among its parent’s children. | from XmlElementImpl |
| getFile | Gets the XML file in which this XML element occurs. | from XmlElementImpl |
| getIndex | Gets the index of this XML element among its parent’s children. | from XmlElementImpl |
| getLocation | Gets the location of this element. | from XmlLocatableImpl |
| getName | Gets the name of this XML element. | from XmlElementImpl |
| getNamespace | Gets the namespace of this XML element, if any. | from XmlElementImpl |
| getNumberOfCharacterSets | Gets the number of places in the body of this XML parent where text occurs. | from XmlParentImpl |
| getNumberOfChildren | Gets the number of child XML elements of this XML parent. | from XmlParentImpl |
| getParent | Gets the parent of this XML element. | from XmlElementImpl |
| getTextValue | Gets the text value contained in this XML parent. | from XmlParentImpl |
| hasAttribute | Holds if this XML element has an attribute with the specified | from XmlElementImpl |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column | from XmlLocatableImpl |
| hasName | Holds if this XML element has the given | from XmlElementImpl |
| hasNamespace | Holds if this XML element has a namespace. | from XmlElementImpl |
| toString | Gets a printable representation of this XML element. | from XmlElementImpl |