public FileToZip(String zipName, String href, int method, int level, String comment, XdmNode entry) { try { origHref = href; this.zipName = zipName; this.href = new URI(href); this.method = method; this.level = level; this.comment = comment; lastModified = readLastModified(this.href); // FIXME: There's no validation here... for (QName attr : serializerAttrs) { String value = entry.getAttributeValue(attr); if (value != null) { if (options == null) { options = new Hashtable<QName, String> (); } options.put(attr, value); } } } catch (URISyntaxException use) { throw new XProcException(use); } }
public FileToZip(String zipName, String href, int method, int level, String comment, XdmNode entry) { try { origHref = href; this.zipName = zipName; this.href = new URI(href); this.method = method; this.level = level; this.comment = comment; lastModified = readLastModified(this.href); // FIXME: There's no validation here... for (QName attr : serializerAttrs) { String value = entry.getAttributeValue(attr); if (value != null) { if (options == null) { options = new Hashtable<QName, String> (); } options.put(attr, value); } } } catch (URISyntaxException use) { throw new XProcException(use); } }