|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.instance.builder.DataBuilder
Constructor Summary | |
DataBuilder(boolean aUseBuiltInClassesOnly)
|
Method Summary | |
void |
endElement(IElementImpl anElement,
ILocation aLocation,
IConstraintViolations aViolations)
Creates a data object for the element. |
void |
initialize()
Initializes the value builder. |
void |
signalText(IImplContainer aContainer,
java.lang.String aText,
ILocation aLocation,
IConstraintViolations aViolations)
Signals textual content. |
void |
startElement(IElementImpl anElement,
IConstraintViolations aViolations)
Starts an element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataBuilder(boolean aUseBuiltInClassesOnly)
Method Detail |
public void initialize()
IDataBuilder
initialize
in interface IDataBuilder
public void startElement(IElementImpl anElement, IConstraintViolations aViolations) throws XmlException
IDataBuilder
startElement
in interface IDataBuilder
anElement
- (required).aViolations
- (required).
XmlException
- Raised if the element could not be started. The value
builder must not be called until the element has ended. (The corresponding
endElement call must also not be done.)public void endElement(IElementImpl anElement, ILocation aLocation, IConstraintViolations aViolations) throws XmlException
endElement
in interface IDataBuilder
anElement
- (required).aLocation
- (required). The location where the element ended.aViolations
- (required).
XmlException
- Raised if the data object could not be created.public void signalText(IImplContainer aContainer, java.lang.String aText, ILocation aLocation, IConstraintViolations aViolations)
IDataBuilder
signalText
in interface IDataBuilder
aContainer
- (required).aText
- (required).aLocation
- (required). The location where the text started.aViolations
- (required).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |