Package org.apache.ibatis.parsing
Class XNode
- java.lang.Object
 - 
- org.apache.ibatis.parsing.XNode
 
 
- 
public class XNode extends Object
- Author:
 - Clinton Begin
 
 
- 
- 
Constructor Summary
Constructors Constructor Description XNode(XPathParser xpathParser, Node node, Properties variables) 
- 
Method Summary
 
 - 
 
- 
- 
Constructor Detail
- 
XNode
public XNode(XPathParser xpathParser, Node node, Properties variables)
 
 - 
 
- 
Method Detail
- 
getParent
public XNode getParent()
 
- 
getPath
public String getPath()
 
- 
getValueBasedIdentifier
public String getValueBasedIdentifier()
 
- 
getNode
public Node getNode()
 
- 
getName
public String getName()
 
- 
getStringBody
public String getStringBody()
 
- 
getBooleanBody
public Boolean getBooleanBody()
 
- 
getIntBody
public Integer getIntBody()
 
- 
getLongBody
public Long getLongBody()
 
- 
getDoubleBody
public Double getDoubleBody()
 
- 
getFloatBody
public Float getFloatBody()
 
- 
getEnumAttribute
public <T extends Enum<T>> T getEnumAttribute(Class<T> enumType, String name, T def)
 
- 
getStringAttribute
public String getStringAttribute(String name, Supplier<String> defSupplier)
Return a attribute value as String.If attribute value is absent, return value that provided from supplier of default value.
- Parameters:
 name- attribute namedefSupplier- a supplier of default value- Returns:
 - the string attribute
 - Since:
 - 3.5.4
 
 
- 
getChildrenAsProperties
public Properties getChildrenAsProperties()
 
 - 
 
 -