Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static Type |
newType(Schema schema)
Creates a new empty Type object.
|
static Type |
parse(TypeConfig xml,
Schema schema)
Parses the given XmlObject into a Type instance.
|
public static Type newType(Schema schema)
schema
- The Schema in which to place the type.public static Type parse(TypeConfig xml, Schema schema)
xml
- The XmlObject storing the saved type.schema
- The schema in which to place the type.Copyright © 2019. All Rights Reserved.