|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.datamodel.HeritrixTemplate
public class HeritrixTemplate
Class encapsulating the Heritrix order.xml. Enables verification that dom4j Document obey the constraints required by our software, specifically the Job class.
Field Summary | |
---|---|
static java.lang.String |
ExcludeFilterMapXpath
Xpath needed by Job.editOrderXML_crawlerTraps(). |
static java.lang.String |
GroupMaxAllKbXpath
Xpath needed by Job.editOrderXML_maxBytesPerDomain(). |
static java.lang.String |
QueueTotalBudgetXpath
Xpath needed by Job.editOrderXML_maxObjectsPerDomain(). |
Constructor Summary | |
---|---|
HeritrixTemplate(org.dom4j.Document doc)
Alternate constructor, which always verifies the given document. |
|
HeritrixTemplate(org.dom4j.Document doc,
boolean verify)
Constructor for HeritrixTemplate class. |
Method Summary | |
---|---|
org.dom4j.Document |
getTemplate()
|
java.lang.String |
getXML()
Return HeritrixTemplate as XML. |
boolean |
isVerified()
Has Template been verified? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String QueueTotalBudgetXpath
public static final java.lang.String GroupMaxAllKbXpath
public static final java.lang.String ExcludeFilterMapXpath
Constructor Detail |
---|
public HeritrixTemplate(org.dom4j.Document doc, boolean verify)
doc
- the order.xmlverify
- If true, verifies if the given dom4j Document contains
the elements required by our software.
ArgumentNotValid
- if doc is null, or verify is true and doc does
not obey the constraints required by our software.public HeritrixTemplate(org.dom4j.Document doc)
doc
- Method Detail |
---|
public org.dom4j.Document getTemplate()
public boolean isVerified()
public java.lang.String getXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |