java.lang.Object
com.saperion.ngc.viewer.hylandviewer.annotation.json.Section

public class Section extends Object
Holds information about the annotation type and its key-value pairs [TEXT] CUSTOMPROPERTY = 65537 X = 1636 Y = 574 WIDTH = 4323 HEIGHT = 1539 PAGE = 1 EDIT = 1 TEXT = Text FONT_NAME = NSimSun FONT_BOLD = 1 FONT_ITALIC = 1 FONT_UNDERLINE = 1 FONT_STRIKETHROUGH = 0 FONTHEIGHT = 100 COLOR = 0, 0, 0 FILLCOLOR = 255, 128, 128 TRANSPARENT = 1 READONLY = 0
Author:
schowdhury
  • Constructor Details

  • Method Details

    • getAnnType

      public String getAnnType()
    • setAnnType

      public void setAnnType(String annType)
    • getKeyValuePair

      public Map<String,String> getKeyValuePair()
    • setKeyValuePair

      public void setKeyValuePair(Map<String,String> keyValuePair)
    • getValue

      public static String getValue(Section section, String key)
      Resolve a string value from a section with the given key
      Parameters:
      section -
      key -
      Returns:
      the value