Class BuilderUtil

java.lang.Object
com.musicxmltasks.musicxml.builder.BuilderUtil

public class BuilderUtil
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String EMPTY_VALUE  
    static java.lang.String REQUIRED_ATTRIBUTE  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String enumValue​(java.lang.Enum enumValue)  
    static java.lang.String enumValue​(java.lang.String value)  
    static java.lang.String enumValueWithSpaces​(java.lang.Enum enumValue)  
    static java.lang.String noteTypeValue​(NoteTypeValue noteTypeValue)  
    static java.lang.String requiredValue​(java.lang.String value)  
    static java.lang.String stringValue​(java.lang.Integer integerValue)  
    static java.lang.String stringValue​(java.math.BigDecimal bigDecimalValue)  
    static java.lang.String yesOrNo​(java.lang.Boolean booleanValue)  

    Methods inherited from class java.lang.Object

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

    • REQUIRED_ATTRIBUTE

      public static java.lang.String REQUIRED_ATTRIBUTE
    • EMPTY_VALUE

      public static java.lang.String EMPTY_VALUE
  • Method Details

    • enumValue

      public static java.lang.String enumValue​(java.lang.Enum enumValue)
    • enumValue

      public static java.lang.String enumValue​(java.lang.String value)
    • enumValueWithSpaces

      public static java.lang.String enumValueWithSpaces​(java.lang.Enum enumValue)
    • noteTypeValue

      public static java.lang.String noteTypeValue​(NoteTypeValue noteTypeValue)
    • stringValue

      public static java.lang.String stringValue​(java.lang.Integer integerValue)
    • stringValue

      public static java.lang.String stringValue​(java.math.BigDecimal bigDecimalValue)
    • yesOrNo

      public static java.lang.String yesOrNo​(java.lang.Boolean booleanValue)
    • requiredValue

      public static java.lang.String requiredValue​(java.lang.String value)