Type.Factory
Constructor and Description |
---|
ComplexType(ComplexTypeConfig xml,
Schema schema) |
ComplexType(Schema schema,
String name,
boolean completed) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the name for the type, not including namespace prefix.
|
Schema |
getSchema()
Getter for the schema in which the element/attribute with this type lives.
|
TypeReferenceConfig |
save()
Serialize instance to XmlObject.
|
void |
save(ComplexTypeConfig xml) |
void |
setContent(Content content) |
void |
setSchema(Schema schema)
Setter for the schema in which this type lives.
|
String |
toString() |
Type |
validate(Context context)
Validate an element/attribute with this type.
|
public ComplexType(ComplexTypeConfig xml, Schema schema)
public void save(ComplexTypeConfig xml)
public TypeReferenceConfig save()
Type
public void setContent(Content content)
public Type validate(Context context) throws org.apache.xmlbeans.XmlException
Type
public String getName()
Type
public Schema getSchema()
Type
public void setSchema(Schema schema)
Type
Copyright © 2019. All Rights Reserved.