Type.Factory
Constructor and Description |
---|
TypeReferenceType(TypeReferenceConfig xml,
Schema schema)
Constructs a new TypeReferenceType from previously saved data.
|
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.
|
Type |
validate(Context context)
Validate an element/attribute with this type.
|
public TypeReferenceType(TypeReferenceConfig xml, Schema schema)
public TypeConfig save()
Type
public String getName()
Type
public Type validate(Context context) throws org.apache.xmlbeans.XmlException
Type
public Schema getSchema()
Type
Copyright © 2019. All Rights Reserved.