Builder builder = new Agent.Builder ("Apple Computer, Inc.", AgentType.COMMERCIAL).address ("1 Infinite Loop, Cupertino, CA 95014").telephone("(408) 996-1010").web("http://www.apple.com/"); Agent appleAgent = builder.build(); doc.setAuthor (appleAgent); doc.setDate ("1989-01-04");
/** * 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); }
Builder builder = new Agent.Builder("Compuserve Interactive Services Inc.", AgentType.COMMERCIAL).address ("5000 Arlington Centre Blvd., Columbus, OS 43220").telephone ("(614) 457-8600").web ("http://www.compuserve.com/"); Agent cmpsrvAgent = builder.build(); doc.setAuthor (cmpsrvAgent); doc.setDate ("1987-06-15");
AgentType.COMMERCIAL).build(); doc.setPublisher(agent); doc.setDate("1988-08-08"); DocumentType.REPORT); agent = new Agent.Builder("Aldus Corporation", AgentType.COMMERCIAL) .build(); doc.setPublisher(agent); doc.setDate("1987-04-30"); + "Washington, DC 20036") .telephone("+1 (202) 939-4761").fax("+1 (202) 939-4765") .email("dlf@clir.org").web("http://www.diglib.org/").build(); doc.setPublisher(agent); doc.setEdition("Version 1"); + "Spirit of TIFF Class F", DocumentType.REPORT); agent = new Agent.Builder("Cygnet Technologies", AgentType.COMMERCIAL) .build(); doc.setPublisher(agent); doc.setDate("1990-04-28"); + "for Facsimile", DocumentType.RFC); Agent ietfAgent = new Agent.Builder("IETF", AgentType.STANDARD).web( "http://www.ietf.org").build(); doc.setPublisher(ietfAgent); doc.setDate("1998-03"); + "Tokyo 101-0062, Japan")
.address("1778 McCarthy Boulevard, Milipitas, CA 95035") .telephone("+1 (408) 944-6314").fax("+1 (408) 944-6314") .build(); doc.setPublisher(agent); doc.setDate("1992-09-01"); + "Tokyo 101-0062, Japan") .telephone("+81(03) 3518-6421").fax("+81(03) 3295-8721") .build(); doc.setPublisher(jeitaAgent); doc.setDate("2010-04");
+ "(ISO/IEC 15444) RFC 3745", DocumentType.RFC); Agent ietfAgent = new Agent.Builder("IETF", AgentType.STANDARD).web( "http://www.ietf.org").build(); doc.setPublisher(ietfAgent); Agent agent = new Agent.Builder("D. Singer", AgentType.OTHER).build(); doc.setAuthor(agent); agent = new Agent.Builder("R. Clark", AgentType.OTHER).build(); doc.setAuthor(agent); agent = new Agent.Builder("D. Lee", AgentType.OTHER).build(); doc.setAuthor(agent); doc.setDate("2004-04"); .telephone("+41 22 730 51 11").fax("+41 22 730 6500") .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);
AgentType.NONPROFIT) .web("http://www.unicode.org/versions/Unicode7.0.0/") .address("Mountain View, California").build(); doc.setAuthor(agent); agent = new Agent.Builder("Addison-Wesley", AgentType.COMMERCIAL).address("Boston, Massachusetts").build(); doc.setPublisher(agent); doc.setDate("2011"); agent = new Agent.Builder("F. Yergeau", AgentType.OTHER).build(); doc.setAuthor(agent); agent = new Agent.Builder("IETF", AgentType.NONPROFIT).web("http://www.ietf.org/").build(); doc.setPublisher(agent); doc.setDate("1998-01");
.telephone("+1 (202) 293-8020").fax("+1 (202) 293-9287") .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)); .email("helpdesk@ecma.ch") .web("http://www.ecma-international.org/"); doc.setPublisher(builder.build()); doc.setIdentifier(new Identifier("ECMA-6", IdentifierType.ECMA)); doc.setIdentifier(new Identifier("http://www.ecma-international."
public static final Agent newAdobeInstance() { Builder builder = new Builder("Adobe Systems, Inc.", AgentType.COMMERCIAL) .address("345 Park Avenue, San Jose, California 95110-2704") .telephone("+1 (408) 536-6000").fax("+1 (408) 537-6000") .web("http://www.adobe.com/"); return builder.build(); }
public static final Agent newIsoInstance() { Builder builder = new Builder("ISO", AgentType.STANDARD) .address( "1, rue de Varembe, Casa postale 56, " + "CH-1211, Geneva 20, Switzerland") .telephone("+41 22 749 01 11").fax("+41 22 733 34 30") .email("iso@iso.ch").web("http://www.iso.org/"); return builder.build(); }
public static final Agent newW3CInstance() { Builder builder = new Builder("Word Wide Web Consortium", AgentType.NONPROFIT) .address( "Massachusetts Institute of Technology, " + "Computer Science and Artificial Intelligence Laboratory, " + "32 Vassar Street, Room 32-G515, " + "Cambridge, MA 02139") .telephone("(617) 253-2613").fax("(617) 258-5999") .web("http://www.w3.org/"); return builder.build(); }