org.jbind.xml.instance.data
Class AnyTypeData

java.lang.Object
  extended byorg.jbind.xml.instance.data.AbstractData
      extended byorg.jbind.xml.instance.data.AnyTypeData
All Implemented Interfaces:
IAnyTypeData

public class AnyTypeData
extends AbstractData
implements IAnyTypeData


Constructor Summary
AnyTypeData()
           
 
Method Summary
 void acceptImpl_()
          Accepts the current data implementation by creating a corresponding value for internal storage.
protected  void doAcceptEnds_(IDataVisitor aVisitor)
           
protected  void doAcceptStarts_(IDataVisitor aVisitor)
           
 
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_, addReferencedData_, createElement_, createElement_, equals, getAttribute_, getDataDesc_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_
 

Constructor Detail

AnyTypeData

public AnyTypeData()
Method Detail

acceptImpl_

public void acceptImpl_()
Description copied from interface: IAnyTypeData
Accepts the current data implementation by creating a corresponding value for internal storage. The created value is called the simple storage value. It can either have a primitive type or a (simple) reference type. An exception is raised if the simple storage value could not be created.

Only the constraints that are inherent in the creation of the simple storage value are checked. Any further constraints of the type of the data object that constrain the possible values are not checked.

This method treats only the textual content of the data implementation getTextContent. Attributes and elements are not considered.

Specified by:
acceptImpl_ in interface IAnyTypeData

doAcceptStarts_

protected void doAcceptStarts_(IDataVisitor aVisitor)
Specified by:
doAcceptStarts_ in class AbstractData

doAcceptEnds_

protected void doAcceptEnds_(IDataVisitor aVisitor)
Specified by:
doAcceptEnds_ in class AbstractData