public interface Type
Modifier and Type | Interface and Description |
---|---|
static class |
Type.Factory
A static factory class for creating new instances.
|
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.
|
TypeConfig |
save()
Serialize instance to XmlObject.
|
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.
|
String getName()
Schema getSchema()
Type validate(Context context) throws org.apache.xmlbeans.XmlException
context
- A Context object holding the currentorg.apache.xmlbeans.XmlException
void setSchema(Schema schema)
schema
- TypeConfig save()
Copyright © 2019. All Rights Reserved.