Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlbeans.impl.common
Class XmlObjectList

    java.lang.Object
      org.apache.xmlbeans.impl.common.XmlObjectList

    public class XmlObjectList

extends java.lang.Object

A class to hold and compare a list of XmlObjects for use by keys keyrefs during validation.

Constructor Summary
`XmlObjectList(int objectCount)` Construct a new empty object list of the given fixed size.

Method Summary
`boolean` | `equals(java.lang.Object o)`
`boolean` | `filled()` Tests that all values have been set.
`int` | `hashCode()`
`boolean` | `set(XmlObject o, int index)` Set an object by index unless a value has been previously set at that location.
`java.lang.String` | `toString()`
`int` | `unfilled()` Tests that all values have been set.

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### XmlObjectList

    public XmlObjectList(int objectCount)

  Construct a new empty object list of the given fixed size.

Method Detail

### set

    public boolean set(XmlObject o,
                       int index)

  Set an object by index unless a value has been previously set at that location.

  Returns:
    true if the value was set, false if the value has already been set

### filled

    public boolean filled()

  Tests that all values have been set. Needed for keys.

### unfilled

    public int unfilled()

  Tests that all values have been set. Needed for keys.

### equals

    public boolean equals(java.lang.Object o)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD