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 String
getDescription()
Gets the description to be used for this schemsString
getLabel()
Gets the label to be used for this schemaString
getPrefix()
Gets the prefix defined to be used for this schemavoid
setDescription(String description)
Sets the description extracted from rng schemavoid
setLabel(String label)
Sets the extracted label from rng schemavoid
setPrefix(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
-
-