|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.jboss.axis.message.SOAPHandler (src)
org.jboss.axis.encoding.DeserializerImpl (src)
org.jboss.net.axis.server.EntityBeanDeserializer
Server-side deserializer hitting an existing entity bean. Derived from the axis BeanDeserializer. Currently relies on some silly conventions that must be configurable in the deployment descriptor.
Nested Class Summary | |
class |
EntityBeanDeserializer.BeanPropertyTarget (src)
Class which knows how to update a bean property |
class |
EntityBeanDeserializer.FindPropertyTarget (src)
|
Field Summary | |
protected int |
collectionIndex
|
protected java.util.Collection |
fieldSetters
|
protected java.util.List |
findElements
|
protected java.lang.reflect.Method |
findMethod
|
protected java.lang.Object[] |
findObjects
|
protected java.lang.Object |
home
|
protected boolean |
initialized
|
protected java.lang.Class |
javaType
|
protected java.util.Map |
options
|
protected java.util.Map |
propertyMap
|
protected TypeDesc (src) |
typeDesc
|
protected QName (src) |
xmlType
|
Fields inherited from class org.jboss.axis.encoding.DeserializerImpl (src) |
defaultType, id, isEnded, isHref, isNil, targets, value |
Fields inherited from class org.jboss.axis.message.SOAPHandler (src) |
myElement |
Constructor Summary | |
EntityBeanDeserializer(java.lang.Class remoteType,
QName (src) xmlType)
Construct a new BeanSerializer |
Method Summary | |
java.util.Map |
getOptions()
return the set of options |
static org.jboss.net.axis.server.EntityBeanDeserializer.BeanPropertyDescriptor[] |
getPd(java.lang.Class javaType)
Create a BeanPropertyDescriptor array for the indicated class. |
protected java.lang.String |
getStringOption(java.lang.String key,
java.lang.String def)
returns an option string with a default |
protected void |
initialize(MessageContext (src) ctx)
initialize the deserializer |
void |
onEndElement(java.lang.String namespace,
java.lang.String localName,
DeserializationContext (src) context)
onEndElement is called by endElement. |
SOAPHandler (src) |
onStartChild(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes attributes,
DeserializationContext (src) context)
Deserializer interface called on each child element encountered in the XML stream. |
void |
onStartElement(java.lang.String namespace,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes,
DeserializationContext (src) context)
Set the bean properties that correspond to element attributes. |
void |
setOptions(java.util.Map options)
register a set of options |
Methods inherited from class org.jboss.axis.encoding.DeserializerImpl (src) |
addChildDeserializer, componentsReady, endElement, getDefaultType, getMechanismType, getValue, getValue, getValueTargets, moveValueTargets, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement, valueComplete |
Methods inherited from class org.jboss.axis.message.SOAPHandler (src) |
makeNewElement, onEndChild |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.rpc.encoding.Deserializer (src) |
getMechanismType |
Field Detail |
protected java.util.Map options
protected java.lang.Object home
protected java.lang.reflect.Method findMethod
protected java.util.List findElements
protected java.lang.Object[] findObjects
protected TypeDesc (src) typeDesc
protected QName (src) xmlType
protected java.lang.Class javaType
protected java.util.Map propertyMap
protected int collectionIndex
protected java.util.Collection fieldSetters
protected boolean initialized
Constructor Detail |
public EntityBeanDeserializer(java.lang.Class remoteType, QName (src) xmlType) throws java.lang.Exception
remoteType
- remote interface of the entity beanxmlType
- fully-qualified xml tag-name of the corresponding xml structureMethod Detail |
protected java.lang.String getStringOption(java.lang.String key, java.lang.String def)
protected void initialize(MessageContext (src) ctx) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void setOptions(java.util.Map options)
ParameterizableDeserializer (src)
setOptions
in interface ParameterizableDeserializer (src)
public java.util.Map getOptions()
ParameterizableDeserializer (src)
getOptions
in interface ParameterizableDeserializer (src)
public SOAPHandler (src) onStartChild(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext (src) context) throws org.xml.sax.SAXException
onStartChild
in interface Deserializer (src)
onStartChild
in class DeserializerImpl (src)
namespace
- is the namespace of the child elementlocalName
- is the local name of the child elementprefix
- is the prefix used on the name of the child elementattributes
- are the attributes of the child elementcontext
- is the deserialization context.
org.xml.sax.SAXException
public void onStartElement(java.lang.String namespace, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes, DeserializationContext (src) context) throws org.xml.sax.SAXException
onStartElement
in interface Deserializer (src)
onStartElement
in class DeserializerImpl (src)
namespace
- is the namespace of the elementlocalName
- is the name of the elementqName
- is the prefixed qName of the elementattributes
- are the attributes on the element...used to get the typecontext
- is the DeserializationContext
org.xml.sax.SAXException
public void onEndElement(java.lang.String namespace, java.lang.String localName, DeserializationContext (src) context) throws org.xml.sax.SAXException
DeserializerImpl (src)
onEndElement
in interface Deserializer (src)
onEndElement
in class DeserializerImpl (src)
namespace
- is the namespace of the child elementlocalName
- is the local name of the child elementcontext
- is the deserialization context
org.xml.sax.SAXException
public static org.jboss.net.axis.server.EntityBeanDeserializer.BeanPropertyDescriptor[] getPd(java.lang.Class javaType)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |