/** * Sets the vendor and specification for this module. */ private void setVendorAndSpecification() { _vendor = KB_AGENT; Document doc = new Document("WARC (Web ARChive) file format", DocumentType.WEB); // Should probably have IIPC and others as authors doc.setPublisher(Agent.newIsoInstance()); doc.setDate("2009"); doc.setIdentifier(new Identifier("28500:2009", IdentifierType.ISO)); _specification.add(doc); // Add optional external signatures (.warc or .warc.gz) Signature sig = new ExternalSignature (".warc", SignatureType.EXTENSION, SignatureUseType.OPTIONAL); _signature.add (sig); sig = new ExternalSignature (".warc.gz", SignatureType.EXTENSION, SignatureUseType.OPTIONAL, "when compressed"); _signature.add (sig); }
/** * 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> (); }
/** * Sets the vendor and specification for this module. */ private void setVendorAndSpecification() { _vendor = KB_AGENT; Document doc = new Document("GZIP", DocumentType.RFC); // Should probably have IIPC and others as authors Agent ietfAgent = new Agent.Builder("IETF", AgentType.STANDARD).web( "http://www.ietf.org").build(); doc.setPublisher(ietfAgent); doc.setDate("1996"); doc.setIdentifier(new Identifier("https://www.ietf.org/rfc/rfc1952.txt", IdentifierType.RFC)); _specification.add(doc); // Add optional external signature (.gz) Signature sig = new ExternalSignature (EXTENSION, SignatureType.EXTENSION, SignatureUseType.OPTIONAL); _signature.add (sig); }
Agent appleAgent = builder.build(); doc.setAuthor (appleAgent); doc.setDate ("1989-01-04"); doc.setIdentifier (new Identifier ("http://developer.apple.com/documentation/QuickTime/INMAC/SOUND/imsoundmgr.30.htm#pgfId=3190", IdentifierType.URL)); DocumentType.REPORT); doc.setAuthor (appleAgent); doc.setDate ("1991-08-26"); doc.setNote ("*** DRAFT ***"); // Asterisks as in the printed document _specification.add (doc);
Agent cmpsrvAgent = builder.build(); doc.setAuthor (cmpsrvAgent); doc.setDate ("1987-06-15"); doc.setIdentifier (new Identifier ("http://www.w3.org/Graphics/GIF/spec-gif87.txt", IdentifierType.URL)); doc.setEdition ("Version 89a"); doc.setAuthor (cmpsrvAgent); doc.setDate ("1987-06-15"); doc.setIdentifier (new Identifier ("http://www.w3.org/Graphics/GIF/spec-gif89a.txt", IdentifierType.URL));
Agent agent = Agent.newAdobeInstance(); doc.setPublisher(agent); doc.setDate("2001-12"); doc.setEdition("3rd edition"); doc.setIdentifier(new Identifier("0-201-75839-3", DocumentType.BOOK); doc.setPublisher(agent); doc.setDate("2003"); doc.setEdition("4th edition"); doc.setIdentifier(new Identifier( DocumentType.BOOK); doc.setPublisher(agent); doc.setDate("2004-11"); doc.setEdition("5th edition"); doc.setIdentifier(new Identifier( Agent isoAgent = Agent.newIsoInstance(); doc.setPublisher(isoAgent); doc.setDate("2001-12-06"); doc.setIdentifier(new Identifier("ISO 15930-1:2001", IdentifierType.ISO)); DocumentType.STANDARD); doc.setPublisher(isoAgent); doc.setDate("2003-08-04"); doc.setIdentifier(new Identifier("ISO 15930-4:2003", IdentifierType.ISO));
doc.setDate("1997-01-14"); doc.setIdentifier(new Identifier( "http://www.w3c.org/TR/REC-html32-19970114", IdentifierType.URL)); Agent jacobs = new Agent.Builder("Ian Jacobs", AgentType.OTHER).build(); doc.setAuthor(jacobs); doc.setDate("1998-04-24"); doc.setIdentifier(new Identifier( "http://www.w3.org/TR/1998/REC-html40-19980424/", doc.setAuthor(leHors); doc.setAuthor(jacobs); doc.setDate("1999-12-24"); doc.setIdentifier(new Identifier( "http://www.w3.org/TR/1999/REC-html401-19991224/", + "(Second Edition)", DocumentType.REPORT); doc.setPublisher(w3cAgent); doc.setDate("01-08-2002"); doc.setIdentifier(new Identifier("http://www.w3.org/TR/xhtml1/", IdentifierType.URL)); DocumentType.REPORT); doc.setPublisher(w3cAgent); doc.setDate("31-05-2001"); doc.setIdentifier(new Identifier( "http://www.w3.org/TR/2001/REC-xhtml11-20010531/",
doc.setIdentifier(new Identifier("ISO/IEC 15444-1:2000", IdentifierType.ISO)); doc.setDate("2002-07-31"); _specification.add(doc); doc.setDate("2004-05-15"); _specification.add(doc); agent = new Agent.Builder("D. Lee", AgentType.OTHER).build(); doc.setAuthor(agent); doc.setDate("2004-04"); Identifier ident = new Identifier( "http://www.ietf.org/rfc/rfc3745.txt", IdentifierType.URL); .email("itumail@itu.int").web("http://www.itu.int/home/"); doc.setAuthor(ituBuilder.build()); doc.setDate("2002-08"); ident = new Identifier("ITU-T Rec. T.800 (2002)", IdentifierType.ITU); doc.setIdentifier(ident);
DocumentType.STANDARD); doc.setPublisher(Agent.newIsoInstance()); doc.setDate("1991"); doc.setIdentifier(new Identifier("ISO/IEC 646:1991", IdentifierType.ISO)); _specification.add(doc); .email("info@ansi.org").web("http://www.ansi.org/"); doc.setPublisher(builder.build()); doc.setDate("1986-12-30"); doc.setIdentifier(new Identifier("ANSI X3.4-1986", IdentifierType.ANSI)); _specification.add(doc); doc.setDate("1991-12"); builder = new Agent.Builder("ECMA", AgentType.STANDARD) .address("114 Rue du Rhone, CH-1204 Geneva, Switzerland")
agent = new Agent.Builder("Addison-Wesley", AgentType.COMMERCIAL).address("Boston, Massachusetts").build(); doc.setPublisher(agent); doc.setDate("2011"); doc.setIdentifier(new Identifier("978-1-936213-01-6", IdentifierType.ISBN)); + "Plane. Appendix R, Amendment 2", DocumentType.STANDARD); doc.setPublisher(Agent.newIsoInstance()); doc.setDate("1991"); doc.setIdentifier(new Identifier("ISO/IEC 10646-1 Amendment 2", IdentifierType.ISO)); agent = new Agent.Builder("IETF", AgentType.NONPROFIT).web("http://www.ietf.org/").build(); doc.setPublisher(agent); doc.setDate("1998-01"); doc.setIdentifier(new Identifier("RFC 2279", IdentifierType.RFC)); doc.setIdentifier(new Identifier("http://www.ietf.org/rfc/rfc2279.txt",
.build(); doc.setPublisher(agent); doc.setDate("1992-09-01"); doc.setIdentifier(new Identifier( "http://www.w3.org/Graphics/JPEG/jfif3.pdf", IdentifierType.URL)); .build(); doc.setPublisher(jeitaAgent); doc.setDate("2010-04"); Identifier ident = new Identifier("JEITA CP-3451C", IdentifierType.JEITA); doc.setIdentifier(ident); + "still cameras: Exif Version 2.2", DocumentType.STANDARD); doc.setPublisher(jeitaAgent); doc.setDate("2002-04"); ident = new Identifier("JEITA CP-3451", IdentifierType.JEITA); doc.setIdentifier(ident); DocumentType.STANDARD); doc.setPublisher(jeitaAgent); doc.setDate("1998-12"); ident = new Identifier("JEITA JEIDA-49-1998", IdentifierType.JEITA); doc.setIdentifier(ident);
Agent adobeAgent = Agent.newAdobeInstance(); doc.setPublisher(adobeAgent); doc.setDate("1992-06-03"); doc.setEdition("Final"); doc.setIdentifier(new Identifier("http://partners.adobe.com/asn/" AgentType.COMMERCIAL).build(); doc.setPublisher(agent); doc.setDate("1988-08-08"); doc.setNote("Aldus was acquired by Adobe Systems, Inc., in 1993"); _specification.add(doc); .build(); doc.setPublisher(agent); doc.setDate("1987-04-30"); doc.setNote("Aldus was acquired by Adobe Systems, Inc., in 1993"); _specification.add(doc); Agent isoAgent = Agent.newIsoInstance(); doc.setPublisher(isoAgent); doc.setDate("2001-10-15"); Identifier ident = new Identifier("ISO 12234-2:2001(E)", IdentifierType.ISO); doc.setDate("2003-09-04"); ident = new Identifier("ISO/DIS 12639:2003(E)", IdentifierType.ISO); doc.setIdentifier(ident); doc.setPublisher(agent);
IdentifierType.URL)); doc.setPublisher(ebuAgent); doc.setDate("2011-05"); _specification.add(doc); IdentifierType.URL)); doc.setPublisher(ebuAgent); doc.setDate("2009-07"); _specification.add(doc); DocumentType.RFC); doc.setPublisher(ietfAgent); doc.setDate("1998-06"); doc.setIdentifier(new Identifier("RFC 2361", IdentifierType.RFC)); doc.setIdentifier(new Identifier(