public class XNode extends Object
Constructor and Description |
---|
XNode(XPathParser xpathParser,
Node node,
Properties variables) |
public XNode(XPathParser xpathParser, Node node, Properties variables)
public XNode getParent()
public String getPath()
public String getValueBasedIdentifier()
public Node getNode()
public String getName()
public String getStringBody()
public Boolean getBooleanBody()
public Integer getIntBody()
public Long getLongBody()
public Double getDoubleBody()
public Float getFloatBody()
public <T extends Enum<T>> T getEnumAttribute(Class<T> enumType, String name, T def)
public String getStringAttribute(String name, Supplier<String> defSupplier)
If attribute value is absent, return value that provided from supplier of default value.
name
- attribute namedefSupplier
- a supplier of default valuepublic Properties getChildrenAsProperties()
Copyright © 2009–2021 MyBatis.org. All rights reserved.