|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.vremanagement.softwaregateway.impl.repositorymanager.parsing.XmlParse
public class XmlParse
Class for XML parsing
| Constructor Summary | |
|---|---|
XmlParse()
|
|
| Method Summary | |
|---|---|
void |
filterElements(Node parent,
GCubeCoordinates coord)
filter all package elements whose tag name = filter |
String |
getURlFromSearch(String xml,
String groupName,
String artifact,
String extension,
String ver,
boolean pom,
String classifier)
Extract a URL from a valid Nexus response |
File |
updateFile(File file,
GCubeCoordinates coord)
Update a file profile.xml remove from the file the package related to the input parameter coord |
File |
updateProfile(File profile,
Coordinates coordinates)
|
String |
xmlToString(Node node)
Trasform a dom structure in a string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlParse()
| Method Detail |
|---|
public String getURlFromSearch(String xml,
String groupName,
String artifact,
String extension,
String ver,
boolean pom,
String classifier)
throws IOException,
SAXException
xml - nexus responsegroupName - artifact - extension - ver - pom - classifier -
IOException
SAXException
public File updateProfile(File profile,
Coordinates coordinates)
throws ServiceNotAvaiableFault
profile - coordinates -
ServiceNotAvaiableFault
public File updateFile(File file,
GCubeCoordinates coord)
file - profile.xmlcoord - gCubePackage coordinates
public void filterElements(Node parent,
GCubeCoordinates coord)
public String xmlToString(Node node)
node -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||