SAXCharacters Value

I hope this is an easy question… When parsing a XML file using SAXParser, is there a way to set a string value to hold the specific element’s text value in SAXCharacters? For example, if the element name is ‘file’, how can I capture the text value of that element either in SAXStartElement or SAXCharacters? Thanks…