Class XmlIntegerFactory

java.lang.Object
xml.factories.attribute.XmlFactoryFromAttribute<java.lang.Integer>
xml.factories.attribute.XmlIntegerFactory

public class XmlIntegerFactory
extends XmlFactoryFromAttribute<java.lang.Integer>
Constructs doubles from XML attributes.
  • Constructor Summary

    Constructors
    Constructor Description
    XmlIntegerFactory()  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.Integer create​(java.lang.String attribute)
    Create an instance of type T from the given attribute string.

    Methods inherited from class xml.factories.attribute.XmlFactoryFromAttribute

    create, create

    Methods inherited from class java.lang.Object

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

    • XmlIntegerFactory

      public XmlIntegerFactory()
  • Method Details

    • create

      protected java.lang.Integer create​(java.lang.String attribute)
      Description copied from class: XmlFactoryFromAttribute
      Create an instance of type T from the given attribute string.
      Specified by:
      create in class XmlFactoryFromAttribute<java.lang.Integer>
      Parameters:
      attribute - The XML attribute string from which to construct the T.
      Returns:
      An instance of type T whose value is the data in the given string.