com.virtuosotechnologies.asaph.model.notation
Interface FragmentedString


public interface FragmentedString

A string fragmented into parts.


Nested Class Summary
static class FragmentedString.FragmentType
          A type code for string fragments.
 
Method Summary
 int getFragmentCount()
          Get the number of fragments
 String getNthFragment(int n)
          Get one fragment
 FragmentedString.FragmentType getNthFragmentType(int n)
          Get the type of one fragment
 String toString()
          Get the entire string.
 

Method Detail

getFragmentCount

public int getFragmentCount()
Get the number of fragments

Returns:
the number of fragments

getNthFragment

public String getNthFragment(int n)
Get one fragment

Parameters:
n - index
Returns:
the nth fragment

getNthFragmentType

public FragmentedString.FragmentType getNthFragmentType(int n)
Get the type of one fragment

Parameters:
n - index
Returns:
the type of the nth fragment

toString

public String toString()
Get the entire string.

Returns:
the entire string