Examples of Profile


Examples of com.hp.hpl.deli.Profile

     */
    public Profile getProfile(Request theRequest)
    throws IOException, ServletException, Exception {
    try {
         CocoonServletRequest servletRequest = new CocoonServletRequest(theRequest);
         Profile theProfile = new Profile((HttpServletRequest) servletRequest);
         return theProfile;
    } catch (Exception e) {
        getLogger().error("DELI Exception while retrieving profile: ", e);
        throw e;
    }
View Full Code Here

Examples of com.hp.hpl.jena.ontology.Profile

     * @see com.hp.hpl.jena.ontology.OWLSyntaxChecker#getOWLLanguageLevel(com.hp.hpl.jena.ontology.OntModel, java.util.List)
     */
    public Resource getOWLLanguageLevel(OntModel owlModel, List problems)
            throws OntologyException {
// Code from OntModelImpl.getOWLLanguageLevel version 2.2 beta
        Profile oProf = owlModel.getProfile();
        if (!(oProf instanceof OWLProfile)) {
            throw new OntologyException( "Cannnot perform OWL language level test on non OWL model" );
        }
       
        // this process is made complicated by the design of the syntax checker, which uses
View Full Code Here

Examples of com.ibm.sbt.services.client.connections.profiles.Profile

    return null;
  }
 
  public static String getProfileXMLString(){
    ProfileService svc = new ProfileService("connections");
    Profile prof=null;
    String xmlText = null;
    try {
      prof = svc.getMyProfile();
      xmlText =DOMUtil.getXMLString((Node)prof.getDataHandler().getData());
    } catch (XMLException e) {
      e.printStackTrace();
    }
    catch (ProfileServiceException e) {
      e.printStackTrace();
View Full Code Here

Examples of com.ibm.sbt.services.client.smartcloud.profiles.Profile

   * @return Profile
   */
  @Override
  public Profile createEntityFromData(Object data) {
    JsonDataHandler handler = new JsonDataHandler((JsonJavaObject)data);
    Profile profile  = new Profile(service, handler);
    return profile;
  }
View Full Code Here

Examples of com.ibm.ucp.Profile

//                params.put("odbc-host", "not used");
//                params.put("odbc-port", "-1");
                Element parameters = createParameters(params);
                MCSDeviceRepositoryProvider provider =
                        new MCSDeviceRepositoryProvider("provider name", parameters);
                Profile profile = provider.getProfile("unknown device");
                assertNull(profile);

            }
        });
View Full Code Here

Examples of com.insightfullogic.honest_profiler.core.collector.Profile

    private final ConsoleUserInterface ui = new ConsoleUserInterface(console);

    @Test
    public void rendersSingleMethod() {
        ProfileNode root = new ProfileNode(ProfileFixtures.printf, 1.0);
        Profile profile = new Profile(2, asList(new FlatProfileEntry(ProfileFixtures.printf, 1.0, 0.0)), toTrees(root));

        ui.accept(profile);

        console.isShowingTraces(2);
        console.displaysMethod(ProfileFixtures.printf);
View Full Code Here

Examples of com.jagpdf.Profile

public class encrypted {
    static String horse = "\u017elu\u0165ou\u010dk\u00fd k\u016f\u0148 \u00fap\u011bl";

    public static void main(String argv[]) {
        Profile profile = jagpdf.create_profile();
        profile.set("doc.encryption", "standard");
        profile.set("doc.static_file_id", "1");
        profile.set("info.static_producer", "1");
        profile.set("info.creation_date", "0");
        profile.set("stdsh.pwd_user", "user");
        profile.set("stdsh.pwd_owner", "owner");
        Document doc = jagpdf.create_file(argv[0] + "/encrypted.pdf", profile);
        doc.page_start(597.6, 848.68);
        Canvas canvas = doc.page().canvas();
        String res_dir = testlib.getResourcesDir();
        String image_path = res_dir + "/images/lena.jpg";
View Full Code Here

Examples of com.keybox.manage.model.Profile

            PreparedStatement stmt = con.prepareStatement("select * from  profiles g, user_map m where g.id=m.profile_id and m.user_id=? order by nm asc");
            stmt.setLong(1, userId);
            ResultSet rs = stmt.executeQuery();

            while (rs.next()) {
                Profile profile = new Profile();
                profile.setId(rs.getLong("id"));
                profile.setNm(rs.getString("nm"));
                profile.setDesc(rs.getString("desc"));
                profileList.add(profile);
            }
            DBUtils.closeRs(rs);
            DBUtils.closeStmt(stmt);

View Full Code Here

Examples of com.orientechnologies.orient.test.domain.whiz.Profile

    final long beginProfiles = database.countClusterElements("Profile");
    beginCities = database.countClusterElements("City");

    Country italy = new Country("Italy");

    Profile garibaldi = new Profile("GGaribaldi", "Giuseppe", "Garibaldi", null);
    garibaldi.setLocation(new Address("Residence", new City(italy, "Rome"), "Piazza Navona, 1"));

    Profile bonaparte = new Profile("NBonaparte", "Napoleone", "Bonaparte", garibaldi);
    bonaparte.setLocation(new Address("Residence", garibaldi.getLocation().getCity(), "Piazza di Spagna, 111"));
    database.save(bonaparte);

    Assert.assertEquals(database.countClusterElements("Profile"), beginProfiles + 2);
  }
View Full Code Here

Examples of com.orientechnologies.orient.test.domain.whiz.Profile

  @Test(dependsOnMethods = "testQueryCircular")
  public void testSaveMultiCircular() {
    startRecordNumber = database.countClusterElements("Profile");

    Profile bObama = new Profile("ThePresident", "Barack", "Obama", null);
    bObama.setLocation(new Address("Residence", new City(new Country("Hawaii"), "Honolulu"), "unknown"));
    bObama.addFollower(new Profile("PresidentSon1", "Malia Ann", "Obama", bObama));
    bObama.addFollower(new Profile("PresidentSon2", "Natasha", "Obama", bObama));

    database.save(bObama);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.