Class SpellFactory


  • public class SpellFactory
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SpellFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Spell fromMap​(java.util.Map<java.lang.String,​java.lang.String> data)  
      static Spell fromXmlStreamReader​(javax.xml.stream.XMLStreamReader xmlStreamReader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpellFactory

        public SpellFactory()
    • Method Detail

      • fromMap

        public static Spell fromMap​(java.util.Map<java.lang.String,​java.lang.String> data)
      • fromXmlStreamReader

        public static Spell fromXmlStreamReader​(javax.xml.stream.XMLStreamReader xmlStreamReader)
                                         throws java.lang.NumberFormatException,
                                                javax.xml.stream.XMLStreamException
        Throws:
        java.lang.NumberFormatException
        javax.xml.stream.XMLStreamException