Search in sources :

Example 1 with MxlAllMargins

use of com.xenoage.zong.musicxml.types.groups.MxlAllMargins in project Zong by Xenoage.

the class MxlPageMargins method read.

@NonNull
public static MxlPageMargins read(XmlReader reader) {
    // read attributes first, before moving forward to child elements
    MxlMarginType type = MxlMarginType.read(reader);
    // read child elements
    MxlAllMargins value = MxlAllMargins.read(reader);
    return new MxlPageMargins(value, type);
}
Also used : MxlMarginType(com.xenoage.zong.musicxml.types.enums.MxlMarginType) MxlAllMargins(com.xenoage.zong.musicxml.types.groups.MxlAllMargins) NonNull(com.xenoage.utils.annotations.NonNull)

Aggregations

NonNull (com.xenoage.utils.annotations.NonNull)1 MxlMarginType (com.xenoage.zong.musicxml.types.enums.MxlMarginType)1 MxlAllMargins (com.xenoage.zong.musicxml.types.groups.MxlAllMargins)1