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()
Type
public String getName()
Type
public Schema getSchema()
Type
public void setSchema(Schema schema)
Type
public Type validate(Context context) throws org.apache.xmlbeans.XmlException
Type
Copyright © 2019. All Rights Reserved.