Search in sources :

Example 1 with MxlColor

use of com.xenoage.zong.musicxml.types.attributes.MxlColor in project Zong by Xenoage.

the class MxlStem method read.

@NonNull
public static MxlStem read(XmlReader reader) {
    MxlPosition yPosition = MxlPosition.read(reader);
    MxlColor color = MxlColor.read(reader);
    MxlStemValue stem = MxlStemValue.read(reader);
    return new MxlStem(stem, yPosition, color);
}
Also used : MxlStemValue(com.xenoage.zong.musicxml.types.enums.MxlStemValue) MxlColor(com.xenoage.zong.musicxml.types.attributes.MxlColor) MxlPosition(com.xenoage.zong.musicxml.types.attributes.MxlPosition) NonNull(com.xenoage.utils.annotations.NonNull)

Example 2 with MxlColor

use of com.xenoage.zong.musicxml.types.attributes.MxlColor in project Zong by Xenoage.

the class MxlBarStyleColor method read.

@NonNull
public static MxlBarStyleColor read(XmlReader reader) {
    MxlColor color = MxlColor.read(reader);
    MxlBarStyle barStyle = MxlBarStyle.read(reader);
    return new MxlBarStyleColor(barStyle, color);
}
Also used : MxlColor(com.xenoage.zong.musicxml.types.attributes.MxlColor) MxlBarStyle(com.xenoage.zong.musicxml.types.enums.MxlBarStyle) NonNull(com.xenoage.utils.annotations.NonNull)

Example 3 with MxlColor

use of com.xenoage.zong.musicxml.types.attributes.MxlColor in project Zong by Xenoage.

the class MxlGroupBarline method read.

@NonNull
public static MxlGroupBarline read(XmlReader reader) {
    MxlColor color = MxlColor.read(reader);
    MxlGroupBarlineValue value = MxlGroupBarlineValue.read(reader);
    return new MxlGroupBarline(value, color);
}
Also used : MxlGroupBarlineValue(com.xenoage.zong.musicxml.types.enums.MxlGroupBarlineValue) MxlColor(com.xenoage.zong.musicxml.types.attributes.MxlColor) NonNull(com.xenoage.utils.annotations.NonNull)

Example 4 with MxlColor

use of com.xenoage.zong.musicxml.types.attributes.MxlColor in project Zong by Xenoage.

the class MxlGroupSymbol method read.

@NonNull
public static MxlGroupSymbol read(XmlReader reader) {
    MxlPosition position = MxlPosition.read(reader);
    MxlColor color = MxlColor.read(reader);
    MxlGroupSymbolValue value = MxlGroupSymbolValue.read(reader);
    return new MxlGroupSymbol(value, position, color);
}
Also used : MxlColor(com.xenoage.zong.musicxml.types.attributes.MxlColor) MxlPosition(com.xenoage.zong.musicxml.types.attributes.MxlPosition) MxlGroupSymbolValue(com.xenoage.zong.musicxml.types.enums.MxlGroupSymbolValue) NonNull(com.xenoage.utils.annotations.NonNull)

Aggregations

NonNull (com.xenoage.utils.annotations.NonNull)4 MxlColor (com.xenoage.zong.musicxml.types.attributes.MxlColor)4 MxlPosition (com.xenoage.zong.musicxml.types.attributes.MxlPosition)2 MxlBarStyle (com.xenoage.zong.musicxml.types.enums.MxlBarStyle)1 MxlGroupBarlineValue (com.xenoage.zong.musicxml.types.enums.MxlGroupBarlineValue)1 MxlGroupSymbolValue (com.xenoage.zong.musicxml.types.enums.MxlGroupSymbolValue)1 MxlStemValue (com.xenoage.zong.musicxml.types.enums.MxlStemValue)1