public abstract class WriteContext extends Object
Context against which content should be written.
Usage:
This (logical) interface is a Parameter Object
allowing additional, Betwixt
-specific information
to be passed through the SAX-inspired writing API.
It is likely that access will be required to methods in the
Context
used by the AbstractBeanWriter
but it seems better to add these as neccessary using delegation
rather than extending Context
.
Constructor and Description |
---|
WriteContext() |
Modifier and Type | Method and Description |
---|---|
abstract ElementDescriptor |
getCurrentDescriptor()
Gets the descriptor for the element who content
is currently being created.
|
public abstract ElementDescriptor getCurrentDescriptor()
ElementDescriptor
for the
current element (or null if there is no current element)Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.