|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.instance.data.AbstractData org.jbind.xml.instance.data.AnyTypeData org.jbind.example.meansOfTransport.FactoryData
Nested Class Summary | |
static class |
FactoryData.DataCreator_
|
Constructor Summary | |
FactoryData()
|
Method Summary | |
IAutomobileData |
createAutomobile()
Creates a automobile element. |
IManufacturerData |
createManufacturer()
Creates a manufacturer element. |
ITruck |
createTruck()
Creates a truck element. |
IVehicle |
createVehicle()
Creates a vehicle element. |
protected void |
doAcceptEnds_(IDataVisitor aVisitor)
|
protected void |
doAcceptStarts_(IDataVisitor aVisitor)
|
boolean |
hasAutomobile()
Checks if the automobile element is present. |
boolean |
hasManufacturer()
Checks if the manufacturer element is present. |
boolean |
hasTruck()
Checks if the truck element is present. |
boolean |
hasVehicle()
Checks if the vehicle element is present. |
Methods inherited from class org.jbind.xml.instance.data.AnyTypeData |
acceptImpl_ |
Methods inherited from class org.jbind.xml.instance.data.AbstractData |
accept_, addReferencedData_, createElement_, createElement_, createUncheckedAttributeData_, equals, fetchByXPath_, getAttribute_, getDataDesc_, getFixed_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, iterReferencedData_, newElementData_, numberByXPath_, removeAttributeData_, selectByXPath_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_, stringByXPath_, testByXPath_ |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.data.IAnyTypeData |
accept_, acceptImpl_, addReferencedData_, createElement_, createElement_, equals, getAttribute_, getDataDesc_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_ |
Constructor Detail |
public FactoryData()
Method Detail |
protected void doAcceptStarts_(IDataVisitor aVisitor)
protected void doAcceptEnds_(IDataVisitor aVisitor)
public boolean hasAutomobile()
IFactoryData
hasAutomobile
in interface IFactoryData
true
iff the element is present.public IAutomobileData createAutomobile() throws XmlException
IFactoryData
createAutomobile
in interface IFactoryData
XmlException
- Raised if the element could not be created.public boolean hasManufacturer()
IFactoryData
hasManufacturer
in interface IFactoryData
true
iff the element is present.public IManufacturerData createManufacturer() throws XmlException
IFactoryData
createManufacturer
in interface IFactoryData
XmlException
- Raised if the element could not be created.public boolean hasTruck()
IFactoryData
hasTruck
in interface IFactoryData
true
iff the element is present.public ITruck createTruck() throws XmlException
IFactoryData
createTruck
in interface IFactoryData
XmlException
- Raised if the element could not be created.public boolean hasVehicle()
IFactoryData
hasVehicle
in interface IFactoryData
true
iff the element is present.public IVehicle createVehicle() throws XmlException
IFactoryData
createVehicle
in interface IFactoryData
XmlException
- Raised if the element could not be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |