A static factory class for creating new instances.
| Type Params | Return Type | Name 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. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates a new, empty, Content.
schema - The Schema in which the Content will live.Constructs a Content object using previously saved data.
xml - XmlObject to which data has previously been saved.schema - The Schema in which to place the newly constructed Content.