public class ListProperty extends Property
| Modifier and Type | Class and Description |
|---|---|
static class |
ListProperty.Maker
Inner class for creating instances of
ListProperty |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Property> |
list
Vector containing the list of sub-properties
|
| Modifier | Constructor and Description |
|---|---|
protected |
ListProperty()
Simple constructor used by subclasses to do some special processing.
|
|
ListProperty(Property prop)
Create a new instance, using the given
Property as the first
element in the list. |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Property prop)
Add a new property to the list
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Property> |
getList()
Return the
java.util.List of Property instances
contained in this property. |
java.lang.Object |
getObject()
|
int |
hashCode() |
getCharacter, getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toStringprotected final java.util.List<Property> list
protected ListProperty()
public void addProperty(Property prop)
prop - Property to be added to the listpublic java.util.List<Property> getList()
java.util.List of Property instances
contained in this property.public java.lang.Object getObject()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.