Type.Factory| Constructor and Description |
|---|
EmptyType(EmptyTypeConfig xml,
Schema schema) |
EmptyType(Schema schema) |
| 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.
|
EmptyTypeConfig |
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.
|
public EmptyType(Schema schema)
public EmptyType(EmptyTypeConfig xml, Schema schema)
public EmptyTypeConfig save()
Typepublic String getName()
Typepublic Schema getSchema()
Typepublic void setSchema(Schema schema)
Typepublic Type validate(Context context) throws org.apache.xmlbeans.XmlException
TypeCopyright © 2013. All Rights Reserved.