java.io.Serializable
public class BindXml
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
BindXml() |
Modifier and Type | Method | Description |
---|---|---|
void |
addProperty(int index,
Property vProperty) |
|
void |
addProperty(Property vProperty) |
|
void |
deleteReference() |
|
void |
deleteTransient() |
|
java.util.Enumeration<? extends Property> |
enumerateProperty() |
Method enumerateProperty.
|
BindXmlAutoNamingType |
getAutoNaming() |
Returns the value of field 'autoNaming'.
|
ClassMapping |
getClassMapping() |
Returns the value of field 'classMapping'.
|
java.lang.String |
getLocation() |
Returns the value of field 'location'.
|
java.lang.String |
getMatches() |
Returns the value of field 'matches'.
|
java.lang.String |
getName() |
Returns the value of field 'name'.
|
BindXmlNodeType |
getNode() |
Returns the value of field 'node'.
|
Property[] |
getProperty() |
Method getProperty.Returns the contents of the collection in
an Array.
|
Property |
getProperty(int index) |
Method getProperty.
|
int |
getPropertyCount() |
Method getPropertyCount.
|
java.lang.String |
getQNamePrefix() |
Returns the value of field 'QNamePrefix'.
|
boolean |
getReference() |
Returns the value of field 'reference'.
|
boolean |
getTransient() |
Returns the value of field 'transient'.
|
java.lang.String |
getType() |
Returns the value of field 'type'.
|
boolean |
hasReference() |
Method hasReference.
|
boolean |
hasTransient() |
Method hasTransient.
|
boolean |
isReference() |
Returns the value of field 'reference'.
|
boolean |
isTransient() |
Returns the value of field 'transient'.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator<? extends Property> |
iterateProperty() |
Method iterateProperty.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllProperty() |
|
boolean |
removeProperty(Property vProperty) |
Method removeProperty.
|
Property |
removePropertyAt(int index) |
Method removePropertyAt.
|
void |
setAutoNaming(BindXmlAutoNamingType autoNaming) |
Sets the value of field 'autoNaming'.
|
void |
setClassMapping(ClassMapping classMapping) |
Sets the value of field 'classMapping'.
|
void |
setLocation(java.lang.String location) |
Sets the value of field 'location'.
|
void |
setMatches(java.lang.String matches) |
Sets the value of field 'matches'.
|
void |
setName(java.lang.String name) |
Sets the value of field 'name'.
|
void |
setNode(BindXmlNodeType node) |
Sets the value of field 'node'.
|
void |
setProperty(int index,
Property vProperty) |
|
void |
setProperty(Property[] vPropertyArray) |
|
void |
setQNamePrefix(java.lang.String QNamePrefix) |
Sets the value of field 'QNamePrefix'.
|
void |
setReference(boolean reference) |
Sets the value of field 'reference'.
|
void |
setTransient(boolean _transient) |
Sets the value of field 'transient'.
|
void |
setType(java.lang.String type) |
Sets the value of field 'type'.
|
static BindXml |
unmarshal(java.io.Reader reader) |
Method unmarshal.
|
void |
validate() |
public void addProperty(Property vProperty) throws java.lang.IndexOutOfBoundsException
vProperty
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteReference()
public void deleteTransient()
public java.util.Enumeration<? extends Property> enumerateProperty()
public BindXmlAutoNamingType getAutoNaming()
public ClassMapping getClassMapping()
public java.lang.String getLocation()
public java.lang.String getMatches()
public java.lang.String getName()
public BindXmlNodeType getNode()
public Property getProperty(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Property[] getProperty()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getPropertyCount()
public java.lang.String getQNamePrefix()
public boolean getReference()
public boolean getTransient()
public java.lang.String getType()
public boolean hasReference()
public boolean hasTransient()
public boolean isReference()
public boolean isTransient()
public boolean isValid()
public java.util.Iterator<? extends Property> iterateProperty()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllProperty()
public boolean removeProperty(Property vProperty)
vProperty
- public Property removePropertyAt(int index)
index
- public void setAutoNaming(BindXmlAutoNamingType autoNaming)
autoNaming
- the value of field 'autoNaming'.public void setClassMapping(ClassMapping classMapping)
classMapping
- the value of field 'classMapping'.public void setLocation(java.lang.String location)
location
- the value of field 'location'.public void setMatches(java.lang.String matches)
matches
- the value of field 'matches'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setNode(BindXmlNodeType node)
node
- the value of field 'node'.public void setProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setProperty(Property[] vPropertyArray)
vPropertyArray
- public void setQNamePrefix(java.lang.String QNamePrefix)
QNamePrefix
- the value of field 'QNamePrefix'.public void setReference(boolean reference)
reference
- the value of field 'reference'.public void setTransient(boolean _transient)
_transient
- transient
- the value of field 'transient'.public void setType(java.lang.String type)
type
- the value of field 'type'.public static BindXml unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com