Package net.charlesames.music.musicxml

The purpose of package music.musicxml is to generate files in MusicXML format.

See:
          Description

Class Summary
Attributes The Attributes class implements the MusicXML <attributes> element.
Barline The Barline class implements the MusicXML <barline> element.
Beam The Beam class implements the MusicXML <beam> element.
Clef The Clef class implements the MusicXML <clef> element.
Credit The Credit class implements the MusicXML <credit> element.
CreditWords The CreditWords class implements the MusicXML <credit-words> element.
Dashes The Dashes class implements the MusicXML <dashes> direction type.
Defaults The Defaults class implements the MusicXML <defaults> element.
Direction The Direction class implements the MusicXML <direction> event.
DirectionType The DirectionType class implements the MusicXML <direction-type> element.
Directive The Directive class implements the MusicXML <directive> event.
Dynamics The Dynamics class implements the MusicXML <dynamics> direction type.
HarpPedals The HarpPedals class implements the MusicXML <harp-pedals> direction type.
Identification The Identification class implements the MusicXML <identification> element.
IdentificationCreator The IdentificationCreator class implements the MusicXML <creator> element.
IdentificationEncoding The IdentificationEncoding class implements the MusicXML <encoding> element.
IdentificationEncodingSupport The IdentificationEncodingSupport class implements the MusicXML <supports> element.
KeySignature The KeySignature class implements the MusicXML <key> element.
Measure The abstract Measure class implements shared functionality for MusicXML measure elements.
MeasureInPart The MeasureInPart class implements the MusicXML <measure> element.
MeasurePrint The MeasurePrint class implements the MusicXML <measure-print> element.
Metronome The Identification class implements the MusicXML <metronome> direction type.
MidiInstrument The MidiInstrument class implements the MusicXML <midi-instrument> element.
MusicXmlEntity This abstract class serves as base for all music.musicxml classes.
MusicXmlScore The MusicXmlScore class implements functionality shared between the MusicXML <score-partwise> and <score-timewise> elements.
MusicXmlTags String constants which MusicXML classes use for input and output.
MusicXmlTest  
Notehead The Identification class implements the MusicXML <metronome> direction type.
NoteInMeasure The NoteInMeasure class implements the MusicXML <note> element.
OtherNotation The OtherNotation class implements the MusicXML <other-notation> notation.
PageLayout The PageLayout class implements the MusicXML <page-layout> element.
PageMargins The PageMargins class implements the MusicXML <page-margins> element.
Part The abstract Part class implements functionality shared between MusicXML <part> elements.
PartGroup The PartGroup class implements the MusicXML <part-group> element.
PartInScore The PartInScore class implements the MusicXML <part> element.
PedalTuning The PedalTuning class implements the MusicXML <pedal-tuning> element.
PercussionTest  
Pitch The Pitch class implements the MusicXML <pitch> element.
Scaling The Scaling class implements the MusicXML <scaling> element.
ScoreInstrument The ScoreInstrument class implements the MusicXML <score-instrument> element.
ScorePart The ScorePart class implements the MusicXML <score-part> element.
ScorePartwise The ScorePartwise, implements the MusicXML <score-partwise> element.
Sound The Sound class implements the MusicXML <sound> element.
StaffLayout The StaffLayout class implements the MusicXML <staff-layout> element.
Stem The Stem class implements the MusicXML <stem> element.
SystemLayout The SystemLayout class implements the MusicXML <system-layout> element.
SystemMargins The SystemMargins class implements the MusicXML <system-margins> element.
TimedEvent The TimedEvent class implements functionality shared between MusicXML elements that happen at a specific time point within a measure.
TimeSignature The TimeSignature class implements the MusicXML <time> element.
Unpitched The Unpitched class implements the MusicXML <unpitched> element.
Wedge The Wedge class implements the MusicXML <wedge> element.
Words The Words class implements the MusicXML <words> direction type.
 

Enum Summary
Clef.ClefSign Allowed values for the Sign property.
 

Package net.charlesames.music.musicxml Description

The purpose of package music.musicxml is to generate files in MusicXML format.

Every class has both toXmlNode() methods and fromXmlNode() methods. These work together with the org.w3c.dom XML Document Object Model classes. The toXmlNode() method transfers data to a newly constructed Element, while the fromXmlNode() method transfers data from an existing Element into a newly constructed music.musicxml entity.

The top of the class hierarchy is ScorePartwise, which implements the MusicXML <score-partwise> document element. (MusicXML also supports a <score-timewise> element, but the present music.musicxml classes do not implement such support.)

ScorePartwise is parent to Identification, StaffLayout, SystemLayout, ScorePart, and PartInScore. SystemLayout is parent to SystemMargins.

ScorePart is parent to ScoreInstrument and MidiInstrument.

PartInScore is parent to MeasureInPart.

MeasureInPart is parent to TimedEvent, whose subclasses include Attributes, Direction, Directive, and NoteInMeasure.

Attributes is parent to KeySignature, TimeSignature, and Clef

Direction is parent to DirectionType, whose subclasses include Dynamics and Metronome.

Directive is parent to Words and Sound.

NoteInMeasure is parent to Indication.