Java can build XML documents(building) or can extract data form XMLdocuments(This is called parsing). The bottom line is that Java manipulates thedata in the XML documents.