Class NotationItem

All Implemented Interfaces:
Serializable, Item

public class NotationItem extends AbstractAtomicItem
Atomic item representing an xs:NOTATION value as an expanded name (Name).
See Also:
  • Constructor Details

    • NotationItem

      public NotationItem(@NonNull @NonNull Name name)
  • Method Details

    • copy

      public Item copy(boolean mutable)
      Description copied from interface: Item
      Makes a copy.
      Parameters:
      mutable - whether the copy should be mutable (if supported by the item).
      Returns:
      a copy
    • getStringValue

      public String getStringValue()
      Description copied from interface: Item
      Returns the string value of the item, if it is an atomic item.
      Returns:
      the string value.
    • getVariantValue

      public Object getVariantValue()
      Description copied from interface: Item
      Returns the Object containing the converted value of the item for a DataFrame. For use to build Variant columns.
      Returns:
      Object representing the converted value of the item.
    • isNotation

      public boolean isNotation()
      Description copied from interface: Item
      Returns whether this item is an xs:NOTATION value (including schema-derived types).
    • getNotationValue

      public Name getNotationValue()
      Description copied from interface: Item
      Returns the expanded name of an xs:NOTATION value; its prefix does not affect equality.
    • getDynamicType

      public ItemType getDynamicType()
      Description copied from interface: Item
      Returns the dynamic type of the item (only for error message purposes).
      Returns:
      the dynamic type as an item type.
    • isAtomic

      public boolean isAtomic()
      Description copied from interface: Item
      Tests whether the item is an atomic item.
      Returns:
      true if it is an atomic item, false otherwise.