|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.mapping.xml.BindXml
public class BindXml
The 'bind-xml' element is used for specifying XML specific databinding properties and behavior for a specific field. 'bind-xml' may only appear as a child of a 'field' element.
Constructor Summary | |
---|---|
BindXml()
|
Method Summary | |
---|---|
void |
addProperty(int index,
Property vProperty)
Method addProperty |
void |
addProperty(Property vProperty)
Method addProperty |
void |
deleteReference()
Method deleteReference |
void |
deleteTransient()
Method deleteTransient |
java.util.Enumeration |
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 |
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 |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
removeAllProperty()
Method removeAllProperty |
Property |
removeProperty(int index)
Method removeProperty |
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)
Method setProperty |
void |
setProperty(Property[] propertyArray)
Method setProperty |
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 java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindXml()
Method Detail |
---|
public void addProperty(Property vProperty) throws java.lang.IndexOutOfBoundsException
vProperty
-
java.lang.IndexOutOfBoundsException
public void addProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
-
java.lang.IndexOutOfBoundsException
public void deleteReference()
public void deleteTransient()
public java.util.Enumeration 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
public Property[] getProperty()
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 isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
MarshalException
ValidationException
public void removeAllProperty()
public Property removeProperty(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
public void setProperty(Property[] propertyArray)
propertyArray
- 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 java.lang.Object unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
ValidationException
public void validate() throws ValidationException
ValidationException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |