Class PropertyType

java.lang.Object
org.jfree.xml.generator.model.PropertyType

public final class PropertyType extends Object
An enumeration over the defined property types.

Attribute types are mapped into xml attributes - this is used for primitive data or enumeration classes.

Element types are used to define complex classes, a new xml tag will be introduced for every element type.

The lookup properties are defined elsewhere and are referenced using the defined name during the class building process.

  • Field Details

    • ATTRIBUTE

      public static final PropertyType ATTRIBUTE
      A property that is described using an attribute in the XML.
    • ELEMENT

      public static final PropertyType ELEMENT
      A property that is described using an XML element.
    • LOOKUP

      public static final PropertyType LOOKUP
      A property that is...
    • myName

      private final String myName
      The property type name.
  • Constructor Details

    • PropertyType

      private PropertyType(String name)
      Private constructor prevents new types being created.
      Parameters:
      name - the type name.
  • Method Details

    • toString

      public String toString()
      Returns a string representing the type.
      Overrides:
      toString in class Object
      Returns:
      a string.