Package com.bansheeproject.builder.entity.test

Examples of com.bansheeproject.builder.entity.test.FieldMapComplex


  @Test
  public void testMarshallComplexIteration() throws DatatypeConfigurationException {
   
   
    Date date = new Date();
    FieldMapComplex fieldMapComplex = new FieldMapComplex();
   
    fieldMapComplex.setDateValue(date);
    fieldMapComplex.setDoubleValue(1.0);
    fieldMapComplex.setStringValue("stringValue");
    FieldMapSimple simple = new FieldMapSimple();
    simple.setSimpleStringContent("simpleStringContent");
    fieldMapComplex.setContent(simple);
   
   
    Parser parser =new Parser();
    String xml = parser.encode(fieldMapComplex);
   
View Full Code Here


  @Test
  public void testMarshallEntityWithoutRightAccessType() throws DatatypeConfigurationException {
   
   
    Date date = new Date();
    FieldMapComplex fieldMapComplex = new FieldMapComplex();
   
    fieldMapComplex.setDateValue(date);
    fieldMapComplex.setDoubleValue(1.0);
    fieldMapComplex.setStringValue("stringValue");
   
    PathFieldSimple simple = new PathFieldSimple();
    simple.setSimpleStringContent("simpleStringContent");
    fieldMapComplex.setContent(simple);
   
   
    Parser parser =new Parser();
    String xml = parser.encode(fieldMapComplex);
   
View Full Code Here

TOP

Related Classes of com.bansheeproject.builder.entity.test.FieldMapComplex

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.