Class QNameItem

All Implemented Interfaces:
Serializable, Item

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

    • QNameItem

      public QNameItem(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.
    • isQName

      public boolean isQName()
      Description copied from interface: Item
      Tests whether the item is an atomic item of type xs:QName (expanded QName, see Name).
      Returns:
      true if it is an xs:QName item, false otherwise.
    • getQNameValue

      public Name getQNameValue()
      Description copied from interface: Item
      Returns the expanded name of this item when it is an xs:QName. Value equality follows Name: same namespace URI and local name; the prefix is not significant for equality.
      Returns:
      the expanded name.
    • 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.