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 Details

    • SchemaInfo

      public SchemaInfo()
  • Method Details

    • 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