public class BuilderFactory extends Object
Modifier and Type | Method and Description |
---|---|
static DocumentBuilder |
start()
Creates a new
DocumentBuilder . |
static DocumentBuilder |
start(DocumentAssignable seedDocument)
Creates a new
DocumentBuilder to append more elements to an
existing document. |
static ArrayBuilder |
startArray()
Creates a new
ArrayBuilder . |
public static DocumentBuilder start()
DocumentBuilder
.public static DocumentBuilder start(DocumentAssignable seedDocument)
DocumentBuilder
to append more elements to an
existing document.seedDocument
- The document to seed the builder with. The builder will
contain the seed document elements plus any added/appended
elements.public static ArrayBuilder startArray()
ArrayBuilder
.Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.