Package com.adobe.xmp.schema.rng.model
Class SchemaInfo
- java.lang.Object
-
- com.adobe.xmp.schema.rng.model.SchemaInfo
-
public class SchemaInfo extends java.lang.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 java.lang.String
getDescription()
Gets the description to be used for this schemsjava.lang.String
getLabel()
Gets the label to be used for this schemajava.lang.String
getPrefix()
Gets the prefix defined to be used for this schemavoid
setDescription(java.lang.String description)
Sets the description extracted from rng schemavoid
setLabel(java.lang.String label)
Sets the extracted label from rng schemavoid
setPrefix(java.lang.String prefix)
Sets the prefix defined to be used for this schema.
-
-
-
Method Detail
-
getLabel
public java.lang.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(java.lang.String label)
Sets the extracted label from rng schema- Parameters:
label
- label to set
-
getDescription
public java.lang.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(java.lang.String description)
Sets the description extracted from rng schema- Parameters:
description
- description to set
-
getPrefix
public java.lang.String getPrefix()
Gets the prefix defined to be used for this schema- Returns:
- prefix to use
-
setPrefix
public void setPrefix(java.lang.String prefix)
Sets the prefix defined to be used for this schema.- Parameters:
prefix
- prefix to use
-
-