Module jonix.onix3

Class NoPrefix

java.lang.Object
com.tectonica.jonix.onix3.NoPrefix
All Implemented Interfaces:
OnixFlag, OnixTag, Serializable

public class NoPrefix extends Object implements OnixFlag, Serializable

“No prefix” indicator

An empty element that provides a positive indication that a title element does not include any prefix that is ignored for sorting purposes. Optional and non-repeating, and must only be used when <TitleWithoutPrefix> is used and no <TitlePrefix> element is present.

Format XML empty element
Reference name <NoPrefix>
Short tag <x501>
Cardinality 0…1
Example <NoPrefix/>

This tag may be included in the following composites:

Possible placements within ONIX message:

Since:
Onix-3.02
See Also:
  • Field Details

  • Constructor Details

    • NoPrefix

      public NoPrefix()
    • NoPrefix

      public NoPrefix(Element element)
  • Method Details

    • exists

      public boolean exists()
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<NoPrefix> or <x501>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<NoPrefix> action)