qjml QJML Schema


SCHEMA TREEINDEX


text: ID

attribute of: abstract access accessClass aref attributes bean coin contentModel elements enum excludes extends field id identity ignore implements interface item link property qjml range rem selection sequence targetClass targetEditor targetFactory text
targetClass: ID

Identifies the element.

text: JAR

attribute of: qjml
targetClass: JAR

The full name (including version#) of the jar file containing the classes referenced by this QJML document.

text: PUBLIC

attribute of: qjml
targetClass: PUBLIC

The PUBLIC identifier. (A URI naming the type of document.)

text: SYSTEM

attribute of: qjml
targetClass: SYSTEM

The SYSTEM identifier. (The URL of the DTD.)

bean: abstract

extends coin
implements element
implements data
targetClass: Abstract

Abstract elements are used to define attributes for more than one type of coin. Abstract elements can implement any number of interface elements. An abstract coin can extend one other abstract coin.

Attributes (the attributes are not inherited)


Children

full tree

abstract: access

child of: item selection sequence
targetClass: java.lang.Object

Defines the means by which a data item is accessed.
will not be generated with QJML2Java

Attributes (the attributes are not inherited)


Is extended/implemented by



bean: accessClass

extends access
targetClass: AccessClass

The full name of the class used to access the data item.

Attributes (the attributes are not inherited)



text: accessor

attribute of: accessClass
targetClass: Accessor

Full name of a class which implements com.jxml.quick.access.QAccess.

bean: aref

child of: item selection sequence
content: BIMODAL
targetClass: Aref

A reference to an accessor.

Attributes (the attributes are not inherited)



bean: attributes

child of: abstract bean
targetClass: Attributes

Holds the pieces which define the attributes of the element.

Attributes (the attributes are not inherited)


Children

full tree

abstract: base.type

targetClass: java.lang.Object

Specifies the base data types common to text elements and attribute elements.
will not be generated with QJML2Java

valid values:

Is extended/implemented by



bean: bean

extends coin
implements element
targetClass: Bean

bean elements are used to define complex elements with nested element content.

Attributes (the attributes are not inherited)


Children

full tree

text: bean.type (tag=type)

attribute of: bean
targetClass: Bean_type

Specifies the pre-defined data types for bean elements.

valid values:

abstract: bean_23

targetClass: java.lang.Object
will not be generated with QJML2Java

abstract: coin

child of: qjml
targetClass: java.lang.Object

In QDML, a Coin can define an XML element, or an XML attribute. More generally, a Coin defines a type of data element which may take one or more forms, including a Java class or scalar.
will not be generated with QJML2Java

Attributes (the attributes are not inherited)


Is extended/implemented by



text: coinName (tag=coin)

attribute of: access field identity item link property
targetClass: CoinName

A reference to the Coin which defines the data item held by this Coin.

abstract: contentModel

child of: elements selection sequence
targetClass: java.lang.Object

A template for elements which define the content model of an element.
will not be generated with QJML2Java

Attributes (the attributes are not inherited)


Is extended/implemented by



text: cref

attribute of: contentModel item selection sequence
targetClass: Cref

A reference to another content model element.

interface: data

targetClass: Data

Is extended/implemented by



text: editor

attribute of: targetEditor
targetClass: Editor

Full class name of the property editor.

interface: element

targetClass: Element

Is extended/implemented by



bean: elements

child of: bean
targetClass: Elements

Holds the content model of the a bean coin.

Attributes (the attributes are not inherited)


Children

full tree

bean: enum

implements valid
targetClass: Enum

Specifies an acceptable value for an attribute or text coin.

Attributes (the attributes are not inherited)


Children

full tree

bean: excludes

child of: qjml
content: BIMODAL
targetClass: Excludes

A coin that is not to be included.

Attributes (the attributes are not inherited)



bean: extends

child of: abstract bean interface text
content: BIMODAL
targetClass: Extends

Identifies the coin being extended.

Attributes (the attributes are not inherited)



bean: field

extends access
child of: abstract bean text
targetClass: Field

The data item is a Java variable.

Attributes (the attributes are not inherited)



text: fixed

attribute of: item
content: boolean
targetClass: Fixed

The attribute or element will have a fixed text value. When not set to true, the value given will be the default value.

text: generate

attribute of: abstract bean coin interface text
content: boolean
targetClass: Generate

The Java class is to be generated.

bean: id

extends access
targetClass: Id

The data item is an identifier maintained by QDoc.

Attributes (the attributes are not inherited)



bean: identity

extends access
targetClass: Identity

The data item is the entire coin.

Attributes (the attributes are not inherited)



bean: ignore

extends access
targetClass: Ignore

The data item is ignored.

Attributes (the attributes are not inherited)



text: imax

attribute of: range
targetClass: Imax

The largest allowed value (inclusive) of a range

text: imin

attribute of: range
targetClass: Imin

The smallest allowed value (inclusive) of a range.

bean: implements

child of: abstract bean text
content: BIMODAL
targetClass: Implements

Identifies the interface coin being implemented

Attributes (the attributes are not inherited)



link: include

schema: classpath:///com/jxml/quick/model/qjmlModel.qiml
child of: qjml

A reference to another QDML document whose elements are to be included.

text: inherited

attribute of: attributes field
content: boolean
targetClass: Inherited

The attributes inherited from the Coin(s) that this Coin extends or implements.

text: initializer

attribute of: field property
targetClass: Initializer

Used to generate the code to initialize a field or property. E.G. new ArrayList()

text: inline

attribute of: bean link text
content: boolean
targetClass: Inline

When false, force the display to a new line. Defaults to true for attributes and false for elements.

bean: interface

extends coin
implements element
targetClass: Interface

Interface elements are used to represent more than one type of coin. An interface coin can extend any number of other interfaces.

Attributes (the attributes are not inherited)


Children

full tree

bean: item

extends contentModel
child of: attributes
targetClass: Item

An item is used to specify a data item held by a Coin.

Attributes (the attributes are not inherited)


Children

full tree

abstract: item_42

targetClass: java.lang.Object
will not be generated with QJML2Java

text: key

attribute of: access field identity property
targetClass: Key

References an accessor of the content held by this piece. Required for maps. Optional for arrays, indexed properties, and lists

text: kind

attribute of: access field identity property
targetClass: Kind

Identifies the kind of container being used, if other than a scalar.

valid values:

text: label

attribute of: abstract bean coin contentModel interface item link selection sequence text
targetClass: Label

Specifies a unique identifier.

bean: link

extends coin
implements element
targetClass: Link

Link elements are used to define hyperlinks.

Attributes (the attributes are not inherited)


Children

full tree

text: name

attribute of: field property
targetClass: Name

The name of a public variable or bean property. Also serves as a default label for the field or property.

text: optional

attribute of: contentModel item selection sequence
content: boolean
targetClass: Optional

The data item defined by this content model element is optional when set true.

bean: property

extends access
child of: abstract bean interface text
targetClass: Property

The data item is a Java variable.

Attributes (the attributes are not inherited)



text: property.abstract (tag=abstract)

attribute of: property
content: boolean
targetClass: Property_abstract

Declares a property as abstract. Valid only in an abstract coin.

text: property.inherited (tag=inherited)

attribute of: property
targetClass: Property_inherited

Identifies which property methods are inherited. The value of this attribute is generated by the QJML Model.

valid values:

bean: qjml

targetClass: Qjml

The qjml element is the root element of the QJML.

Attributes (the attributes are not inherited)


Children

full tree

abstract: qjml_5

targetClass: java.lang.Object
will not be generated with QJML2Java

bean: range

implements valid
targetClass: Range

Specifies a range of legal values for an attribute or text coin. Comparison depends on the type of the coin (PCDATA, int, float, etc).

Attributes (the attributes are not inherited)


Children

full tree

text: read

attribute of: property
content: boolean
targetClass: Read

There is a get method for the property.

bean: rem

child of: abstract bean enum interface item link range selection sequence text
content: BIMODAL
targetClass: Rem

A comment.

Attributes (the attributes are not inherited)



text: repeating

attribute of: contentModel item selection sequence
content: boolean
targetClass: Repeating

The data item defined by this content model element can occur more than once when set true.

text: root

attribute of: qjml
targetClass: Root

The identifies the root coin.

text: schema

attribute of: item link
targetClass: Schema

Schema for the referenced document.

bean: selection

extends sequence
targetClass: Selection

Defines a list of alternative elements.

Attributes (the attributes are not inherited)


Children

full tree

abstract: selection_44

targetClass: java.lang.Object
will not be generated with QJML2Java

bean: sequence

extends contentModel
targetClass: Sequence

Defines a fixed sequence of elements.

Attributes (the attributes are not inherited)


Children

full tree

Is extended/implemented by



abstract: sequence_43

targetClass: java.lang.Object
will not be generated with QJML2Java

text: size

attribute of: access field identity property
content: int
targetClass: Size

The size of an array or indexed property.

text: tag

attribute of: bean link text
targetClass: Tag

An XML attribute or element tag name.

interface: target

child of: text
targetClass: Target

Identifies the Java class, property editor, or object factory associated with the Coin.

Is extended/implemented by



bean: targetClass

implements target
child of: abstract bean interface
content: BIMODAL
targetClass: TargetClass

Full name of the Java class associated with the Coin.

Attributes (the attributes are not inherited)



bean: targetEditor

implements target
targetClass: TargetEditor

Identifies the property editor associated with the Coin.

Attributes (the attributes are not inherited)



bean: targetFactory

implements target
child of: bean
content: BIMODAL
targetClass: TargetFactory

Full class name of the object factory associated with the Coin.

Attributes (the attributes are not inherited)



text: tetarget (tag=target)

attribute of: targetEditor targetFactory
targetClass: Tetarget

Full name of the Java class associated with this coin.

bean: text

extends coin
implements element
implements data
targetClass: Text

Text elements are used to define attributes and simple elements with text content.

Attributes (the attributes are not inherited)


Children

full tree

text: text.type (tag=type)

extends base.type
attribute of: text
targetClass: Text_type

Specifies the pre-defined data types for text elements.

valid values:

text: trim

attribute of: text
content: boolean
targetClass: Trim

Remove leading/trailing whitespace.

interface: valid

child of: abstract text
targetClass: Valid

Specifies the legal values of an attribute or text coin.

Is extended/implemented by



text: validInherited

attribute of: abstract text
content: boolean
targetClass: ValidInherited

Indicates that enums and ranges are inherited.

text: value

attribute of: enum item
targetClass: Value

An attribute or text value.

text: wild

attribute of: bean link text
content: boolean
targetClass: Wild

Defines a "wild card" Coin which can be used with any XML attribute or element. When true, label must be set, but not tag.

text: write

attribute of: property
content: boolean
targetClass: Write

There is a set method for the property.

text: xmax

attribute of: range
targetClass: Xmax

The largest allowed value (exclusive) of a range

text: xmin

attribute of: range
targetClass: Xmin

The smallest allowed value (exclusive) of a range.

SCHEMA TREE

qjml
|---include


INDEX

abstract
access
accessClass
accessor
aref
attributes
base.type
bean
bean_23
bean.type (tag=type)
coin
coinName (tag=coin)
contentModel
cref
data
editor
element
elements
enum
excludes
extends
field
fixed
generate
id
ID
identity
ignore
imax
imin
implements
include
inherited
initializer
inline
interface
item
item_42
JAR
key
kind
label
link
name
optional
property
property.abstract (tag=abstract)
property.inherited (tag=inherited)
PUBLIC
qjml
qjml_5
range
read
rem
repeating
root
schema
selection
selection_44
sequence
sequence_43
size
SYSTEM
tag
target
targetClass
targetEditor
targetFactory
tetarget (tag=target)
text
text.type (tag=type)
trim
valid
validInherited
value
wild
write
xmax
xmin