public interface PropertyType
extends java.io.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) |
java.lang.String |
getDescription() |
java.lang.String |
getLabel() |
java.lang.String |
getName()
The name of the property type is optional.
|
TypeRule |
getRule() |
void |
setDescription(java.lang.String description) |
void |
setLabel(java.lang.String label) |
void |
setName(java.lang.String name) |
void |
setRule(TypeRule rule)
Add the root rule of a logic tree.
|
java.lang.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(java.lang.String name)
name
- the type name to set.java.lang.String getLabel()
void setLabel(java.lang.String label)
label
- the default label to setjava.lang.String getDescription()
void setDescription(java.lang.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