Package com.eviware.soapui.inferredSchema

Examples of com.eviware.soapui.inferredSchema.SequenceContentConfig


    }
  }

  public SequenceContentConfig save()
  {
    SequenceContentConfig xml = SequenceContentConfig.Factory.newInstance();
    xml.setCompleted( completed );
    List<ParticleConfig> particleList = new ArrayList<ParticleConfig>();
    for( Particle item : particles.values() )
      particleList.add( item.save() );
    xml.setParticleArray( particleList.toArray( new ParticleConfig[0] ) );
    for( Map.Entry<QName, List<QName>> entry : comesBefore.entrySet() )
    {
      ComesBefore comesBeforeEntry = xml.addNewComesBefore();
      comesBeforeEntry.setQname( entry.getKey() );
      for( QName item : entry.getValue() )
        comesBeforeEntry.addOther( item );
    }
    return xml;
View Full Code Here


        }
    }

    @Override
    public SequenceContentConfig save() {
        SequenceContentConfig xml = SequenceContentConfig.Factory.newInstance();
        xml.setCompleted(completed);
        List<ParticleConfig> particleList = new ArrayList<ParticleConfig>();
        for (Particle item : particles.values()) {
            particleList.add(item.save());
        }
        xml.setParticleArray(particleList.toArray(new ParticleConfig[0]));
        for (Map.Entry<QName, List<QName>> entry : comesBefore.entrySet()) {
            ComesBefore comesBeforeEntry = xml.addNewComesBefore();
            comesBeforeEntry.setQname(entry.getKey());
            for (QName item : entry.getValue()) {
                comesBeforeEntry.addOther(item);
            }
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.inferredSchema.SequenceContentConfig

Copyright © 2018 www.massapicom. 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.