public interface SchemaDescription
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
accept(SchemaVisitor schemaVisitor) |
void |
addProperty(PropertyDescription property)
Adds a property to the schema.
|
java.lang.String |
getDescription() |
java.lang.String |
getLabel() |
java.lang.String |
getNamespaceURI() |
java.util.List<PropertyDescription> |
getProperties() |
PropertyDescription |
getProperty(java.lang.String localName) |
void |
removeProperty(java.lang.String localName)
Removes a property from the schema namespace.
|
void |
setDescription(java.lang.String description) |
void |
setLabel(java.lang.String label) |
java.lang.String getNamespaceURI()
java.lang.String getLabel()
void setLabel(java.lang.String label)
label
- Sets the default labeljava.lang.String getDescription()
void setDescription(java.lang.String description)
description
- Sets the default descriptionvoid addProperty(PropertyDescription property)
property
- an PropertyDescriptionPropertyDescription getProperty(java.lang.String localName)
localName
- the local name of a propertyjava.util.List<PropertyDescription> getProperties()
void removeProperty(java.lang.String localName)
localName
- the local name of the property to removevoid accept(SchemaVisitor schemaVisitor) throws XMPSchemaException
schemaVisitor
- a visitor that implements the SchemaVisitor
-interfaceXMPSchemaException
- Handles visitor exceptionsCopyright © 2010 - 2020 Adobe. All Rights Reserved