| java.lang.Object org.geotools.xml.impl.ElementEncoder
ElementEncoder | public class ElementEncoder (Code) | | Utility class to be used by bindings to encode an element or an attribute.
author: Justin Deoliveira, The Open Planning Project author: TODO: rename this class, it is not just for element.s |
Method Summary | |
public Element | encode(Object value, XSDElementDeclaration element, Document document) Encodes a value corresponding to an element in a schema.
Parameters: value - The value to encode. Parameters: element - The declaration of the element corresponding to the value. | public Attr | encode(Object value, XSDAttributeDeclaration attribute, Document document) | public void | setContext(MutablePicoContainer context) | public void | setLogger(Logger logger) Sets the logger for the encoder to use. |
ElementEncoder | public ElementEncoder(BindingWalker bindingWalker, MutablePicoContainer context)(Code) | | |
encode | public Element encode(Object value, XSDElementDeclaration element, Document document)(Code) | | Encodes a value corresponding to an element in a schema.
Parameters: value - The value to encode. Parameters: element - The declaration of the element corresponding to the value. Parameters: document - The document used to create the encoded element. The encoded value as an element. |
setContext | public void setContext(MutablePicoContainer context)(Code) | | |
setLogger | public void setLogger(Logger logger)(Code) | | Sets the logger for the encoder to use.
Parameters: logger - |
|
|