com.sun.xml.bind.v2.runtime.property
public interface Property<BeanT> extends StructureLoaderBuilder
Method Summary | |
---|---|
Accessor | getElementPropertyAccessor(String nsUri, String localName)
If this property is mapped to the specified element,
return an accessor to it.
|
String | getFieldName() |
String | getIdValue(BeanT bean)
Gets the value of the property.
|
RuntimePropertyInfo | getInfo()
Provides more RuntimePropertyInfo information on the property.
|
PropertyKind | getKind()
Gets the Kind of property |
boolean | hasSerializeURIAction()
Returns true if
Property performs some meaningful action. |
boolean | isHiddenByOverride() |
void | reset(BeanT o)
Resets the property value on the given object.
|
void | serializeBody(BeanT beanT, XMLSerializer target, Object outerPeer) |
void | serializeURIs(BeanT beanT, XMLSerializer target) |
void | setHiddenByOverride(boolean hidden) |
void | wrapUp()
Called at the end of the JAXBContext initialization phase
to clean up any unnecessary references. |
Returns: null if the property is not mapped to the specified element.
Returns: null if RETAIN_REFERENCE_TO_INFO property is not set on the JAXBContext
Returns: always non-null.
... for example by setting 0 or null.
Parameters: outerPeer used when this property is expected to print out an element and that should be associated with this outer peer. normally null. this is only used for JaxBeanInfo for JAXBElements.
Throws: AccessorException If thrown, caught by the caller and reported.
See Also: JaxBeanInfo