Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static Content |
newContent(Schema schema)
Creates a new, empty, Content.
|
static Content |
parse(ContentConfig xml,
Schema schema)
Constructs a Content object using previously saved data.
|
public static Content newContent(Schema schema)
schema
- The Schema in which the Content will live.public static Content parse(ContentConfig xml, Schema schema)
xml
- XmlObject to which data has previously been saved.schema
- The Schema in which to place the newly constructed Content.Copyright © 2019. All Rights Reserved.