public final class SkillParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static AttackPattern |
getAttackFromNode(org.w3c.dom.Node skillNode)
Parsing specified document node to attack pattern
|
static BuffPattern |
getBuffFromNode(org.w3c.dom.Node skillNode)
Parses specified document node to buff pattern
|
static PassivePattern |
getPassiveFromNode(org.w3c.dom.Node skillNode)
Parses specified skill node to passive skill pattern
|
public static AttackPattern getAttackFromNode(org.w3c.dom.Node skillNode) throws java.lang.NumberFormatException, java.util.NoSuchElementException
skillNode
- Skill node from attacks basejava.lang.NumberFormatException
java.util.NoSuchElementException
public static BuffPattern getBuffFromNode(org.w3c.dom.Node skillNode) throws java.lang.NumberFormatException, java.util.NoSuchElementException
skillNode
- Node from buffs basejava.lang.NumberFormatException
java.util.NoSuchElementException
public static PassivePattern getPassiveFromNode(org.w3c.dom.Node skillNode)
skillNode
- Skill node from XML skills base