|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPropertyDescriptorImpl
AttributeDescriptorImpl
DefaultAttributeType
MultiAttributeType
public class MultiAttributeType
Class to handle more than one occurance of an attribute. There may be better ways to do this, but this seems to work.
Field Summary |
---|
Fields inherited from class AttributeDescriptorImpl |
---|
defaultValue |
Fields inherited from class PropertyDescriptorImpl |
---|
isNillable, maxOccurs, minOccurs, name, type |
Fields inherited from interface AttributeType |
---|
UNBOUNDED |
Constructor Summary | |
---|---|
MultiAttributeType(AttributeType validator)
Deprecated. Constructor with validator. |
|
MultiAttributeType(AttributeType validator,
int maxOccur)
Deprecated. Constructor with validator and maxOccurs |
|
MultiAttributeType(AttributeType validator,
int maxOccur,
int minOccur)
Deprecated. Constructor with validator, minOccurs and maxOccurs |
Method Summary | |
---|---|
Object |
clone()
Deprecated. Returns a clone of this object. |
int |
getMaxOccurs()
Deprecated. Gets the maxOccur of this attribute. |
int |
getMinOccurs()
Deprecated. Gets the minimum number of elements that pass the validator that must be in the list to validate. |
boolean |
isGeometry()
Deprecated. Returns whether the attribute is a geometry. |
String |
toString()
Deprecated. Gets a representation of this object as a string. |
void |
validate(Object attribute)
Deprecated. Whether the tested object is a Feature and its attributes validate against the featureType. |
Methods inherited from class DefaultAttributeType |
---|
createAttributeType, createDefaultValue, duplicate, equals, getBinding, getBinding, getLocalName, getLocalName, getRestriction, getRestriction, hashCode, parse |
Methods inherited from class AttributeDescriptorImpl |
---|
getDefaultValue, getType |
Methods inherited from class PropertyDescriptorImpl |
---|
getName, getUserData, isNillable |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface AttributeType |
---|
isNillable |
Methods inherited from interface AttributeDescriptor |
---|
getDefaultValue, getType |
Methods inherited from interface PropertyDescriptor |
---|
getName, getUserData |
Constructor Detail |
---|
public MultiAttributeType(AttributeType validator)
validator
- Name of this attribute.public MultiAttributeType(AttributeType validator, int maxOccur)
validator
- Name of this attribute.maxOccur
- Number of instances of this attribute in the schema.public MultiAttributeType(AttributeType validator, int maxOccur, int minOccur)
validator
- Name of this attribute.maxOccur
- Number of instances of this attribute in the schema.minOccur
- Class type of this attribute.Method Detail |
---|
public int getMaxOccurs()
getMaxOccurs
in interface AttributeType
getMaxOccurs
in interface PropertyDescriptor
getMaxOccurs
in class PropertyDescriptorImpl
public int getMinOccurs()
getMinOccurs
in interface AttributeType
getMinOccurs
in interface PropertyDescriptor
getMinOccurs
in class PropertyDescriptorImpl
public boolean isGeometry()
isGeometry
in class DefaultAttributeType
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- if clone is not supported.public void validate(Object attribute) throws IllegalArgumentException
validate
in interface AttributeType
validate
in class DefaultAttributeType
attribute
- The object to be tested for validity.
IllegalArgumentException
- if the object does not validate.public String toString()
toString
in class DefaultAttributeType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |