Class NumberTagWriter


public class NumberTagWriter extends SimpleTagWriter
Basic tag writer for Number objects. Optionally it allows to pass a own number format string.
  • Constructor Details

    • NumberTagWriter

      public NumberTagWriter(XMLTagWriter parent, String tagName)
      Creates a new optional number tag writer.
      Parameters:
      parent - the parent tag writer
      tagName - the tag name
    • NumberTagWriter

      public NumberTagWriter(XMLTagWriter parent, String tagName, boolean mandatory)
      Creates a new number tag writer.
      Parameters:
      parent - the parent tag writer
      tagName - the tag name
      mandatory - tells whether or not the tag requires a non-null value
  • Method Details