站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

ElementDesc (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.description
Class ElementDesc

java.lang.Object
  extended byorg.apache.axis.description.FieldDesc
      extended byorg.apache.axis.description.ElementDesc

public class ElementDesc
extends FieldDesc

An AttributeDesc is a FieldDesc for an Java field mapping to an XML element

Author:
Glen Daniels (gdaniels@apache.org)

Constructor Summary
ElementDesc()
           
 
Method Summary
 javax.xml.namespace.QName getItemXmlType()
           
 int getMaxOccurs()
           
 int getMinOccurs()
           
 boolean isAsContent()
           
 boolean isMinOccursZero()
          Check if this field can be omitted.
 void setAsContent(boolean asContent)
           
 void setItemXmlType(javax.xml.namespace.QName itemXmlType)
           
 void setMaxOccurs(int maxOccurs)
           
 void setMinOccurs(int minOccurs)
           
 
Methods inherited from class org.apache.axis.description.FieldDesc
getFieldName, getJavaType, getXmlName, getXmlType, isAttribute, isElement, isIndexed, setFieldName, setJavaType, setMinOccursIs0, setXmlName, setXmlType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementDesc

public ElementDesc()
Method Detail

isMinOccursZero

public boolean isMinOccursZero()
Description copied from class: FieldDesc
Check if this field can be omitted.

Overrides:
isMinOccursZero in class FieldDesc

getMinOccurs

public int getMinOccurs()

setMinOccurs

public void setMinOccurs(int minOccurs)

getMaxOccurs

public int getMaxOccurs()

setMaxOccurs

public void setMaxOccurs(int maxOccurs)

isAsContent

public boolean isAsContent()

setAsContent

public void setAsContent(boolean asContent)

getItemXmlType

public javax.xml.namespace.QName getItemXmlType()

setItemXmlType

public void setItemXmlType(javax.xml.namespace.QName itemXmlType)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.