Top Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.property

pack-priv abstract Class PropertyImpl<BeanT>

extends Object
implements Property<BeanT>
Class Inheritance
All Implemented Interfaces
org.glassfish.jaxb.runtime.v2.runtime.property.Property, org.glassfish.jaxb.runtime.v2.runtime.property.StructureLoaderBuilder
Known Direct Subclasses
org.glassfish.jaxb.runtime.v2.runtime.property.SingleElementLeafProperty, org.glassfish.jaxb.runtime.v2.runtime.property.SingleElementNodeProperty, org.glassfish.jaxb.runtime.v2.runtime.property.SingleMapNodeProperty, org.glassfish.jaxb.runtime.v2.runtime.property.SingleReferenceNodeProperty, org.glassfish.jaxb.runtime.v2.runtime.property.ValueProperty, org.glassfish.jaxb.runtime.v2.runtime.property.ArrayProperty, org.glassfish.jaxb.runtime.v2.runtime.property.AttributeProperty
Imports
org.glassfish.jaxb.runtime.api.AccessorException, org.glassfish.jaxb.runtime.v2.model.runtime.RuntimePropertyInfo, org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl, .XMLSerializer, org.glassfish.jaxb.runtime.v2.runtime.reflect.Accessor, org.xml.sax.SAXException, javax.xml.stream.XMLStreamException, java.io.IOException

Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
protected final String
fieldName

Name of this field.

private boolean
private RuntimePropertyInfo

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Accessor<BeanT, ValueT>
getElementPropertyAccessor(String nsUri, String localName)

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.getElementPropertyAccessor.

If this property is mapped to the specified element, return an accessor to it.

public String
public RuntimePropertyInfo
public boolean
public boolean
public void
public void
public void
public void
wrapUp()

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.wrapUp.

Called at the end of the JAXBContext initialization phase to clean up any unnecessary references.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fieldNameback to summary
protected final String fieldName

Name of this field.

hiddenByOverrideback to summary
private boolean hiddenByOverride
propertyInfoback to summary
private RuntimePropertyInfo propertyInfo

Constructor Detail

PropertyImplback to summary
public PropertyImpl(JAXBContextImpl context, RuntimePropertyInfo prop)

Method Detail

getElementPropertyAccessorback to summary
public Accessor<BeanT, ValueT> getElementPropertyAccessor(String nsUri, String localName)

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.getElementPropertyAccessor.

Doc from org.glassfish.jaxb.runtime.v2.runtime.property.Property.getElementPropertyAccessor.

If this property is mapped to the specified element, return an accessor to it.

Annotations
@Override
getFieldNameback to summary
public String getFieldName()

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.getFieldName.

Annotations
@Override
getInfoback to summary
public RuntimePropertyInfo getInfo()

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.getInfo.

Doc from org.glassfish.jaxb.runtime.v2.runtime.property.Property.getInfo.

Provides more RuntimePropertyInfo information on the property.

Annotations
@Override
hasSerializeURIActionback to summary
public boolean hasSerializeURIAction()

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.hasSerializeURIAction.

Doc from org.glassfish.jaxb.runtime.v2.runtime.property.Property.hasSerializeURIAction.

Returns true if serializeURIs(Object, XMLSerializer) performs some meaningful action.

Annotations
@Override
isHiddenByOverrideback to summary
public boolean isHiddenByOverride()

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.isHiddenByOverride.

Annotations
@Override
serializeBodyback to summary
public void serializeBody(BeanT o, XMLSerializer w, Object outerPeer) throws SAXException, AccessorException, IOException, XMLStreamException

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.serializeBody.

Annotations
@Override
Exceptions
AccessorException:

Doc from org.glassfish.jaxb.runtime.v2.runtime.property.Property.serializeBody.

If thrown, caught by the caller and reported.

serializeURIsback to summary
public void serializeURIs(BeanT o, XMLSerializer w) throws SAXException, AccessorException

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.serializeURIs.

Annotations
@Override
setHiddenByOverrideback to summary
public void setHiddenByOverride(boolean hidden)

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.setHiddenByOverride.

Annotations
@Override
wrapUpback to summary
public void wrapUp()

Implements org.glassfish.jaxb.runtime.v2.runtime.property.Property.wrapUp.

Doc from org.glassfish.jaxb.runtime.v2.runtime.property.Property.wrapUp.

Called at the end of the JAXBContext initialization phase to clean up any unnecessary references.

Annotations
@Override