|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property<BeanT>
A JAXB property that constitutes a JAXB-bound bean.
Field Summary |
---|
Fields inherited from interface com.sun.xml.bind.v2.runtime.property.StructureLoaderBuilder |
---|
CATCH_ALL, TEXT_HANDLER |
Method Summary | |
---|---|
Accessor |
getElementPropertyAccessor(java.lang.String nsUri,
java.lang.String localName)
If this property is mapped to the specified element, return an accessor to it. |
java.lang.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 serializeURIs(Object,XMLSerializer) performs some meaningful action. |
void |
reset(BeanT o)
Resets the property value on the given object. |
void |
serializeBody(BeanT beanT,
XMLSerializer target,
java.lang.Object outerPeer)
|
void |
serializeURIs(BeanT beanT,
XMLSerializer target)
|
void |
wrapUp()
Called at the end of the JAXBContext initialization phase
to clean up any unnecessary references. |
Methods inherited from interface com.sun.xml.bind.v2.runtime.property.StructureLoaderBuilder |
---|
buildChildElementUnmarshallers |
Method Detail |
---|
void reset(BeanT o) throws AccessorException
... for example by setting 0 or null.
AccessorException
void serializeBody(BeanT beanT, XMLSerializer target, java.lang.Object outerPeer) throws org.xml.sax.SAXException, AccessorException, java.io.IOException, javax.xml.stream.XMLStreamException
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 JAXBElement
s.
AccessorException
- If thrown, caught by the caller and reported.
org.xml.sax.SAXException
java.io.IOException
javax.xml.stream.XMLStreamException
JaxBeanInfo.serializeBody(Object, XMLSerializer)
void serializeURIs(BeanT beanT, XMLSerializer target) throws org.xml.sax.SAXException, AccessorException
org.xml.sax.SAXException
AccessorException
JaxBeanInfo.serializeURIs(Object, XMLSerializer)
boolean hasSerializeURIAction()
serializeURIs(Object,XMLSerializer)
performs some meaningful action.
java.lang.String getIdValue(BeanT bean) throws AccessorException, org.xml.sax.SAXException
PropertyInfo.id()
is ID.ID
,
and therefore the return type is fixed to String
.
AccessorException
org.xml.sax.SAXException
PropertyKind getKind()
Accessor getElementPropertyAccessor(java.lang.String nsUri, java.lang.String localName)
void wrapUp()
JAXBContext
initialization phase
to clean up any unnecessary references.
RuntimePropertyInfo getInfo()
RuntimePropertyInfo
information on the property.
JAXBContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |