Class IgnoredProperty<EnclosingType, EnclosingBean>

java.lang.Object
io.kojan.xml.Property<EnclosingType, EnclosingBean, Void>
org.fedoraproject.xmvn.xml.IgnoredProperty<EnclosingType, EnclosingBean>
Type Parameters:
EnclosingType - data type of entity
EnclosingBean - type of bean associated with the entity

public class IgnoredProperty<EnclosingType, EnclosingBean> extends io.kojan.xml.Property<EnclosingType, EnclosingBean, Void>
A Property of an Entity that is accepted only when reading input XML, but otherwise not stored anywhere and never written out to output XML documents.

WARNING: This class is part of internal implementation of XMvn and it is marked as public only for technical reasons. This class is not part of XMvn API. Client code using XMvn should not reference it directly.

Author:
Mikolaj Izdebski
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    dump(io.kojan.xml.XMLDumper dumper, Void unused)
     
    static <EnclosingType, EnclosingBean>
    IgnoredProperty<EnclosingType, EnclosingBean>
    of(String tag)
    Creates an ignored property.
    protected Void
    parse(io.kojan.xml.XMLParser parser)
     

    Methods inherited from class io.kojan.xml.Property

    getGetter, getSetter, getTag, isOptional, isUnique

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • of

      public static <EnclosingType, EnclosingBean> IgnoredProperty<EnclosingType, EnclosingBean> of(String tag)
      Creates an ignored property.
      Parameters:
      tag - attribute XML tag name
      Returns:
      created property
    • dump

      protected void dump(io.kojan.xml.XMLDumper dumper, Void unused) throws io.kojan.xml.XMLException
      Specified by:
      dump in class io.kojan.xml.Property<EnclosingType, EnclosingBean, Void>
      Throws:
      io.kojan.xml.XMLException
    • parse

      protected Void parse(io.kojan.xml.XMLParser parser) throws io.kojan.xml.XMLException
      Specified by:
      parse in class io.kojan.xml.Property<EnclosingType, EnclosingBean, Void>
      Throws:
      io.kojan.xml.XMLException