Suppose part type is "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" then how will I get it. Code Snippet:
RelationshipsPart relationshipPart=mainDocPart.getRelationshipsPart();
Relationships q=relationshipPart.getJaxbElement();
List<Relationship>list=q.getRelationship();
for(Relationship rels : list){
if(rels.getType().equals("http://schemas.openxmlformats.org
/officeDocument/2006/relationships/hyperlink")){
//now I want to extract it here from it's type and modify it
}
}