Package com.adobe.xmp.schema.rng.model
Class SchemaInfo
- java.lang.Object
-
- com.adobe.xmp.schema.rng.model.SchemaInfo
-
public class SchemaInfo extends Object
This class handles schema level info such as label and description, which is extracted from annotations from RelaxNG schema.
-
-
Constructor Summary
Constructors Constructor Description SchemaInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the description to be used for this schemsStringgetLabel()Gets the label to be used for this schemaStringgetPrefix()Gets the prefix defined to be used for this schemavoidsetDescription(String description)Sets the description extracted from rng schemavoidsetLabel(String label)Sets the extracted label from rng schemavoidsetPrefix(String prefix)Sets the prefix defined to be used for this schema.
-
-
-
Method Detail
-
getLabel
public String getLabel()
Gets the label to be used for this schema- Returns:
- label extracted from rng schema for this XMP schema
-
setLabel
public void setLabel(String label)
Sets the extracted label from rng schema- Parameters:
label- label to set
-
getDescription
public String getDescription()
Gets the description to be used for this schems- Returns:
- description extracted from rng schema for this XMP schema
-
setDescription
public void setDescription(String description)
Sets the description extracted from rng schema- Parameters:
description- description to set
-
getPrefix
public String getPrefix()
Gets the prefix defined to be used for this schema- Returns:
- prefix to use
-
setPrefix
public void setPrefix(String prefix)
Sets the prefix defined to be used for this schema.- Parameters:
prefix- prefix to use
-
-