DocumentPropertyCollection

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Iterable

public abstract class DocumentPropertyCollection implements Iterable

Base class for collections.

Methods

MethodDescription
clear()Removes all properties from the collection.
contains(String name)Returns true if a property with the specified name exists in the collection.
equals(Object arg0)
get(int index)Returns a DocumentProperty object by index.
get(String name)Returns a DocumentProperty object by the name of the property.
getClass()
getCount()Gets number of items in the collection.
hashCode()
indexOf(String name)Gets the index of a property by name.
iterator()
notify()
notifyAll()
removeAt(int index)Removes a property at the specified index.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

clear()

public void clear()

Removes all properties from the collection.

contains(String name)

public boolean contains(String name)

Returns true if a property with the specified name exists in the collection.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe case-insensitive name of the property.

Returns: boolean - True if the property exists in the collection; false otherwise.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public DocumentProperty get(int index)

Returns a DocumentProperty object by index.

Parameters:

ParameterTypeDescription
indexintZero-based index of the DocumentProperty to retrieve.

Returns: DocumentProperty

get(String name)

public DocumentProperty get(String name)

Returns a DocumentProperty object by the name of the property.

Returns null if a property with the specified name is not found.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe case-insensitive name of the property to retrieve.

Returns: DocumentProperty

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCount()

public int getCount()

Gets number of items in the collection.

Returns: int

hashCode()

public native int hashCode()

Returns: int

indexOf(String name)

public int indexOf(String name)

Gets the index of a property by name.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe case-insensitive name of the property.

Returns: int - The zero based index. Negative value if not found.

iterator()

public Iterator iterator()

Returns: java.util.Iterator -

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeAt(int index)

public void removeAt(int index)

Removes a property at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero based index.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int