Class MainActivity

  • java.lang.Object
    • ActionBarActivity
      • org.qmul.eecs.c4dm.MainActivity


  • public class MainActivity
    extends ActionBarActivity
    • Constructor Summary

      Constructors 
      Constructor and Description
      MainActivity() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void displayMusicBrainzId(java.lang.String musicBrainzId) 
      org.w3c.dom.Node findSubNode(java.lang.String name, org.w3c.dom.Node node)
      Find the named subnode in a node's sublist.
      void onCreate(Bundle savedInstanceState) 
      boolean onCreateOptionsMenu(Menu menu) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MainActivity

        public MainActivity()
    • Method Detail

      • onCreate

        public void onCreate(Bundle savedInstanceState)
      • onCreateOptionsMenu

        public boolean onCreateOptionsMenu(Menu menu)
      • displayMusicBrainzId

        public void displayMusicBrainzId(java.lang.String musicBrainzId)
        Parameters:
        musicBrainzId -
      • findSubNode

        public org.w3c.dom.Node findSubNode(java.lang.String name,
                                            org.w3c.dom.Node node)
        Find the named subnode in a node's sublist.
        • Ignores comments and processing instructions.
        • Ignores TEXT nodes (likely to exist and contain ignorable whitespace, if not validating.
        • Ignores CDATA nodes and EntityRef nodes.
        • Examines element nodes to find one with the specified name.
        Parameters:
        name - the tag name for the element to find
        node - the element node to start searching from
        Returns:
        the Node found