public class XMLEncoderX extends XMLEncoder
Constructor and Description |
---|
XMLEncoderX(OutputStream out)
Creates a new instance of XMLEncoder
|
Modifier and Type | Method and Description |
---|---|
PersistenceDelegate |
getPersistenceDelegate(Class<?> type)
Returns the persistence delegate for the given type.
|
close, flush, getOwner, setOwner, writeExpression, writeObject, writeStatement
get, getExceptionListener, remove, setExceptionListener, setPersistenceDelegate
public XMLEncoderX(OutputStream out)
public PersistenceDelegate getPersistenceDelegate(Class<?> type)
BeanDescriptor
which defined a "persistenceDelegate" property, this
value is returned.
getPersistenceDelegate
in class Encoder
type
- The type of the object.Encoder.setPersistenceDelegate(java.lang.Class<?>, java.beans.PersistenceDelegate)
,
Introspector.getBeanInfo(java.lang.Class<?>)
,
BeanInfo.getBeanDescriptor()
Copyright © 2002–2019 SoftSmithy. All rights reserved.