Search in sources :

Example 1 with MxlLeftCenterRight

use of com.xenoage.zong.musicxml.types.enums.MxlLeftCenterRight in project Zong by Xenoage.

the class MxlFormattedText method read.

@NonNull
public static MxlFormattedText read(XmlReader reader) {
    MxlLeftCenterRight justify = MxlLeftCenterRight.read(reader, "justify");
    MxlLeftCenterRight hAlign = MxlLeftCenterRight.read(reader, "halign");
    MxlVAlign vAlign = MxlVAlign.read(reader);
    MxlPrintStyle printStyle = MxlPrintStyle.read(reader);
    String value = reader.getTextNotNull();
    return new MxlFormattedText(value, justify, hAlign, vAlign, printStyle);
}
Also used : MxlLeftCenterRight(com.xenoage.zong.musicxml.types.enums.MxlLeftCenterRight) MxlVAlign(com.xenoage.zong.musicxml.types.enums.MxlVAlign) MxlPrintStyle(com.xenoage.zong.musicxml.types.attributes.MxlPrintStyle) NonNull(com.xenoage.utils.annotations.NonNull)

Aggregations

NonNull (com.xenoage.utils.annotations.NonNull)1 MxlPrintStyle (com.xenoage.zong.musicxml.types.attributes.MxlPrintStyle)1 MxlLeftCenterRight (com.xenoage.zong.musicxml.types.enums.MxlLeftCenterRight)1 MxlVAlign (com.xenoage.zong.musicxml.types.enums.MxlVAlign)1