public class XmlIdFieldHandler
extends org.exolab.castor.mapping.AbstractFieldHandler
FieldHandler used to generate XML identificators used for a given domain class being marshalled.
WARNING: Although this class is public, it should not be treated as part of the public API, as it might change in incompatible ways between releases (even patches).
NOTE:The id generated is based on the class name and its implementation of Object.hashCode()
| Constructor and Description |
|---|
XmlIdFieldHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(Object object) |
Object |
newInstance(Object parent) |
Object |
newInstance(Object parent,
Object[] args) |
void |
resetValue(Object object) |
void |
setValue(Object object,
Object value) |
getFieldDescriptor, hasValue, setConfiguration, setFieldDescriptorpublic Object getValue(Object object) throws IllegalStateException
IllegalStateExceptionpublic Object newInstance(Object parent) throws IllegalStateException
IllegalStateExceptionpublic Object newInstance(Object parent, Object[] args) throws IllegalStateException
newInstance in class org.exolab.castor.mapping.ExtendedFieldHandlerIllegalStateExceptionpublic void resetValue(Object object) throws IllegalStateException, IllegalArgumentException
public void setValue(Object object, Object value) throws IllegalStateException, IllegalArgumentException
Copyright © 2006–2018 Esito AS. All rights reserved.