/** * Creates an XmlHandler. */ public XmlHandler () { super (NAME, RELEASE, DATE, NOTE, RIGHTS); _vendor = Agent.harvardInstance(); }
/** * Creates a BytestreamModule. */ public BytestreamModule () { super (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED, VALIDITY, REPINFO, NOTE, RIGHTS, false); this._vendor = Agent.harvardInstance(); }
/** Constructor for use by subclasses. */ public XmlHandler (String name, String release, int [] date, String note, String rights) { super (name, release, date, note, rights); _vendor = Agent.harvardInstance(); }
/** * Creates a TextHandler. */ public TextHandler () { super (NAME, RELEASE, DATE, NOTE, RIGHTS); _vendor = Agent.harvardInstance(); _format = NumberFormat.getInstance (Locale.ROOT); _format.setGroupingUsed (false); _format.setMinimumFractionDigits (0); }
/** * Creates a ViewHandler. * * @param jhwin The JhoveWindow which acts as the parent to * output windows. */ public ViewHandler (JhoveWindow jhwin, App app, JhoveBase base) { super (NAME, RELEASE, DATE, NOTE, RIGHTS); _app = app; _base = base; base.setCallback (jhwin); _vendor = Agent.harvardInstance(); _jhwin = jhwin; }
/** * Instantiate an <tt>XmlModule</tt> object. */ public XmlModule () { super (NAME, RELEASE, DATE, FORMAT, COVERAGE, MIMETYPE, WELLFORMED, VALIDITY, REPINFO, NOTE, RIGHTS, false); _vendor = Agent.harvardInstance(); Document doc = new Document ("Extensible Markup Language (XML) 1.0 " + "(Third Edition)", DocumentType.REPORT); doc.setPublisher (Agent.newW3CInstance()); doc.setDate ("2004-02-04"); doc.setIdentifier (new Identifier ("http://www.w3.org/TR/REC-xml", IdentifierType.URL)); _specification.add (doc); doc = new Document ("SAX", DocumentType.WEB); doc.setIdentifier (new Identifier ("http://sax.sourceforge.net/", IdentifierType.URL)); _specification.add (doc); Signature sig = new ExternalSignature (".xml", SignatureType.EXTENSION, SignatureUseType.OPTIONAL); _signature.add (sig); _localSchemas = new HashMap<String, File> (); }
_vendor = Agent.harvardInstance();
VALIDITY, REPINFO, NOTE, RIGHTS, false); _vendor = Agent.harvardInstance();
_vendor = Agent.harvardInstance();
VALIDITY, REPINFO, NOTE, RIGHTS, true); _vendor = Agent.harvardInstance();
_vendor = Agent.harvardInstance();
VALIDITY, REPINFO, NOTE, RIGHTS, false); _vendor = Agent.harvardInstance();
super(NAME, RELEASE, DATE, FORMATS, COVERAGE, MIMETYPES, WELLFORMED, VALIDITY, REPINFO, NOTE, RIGHTS, false); _vendor = Agent.harvardInstance();
VALIDITY, REPINFO, NOTE, RIGHTS, false); _vendor = Agent.harvardInstance();
VALIDITY, REPINFO, NOTE, RIGHTS, false); _vendor = Agent.harvardInstance();
_vendor = Agent.harvardInstance();