Class PatternProp

All Implemented Interfaces:
EventListener, IGProp<KString>, IReferencingGProp, IKStringHolder<KString>, IKStringInfoProvider, IKStringValuePropHolder<KString>, ITextExternalizableProp<KString>, Cloneable

public class PatternProp extends PlainKStringProp
The pattern property class extends a KStringProp. The parent of this property should implement IPatternOwner.
Author:
Christopher Mindus
  • Constructor Details

    • PatternProp

      public PatternProp()
      Constructor without name.
    • PatternProp

      public PatternProp(Atom name)
      Constructor with a name.
    • PatternProp

      public PatternProp(Atom name, String pattern)
      Constructor with a name and a simple pattern.
      Parameters:
      pattern - The pattern to set without tags.
    • PatternProp

      public PatternProp(Atom name, PlainKString pattern)
      Constructor with a name and a pattern.
      Parameters:
      pattern - The pattern to set.
  • Method Details

    • verify

      public boolean verify(PropVerification verification)
      Verifies this property. The check performed is the extension of classes and that no circular reference is present.
      Specified by:
      verify in interface IGProp<KString>
      Overrides:
      verify in class KStringProp
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.