org.ws4d.java.service.parameter
Class AttachmentValue
java.lang.Object
org.ws4d.java.service.parameter.ParameterValue
org.ws4d.java.service.parameter.ParameterDefinition
org.ws4d.java.service.parameter.AttachmentValue
public class AttachmentValue
- extends ParameterDefinition
Methods inherited from class org.ws4d.java.service.parameter.ParameterValue |
add, add, addAnyAttribute, attributeNames, attributes, childCount, children, childrenFromType, createChild, createChild, createElementValue, createElementValue, get, getAttributeValue, getChildren, getChildrenCount, getChildrenCount, getChildrenList, getInstanceType, getMaxOccurs, getMinOccurs, getName, getType, hasAttributes, hasChildren, hasChildrenFromType, isNil, isOverriden, overrideSerialization, register, remove, removeChild, resolveTypes, serialize, serialize, setAttributeValue, setInstanceType, setNil, unregister |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttachmentValue
public AttachmentValue()
AttachmentValue
public AttachmentValue(java.lang.String href)
getAttachment
public IncomingAttachment getAttachment()
- Returns an attachment for this parameter value.
- Returns:
- the attachment for this parameter value.
setAttachment
public void setAttachment(Attachment attachment)
- Sets the attachment for this parameter value.
- Parameters:
attachment
- the attachment to set.
setAttachmentScope
public void setAttachmentScope(ContextID context)
initialize
public void initialize(java.lang.String href)
getNamespaces
public List getNamespaces()
- Description copied from class:
ParameterValue
- Returns the namespaces used by this parameter value.
This method allows to collect all namespaces and use it if necessary.
- Overrides:
getNamespaces
in class ParameterValue
- Returns:
- a
List
of QName
.
getValueType
public int getValueType()
- Description copied from class:
ParameterValue
- Returns the VALUE TYPE for this parameter.
A VALUE TYPE should be a unique representation of a
ParameterValue
implementation which allows to identify the
implementation and cast correctly.
- Overrides:
getValueType
in class ParameterDefinition
- Returns:
- the VALUE TYPE.
serialize
public java.lang.String serialize()
- Specified by:
serialize
in class ParameterDefinition
parse
public void parse(java.lang.String content)
- Specified by:
parse
in class ParameterDefinition
parseContent
public void parseContent(org.xmlpull.v1.XmlPullParser parser)
throws java.io.IOException,
org.xmlpull.v1.XmlPullParserException
- Specified by:
parseContent
in class ParameterDefinition
- Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException
serializeContent
public void serializeContent(org.xmlpull.v1.XmlSerializer serializer)
throws java.io.IOException
- Specified by:
serializeContent
in class ParameterDefinition
- Throws:
java.io.IOException