Examples of itemByName()


Examples of com.jitcaforwin.basic.api.IITEQPresetCollection.itemByName()

   * @return The specified EQPreset. NULL, if there is no existing EQPreset with the specified name.
   * @throws JitcaException if an error occurs.
   */
  private EQPreset loadEQPresetFromiTunes(String eqName){
    IITEQPresetCollection itEQPresetCollection = this.iTunes.getEQPresets();
    IITEQPreset itEQPreset = itEQPresetCollection.itemByName(eqName);
    if (itEQPreset == null) return null;
    EQPreset eqPreset = new EQPresetImpl(itEQPreset);
    this.addEQPreset(eqPreset);
    return eqPreset;
  }
View Full Code Here

Examples of com.jitcaforwin.basic.api.IITEQPresetCollection.itemByName()

   * @return The specified EQPreset. NULL, if there is no existing EQPreset with the specified name.
   * @throws JitcaException if an error occurs.
   */
  private EQPreset loadEQPresetFromiTunes(String eqName){
    IITEQPresetCollection itEQPresetCollection = this.iTunes.getEQPresets();
    IITEQPreset itEQPreset = itEQPresetCollection.itemByName(eqName);
    if (itEQPreset == null) return null;
    EQPreset eqPreset = new EQPresetImpl(itEQPreset);
    this.addEQPreset(eqPreset);
    return eqPreset;
  }
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      XSModel xsmodel = xsloader.loadURI("resources/tools/wsdlfixture/CustomInterface20.xsd");
      assertNotNull("XSModel is null?", xsmodel);

      XSNamedMap xsnamedmap = getXSNamedMap(xsmodel, typeNS);
      assertEquals(2, xsnamedmap.getLength());
      assertNotNull(xsnamedmap.itemByName(typeNS, "SomeException"));
      assertNotNull(xsnamedmap.itemByName(typeNS, "Base"));
   }

   /**
    * Test a complex schema that deals with multiple schema elements
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      assertNotNull("XSModel is null?", xsmodel);

      XSNamedMap xsnamedmap = getXSNamedMap(xsmodel, typeNS);
      assertEquals(2, xsnamedmap.getLength());
      assertNotNull(xsnamedmap.itemByName(typeNS, "SomeException"));
      assertNotNull(xsnamedmap.itemByName(typeNS, "Base"));
   }

   /**
    * Test a complex schema that deals with multiple schema elements
    * and an array of a custom type
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      assertTrue("Does Schema file exist?", xsdFile.exists());
      XSModel xsmodel = parseSchema(xsdFile.toURL());
      assertNotNull("XSModel is null?", xsmodel);
      XSNamedMap xsmap = xsmodel.getComponentsByNamespace(XSConstants.TYPE_DEFINITION, "http://org.jboss.ws/types");
      assertNotNull("XSNamedMap is null?", xsmap);
      XSObject xsobj = xsmap.itemByName("http://org.jboss.ws/types", "USAddress");
      assertNotNull("Is XSObject null?", xsobj);
   }

   /**
    * Check bad include in schema
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      schemaMap.put("http://org.jboss.ws/types2", new File("resources/tools/xsd/schemaimport/SchemaImport.xsd").toURL());
      XSModel xsmodel = parseSchema(schemaMap);
      assertNotNull("XSModel is null?", xsmodel);
      XSNamedMap xsmap = xsmodel.getComponentsByNamespace(XSConstants.TYPE_DEFINITION, "http://org.jboss.ws/types2");
      assertNotNull("XSNamedMap is null?", xsmap);
      XSObject xsobj = xsmap.itemByName("http://org.jboss.ws/types2", "USAddress");
      assertNotNull("Is XSObject null?", xsobj);
   }
}
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      assertTrue("Does Schema file exist?", xsdFile.exists());
      XSModel xsmodel = parseSchema(xsdFile.toURL());
      assertNotNull("XSModel is null?", xsmodel);
      XSNamedMap xsmap = xsmodel.getComponentsByNamespace(XSConstants.TYPE_DEFINITION, "http://org.jboss.ws/types");
      assertNotNull("XSNamedMap is null?", xsmap);
      XSObject xsobj = xsmap.itemByName("http://org.jboss.ws/types", "USAddress");
      assertNotNull("Is XSObject null?", xsobj);
   }

   /**
    * Check bad include in schema
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      schemaMap.put("http://org.jboss.ws/types2", getResourceURL("/tools/xsd/schemaimport/SchemaImport.xsd"));
      XSModel xsmodel = parseSchema(schemaMap);
      assertNotNull("XSModel is null?", xsmodel);
      XSNamedMap xsmap = xsmodel.getComponentsByNamespace(XSConstants.TYPE_DEFINITION, "http://org.jboss.ws/types2");
      assertNotNull("XSNamedMap is null?", xsmap);
      XSObject xsobj = xsmap.itemByName("http://org.jboss.ws/types2", "USAddress");
      assertNotNull("Is XSObject null?", xsobj);
   }
}
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      XSModel xsmodel = xsloader.loadURI(getResourceFile("tools/wsdlfixture/CustomInterface20.xsd").getAbsolutePath());
      assertNotNull("XSModel is null?", xsmodel);

      XSNamedMap xsnamedmap = getXSNamedMap(xsmodel, typeNS);
      assertEquals(2, xsnamedmap.getLength());
      assertNotNull(xsnamedmap.itemByName(typeNS, "SomeException"));
      assertNotNull(xsnamedmap.itemByName(typeNS, "Base"));
   }

   /**
    * Test a complex schema that deals with multiple schema elements
View Full Code Here

Examples of org.apache.xerces.xs.XSNamedMap.itemByName()

      assertNotNull("XSModel is null?", xsmodel);

      XSNamedMap xsnamedmap = getXSNamedMap(xsmodel, typeNS);
      assertEquals(2, xsnamedmap.getLength());
      assertNotNull(xsnamedmap.itemByName(typeNS, "SomeException"));
      assertNotNull(xsnamedmap.itemByName(typeNS, "Base"));
   }

   /**
    * Test a complex schema that deals with multiple schema elements
    * and an array of a custom type
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.