public class DownloadDescriptorParser extends Object
DownloadPackage
list from an XML streamModifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
protected static int |
nodeCounter |
Constructor and Description |
---|
DownloadDescriptorParser() |
Modifier and Type | Method and Description |
---|---|
static org.dom4j.Document |
parse(InputStream in) |
static DownloadablePackageOptions |
parsePackages(InputStream in) |
protected static DownloadPackage |
readCommonPackage(org.dom4j.Element el,
List<DownloadPackage> pkgs) |
protected static DownloadPackage |
readPackageDefinition(org.dom4j.Element el,
String baseUrl) |
protected static DownloadablePackageOption |
readPackageOptions(org.dom4j.Element el,
List<DownloadPackage> pkgs) |
protected static final org.apache.commons.logging.Log log
protected static int nodeCounter
public DownloadDescriptorParser()
public static org.dom4j.Document parse(InputStream in)
public static DownloadablePackageOptions parsePackages(InputStream in)
protected static DownloadPackage readPackageDefinition(org.dom4j.Element el, String baseUrl)
protected static DownloadPackage readCommonPackage(org.dom4j.Element el, List<DownloadPackage> pkgs)
protected static DownloadablePackageOption readPackageOptions(org.dom4j.Element el, List<DownloadPackage> pkgs)
Copyright © 2015 Nuxeo SA. All rights reserved.