public class FeatureType extends Object implements Serializable
| Constructor and Description |
|---|
FeatureType() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Attribute vAttribute)
Method addAttribute
|
void |
addAttribute(int index,
Attribute vAttribute)
Method addAttribute
|
void |
addReference(int index,
Reference vReference)
Method addReference
|
void |
addReference(Reference vReference)
Method addReference
|
void |
clearAttribute()
Method clearAttribute
|
void |
clearReference()
Method clearReference
|
Enumeration |
enumerateAttribute()
Method enumerateAttribute
|
Enumeration |
enumerateReference()
Method enumerateReference
|
Attribute[] |
getAttribute()
Method getAttribute
|
Attribute |
getAttribute(int index)
Method getAttribute
|
int |
getAttributeCount()
Method getAttributeCount
|
String |
getName()
Returns the value of field 'name'.
|
String |
getNewName()
Returns the value of field 'newName'.
|
Reference[] |
getReference()
Method getReference
|
Reference |
getReference(int index)
Method getReference
|
int |
getReferenceCount()
Method getReferenceCount
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
boolean |
removeAttribute(Attribute vAttribute)
Method removeAttribute
|
boolean |
removeReference(Reference vReference)
Method removeReference
|
void |
setAttribute(Attribute[] attributeArray)
Method setAttribute
|
void |
setAttribute(int index,
Attribute vAttribute)
Method setAttribute
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setNewName(String newName)
Sets the value of field 'newName'.
|
void |
setReference(int index,
Reference vReference)
Method setReference
|
void |
setReference(Reference[] referenceArray)
Method setReference
|
static FeatureType |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addAttribute(Attribute vAttribute) throws IndexOutOfBoundsException
vAttribute - IndexOutOfBoundsExceptionpublic void addAttribute(int index,
Attribute vAttribute)
throws IndexOutOfBoundsException
index - vAttribute - IndexOutOfBoundsExceptionpublic void addReference(Reference vReference) throws IndexOutOfBoundsException
vReference - IndexOutOfBoundsExceptionpublic void addReference(int index,
Reference vReference)
throws IndexOutOfBoundsException
index - vReference - IndexOutOfBoundsExceptionpublic void clearAttribute()
public void clearReference()
public Enumeration enumerateAttribute()
public Enumeration enumerateReference()
public Attribute getAttribute(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsExceptionpublic Attribute[] getAttribute()
public int getAttributeCount()
public String getName()
public String getNewName()
public Reference getReference(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsExceptionpublic Reference[] getReference()
public int getReferenceCount()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic boolean removeAttribute(Attribute vAttribute)
vAttribute - public boolean removeReference(Reference vReference)
vReference - public void setAttribute(int index,
Attribute vAttribute)
throws IndexOutOfBoundsException
index - vAttribute - IndexOutOfBoundsExceptionpublic void setAttribute(Attribute[] attributeArray)
attributeArray - public void setName(String name)
name - the value of field 'name'.public void setNewName(String newName)
newName - the value of field 'newName'.public void setReference(int index,
Reference vReference)
throws IndexOutOfBoundsException
index - vReference - IndexOutOfBoundsExceptionpublic void setReference(Reference[] referenceArray)
referenceArray - public static FeatureType unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationExceptionCopyright © 2021 B3Partners B.V.. All rights reserved.