| Modifier and Type | Field and Description |
|---|---|
| protected boolean |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | childElement(UnmarshallingContext.
Called when this loaderis an active loaderand we see a new child start tag. |
| private String | |
| public final boolean | expectText()
True if this loader expects the |
| protected final void | fireAfterUnmarshal(JaxBeanInfo<BeanT> beanInfo, Object child, UnmarshallingContext.
state of the parent object stateFires the afterUnmarshal event if necessary. |
| protected final void | fireBeforeUnmarshal(JaxBeanInfo<BeanT> beanInfo, Object child, UnmarshallingContext.
state of the newly create child object. stateFires the beforeUnmarshal event if necessary. |
| public Collection | getExpectedAttributes()
Returns a set of tag names expected as possible child elements in this context. |
| public Collection | getExpectedChildElements()
Returns a set of tag names expected as possible child elements in this context. |
| public static void | |
| protected static void | handleGenericException(Exception e)
Last resort when something goes terribly wrong within the unmarshaller. |
| public static void | |
| protected static void | handleParseConversionException(UnmarshallingContext.
This method is called by the generated derived class when a datatype parse method throws an exception. |
| public void | leaveElement(UnmarshallingContext.
Called when this loaderis an active loaderand we see an end tag. |
| protected static void | |
| public static void | |
| protected final void | |
| public void | startElement(UnmarshallingContext.
info about the start tag. never null. ea)Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader. |
| public void | text(UnmarshallingContext.
Called when this loaderis an active loaderand we see a chunk of text. |
| expectText | back to summary |
|---|---|
| protected boolean expectText | |
| Loader | back to summary |
|---|---|
| protected Loader(boolean expectText) | |
| Loader | back to summary |
|---|---|
| protected Loader() | |
| childElement | back to summary |
|---|---|
| public void childElement(UnmarshallingContext. Called when this loaderis an active loaderand we see a new child start tag.
The callee is expected to designate another loaderas a loaderthat processes
this element, then it should also register a The default implementation reports an error saying an element is unexpected. | |
| computeExpectedElements | back to summary |
|---|---|
| private String computeExpectedElements() Computes the names of possible root elements for a better error diagnosis. | |
| expectText | back to summary |
|---|---|
| public final boolean expectText() True if this loader expects the | |
| fireAfterUnmarshal | back to summary |
|---|---|
| protected final void fireAfterUnmarshal(JaxBeanInfo<BeanT> beanInfo, Object child, UnmarshallingContext. Fires the afterUnmarshal event if necessary.
| |
| fireBeforeUnmarshal | back to summary |
|---|---|
| protected final void fireBeforeUnmarshal(JaxBeanInfo<BeanT> beanInfo, Object child, UnmarshallingContext. Fires the beforeUnmarshal event if necessary.
| |
| getExpectedAttributes | back to summary |
|---|---|
| public Collection Returns a set of tag names expected as possible child elements in this context. | |
| getExpectedChildElements | back to summary |
|---|---|
| public Collection Returns a set of tag names expected as possible child elements in this context. | |
| handleGenericError | back to summary |
|---|---|
| public static void handleGenericError(Error e) throws SAXException | |
| handleGenericException | back to summary |
|---|---|
| protected static void handleGenericException(Exception e) throws SAXException Last resort when something goes terribly wrong within the unmarshaller. | |
| handleGenericException | back to summary |
|---|---|
| public static void handleGenericException(Exception e, boolean canRecover) throws SAXException | |
| handleParseConversionException | back to summary |
|---|---|
| protected static void handleParseConversionException(UnmarshallingContext. This method is called by the generated derived class when a datatype parse method throws an exception. | |
| leaveElement | back to summary |
|---|---|
| public void leaveElement(UnmarshallingContext. Called when this loaderis an active loaderand we see an end tag. | |
| reportError | back to summary |
|---|---|
| protected static void reportError(String msg, boolean canRecover) throws SAXException | |
| reportError | back to summary |
|---|---|
| public static void reportError(String msg, Exception nested, boolean canRecover) throws SAXException | |
| reportUnexpectedChildElement | back to summary |
|---|---|
protected final void reportUnexpectedChildElement(TagName ea, boolean canRecover) throws SAXException
| |
| startElement | back to summary |
|---|---|
| public void startElement(UnmarshallingContext. Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader.
The callee may change
| |
| text | back to summary |
|---|---|
| public void text(UnmarshallingContext. Called when this loaderis an active loaderand we see a chunk of text. The runtime makes sure that adjacent characters (even those separated by comments, PIs, etc) are reported as one event. IOW, you won't see two text event calls in a row. | |