public interface PropertyType extends Serializable
SimpleType (describes simple properties),
ArrayType (describes array properties),
StructType (describes struct properties),
UnspecifiedType (this is only used during schema parsing)
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SchemaVisitor schemaVisitor) |
String |
getDescription() |
String |
getLabel() |
String |
getName()
The name of the property type is optional.
|
TypeRule |
getRule() |
void |
setDescription(String description) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setRule(TypeRule rule)
Add the root rule of a logic tree.
|
String getName()
TypeRegistry so that it can be re-used. Names are
also used to point to the core XMP types, that are defined in the
specifications and are available as include files for RelaxNG.void setName(String name)
name - the type name to set.String getLabel()
void setLabel(String label)
label - the default label to setString getDescription()
void setDescription(String description)
description - the default description to setTypeRule getRule()
void setRule(TypeRule rule)
rule - the rule to addvoid accept(SchemaVisitor schemaVisitor) throws XMPSchemaException
schemaVisitor - a visitor that implements the SchemaVisitor-interfaceXMPSchemaException - Handles visitor exceptionsCopyright © 2010 - 2020 Adobe. All Rights Reserved