If the caller can use LeafPropertyLoader, that's usually faster.
LeafPropertyLoader, ValuePropertyLoader
| Modifier and Type | Field and Description |
|---|---|
| private final Transducer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | text(UnmarshallingContext.
Overrides org. Called when this loaderis an active loaderand we see a chunk of text. |
| xducer | back to summary |
|---|---|
| private final Transducer<ValueT> xducer | |
| TextLoader | back to summary |
|---|---|
| public TextLoader(Transducer<ValueT> xducer) | |
| text | back to summary |
|---|---|
| public void text(UnmarshallingContext. Overrides org. Doc from org. 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.
| |