Examples of ProfileImpl


Examples of org.geotools.feature.type.ProfileImpl

     */
    public AttributeType type(Class clazz) {
        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.values().iterator(); i.hasNext();) {
                AttributeType type = (AttributeType) i.next();
   
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(type);
                }
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

     */
    public Name name(Class clazz) {
        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry) i.next();
                AttributeType type = (AttributeType) entry.getValue();
               
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(entry);
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

        profile.add(new NameImpl(XS.DOUBLE)); // Double.class
        profile.add(new NameImpl(XS.STRING)); // String.class
        profile.add(new NameImpl(XS.INTEGER)); // BigInteger.class
        profile.add(new NameImpl(XS.DECIMAL)); // BigDecimal.class
        profile.add(new NameImpl(XS.ANYURI)); // URI.class
        return new ProfileImpl(this, profile);
    }
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

        profile.add(new NameImpl(GML.MultiLineStringPropertyType));
        profile.add(new NameImpl(GML.PolygonPropertyType));
        profile.add(new NameImpl(GML.MultiPolygonPropertyType));
        profile.add(new NameImpl(GML.GeometryPropertyType));
       
        return new ProfileImpl(this,profile);
    }
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

     */
    public AttributeType type(Class clazz) {
        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.values().iterator(); i.hasNext();) {
                AttributeType type = (AttributeType) i.next();
   
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(type);
                }
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

     */
    public Name name(Class clazz) {
        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry) i.next();
                AttributeType type = (AttributeType) entry.getValue();
               
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(entry);
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

     */
    public AttributeType type(Class clazz) {
        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.values().iterator(); i.hasNext();) {
                AttributeType type = (AttributeType) i.next();
   
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(type);
                }
View Full Code Here

Examples of org.geotools.feature.type.ProfileImpl

     */
    public Name name(Class clazz) {
        ArrayList assignable = new ArrayList();

        for (Iterator p = profiles.iterator(); p.hasNext(); ) {
            ProfileImpl profile = (ProfileImpl) p.next();
           
            for (Iterator i = profile.entrySet().iterator(); i.hasNext();) {
                Map.Entry entry = (Map.Entry) i.next();
                AttributeType type = (AttributeType) entry.getValue();
               
                if (type.getBinding().isAssignableFrom(clazz)) {
                    assignable.add(entry);
View Full Code Here

Examples of org.jboss.forge.addon.maven.profiles.ProfileImpl

public class ProfileBuilderTest
{
   @Test
   public void testCreateWithExistingProfile() throws Exception
   {
      ProfileImpl profile = new ProfileImpl();
      profile.setId("testprofile");
      ProfileBuilder profileBuilder = ProfileBuilder.create(profile);
      assertThat(profileBuilder.getId(), is(profile.getId()));
   }
View Full Code Here

Examples of org.jboss.system.server.profile.basic.ProfileImpl

/*     */   }
/*     */
/*     */   public void start()
/*     */   {
/*  76 */     ProfileKey key = new ProfileKey(this.name);
/*  77 */     this.defaultImpl = new ProfileImpl(this.profileRoot, key);
/*     */   }
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.