org.codehaus.xfire.service
Class MessagePartInfo

java.lang.Object
  extended byorg.codehaus.xfire.service.MessagePartInfo
All Implemented Interfaces:
Visitable

public class MessagePartInfo
extends java.lang.Object
implements Visitable

Represents the description of a service operation message part.

Message parts are created using the MessagePartContainer.addMessagePart(javax.xml.namespace.QName, java.lang.Class) or MessagePartContainer.addMessagePart(javax.xml.namespace.QName, java.lang.Class) method.

Author:
Arjen Poutsma, Dan Diephouse

Method Summary
 void accept(Visitor visitor)
          Acceps the given visitor.
 MessagePartContainer getContainer()
           
 int getIndex()
           
 javax.xml.namespace.QName getName()
           
 SchemaType getSchemaType()
           
 java.lang.Class getTypeClass()
           
 boolean isSchemaElement()
          Is this message part a concrete type declared in a schema? Or are we referencing an abstract schema type?
 void setIndex(int index)
           
 void setName(javax.xml.namespace.QName name)
           
 void setSchemaElement(boolean schemaElement)
           
 void setSchemaType(SchemaType schemaType)
           
 void setTypeClass(java.lang.Class typeClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public javax.xml.namespace.QName getName()
Returns:
Returns the name.

setName

public void setName(javax.xml.namespace.QName name)
Parameters:
name - The name to set.

getTypeClass

public java.lang.Class getTypeClass()

setTypeClass

public void setTypeClass(java.lang.Class typeClass)

getContainer

public MessagePartContainer getContainer()

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getSchemaType

public SchemaType getSchemaType()

setSchemaType

public void setSchemaType(SchemaType schemaType)

isSchemaElement

public boolean isSchemaElement()
Is this message part a concrete type declared in a schema? Or are we referencing an abstract schema type?

Returns:
True if this is a concrete type.

setSchemaElement

public void setSchemaElement(boolean schemaElement)

accept

public void accept(Visitor visitor)
Acceps the given visitor.

Specified by:
accept in interface Visitable
Parameters:
visitor - the visitor.


Copyright © 2004-2006 null. All Rights Reserved.