com.sforce.ws.wsdl
Class Element

java.lang.Object
  extended by com.sforce.ws.wsdl.Element
All Implemented Interfaces:
Constants

public class Element
extends Object
implements Constants

This class represents WSDL->Definitions->types->schema->element

Since:
1.0 Nov 9, 2005
Version:
1.0
Author:
http://cheenath.com

Field Summary
static int UNBOUNDED
           
 
Fields inherited from interface com.sforce.ws.wsdl.Constants
ADDRESS, ALL, ANNOTATION, ATTRIBUTE, ATTRIBUTE_FORM_DEFAULT, BASE, BINDING, BODY, CHOICE, CLIENT_SYNC_SFORCE_NS, COMPLEX_TYPE, CROSS_INSTANCE_SFORCE_NS, DEFINITIONS, DOCUMENTATION, ELEMENT, ELEMENT_FORM_DEFAULT, ENTERPRISE_NS, ENTERPRISE_SOBJECT_NS, ENUMERATION, EXTENSION, FAULT, HEADER, IMPORT, INPUT, INTERNAL_SFORCE_NS, LOCATION, MAX_OCCURS, MESSAGE, META_SFORCE_NS, MIN_OCCURS, NAME, NILLABLE, OPERATION, OUTPUT, PART, PARTNER_NS, PARTNER_SOBJECT_NS, PORT, PORT_TYPE, REF, RESTRICTION, SCHEMA, SCHEMA_INSTANCE_NS, SCHEMA_NS, SEQUENCE, SERVICE, SIMPLE_TYPE, SOAP_ENVELOPE_NS, STYLE, SYNC_API_SFORCE_NS, TARGET_NAME_SPACE, TRANSPORT, TYPE, TYPES, VALUE, WSDL_NS, WSDL_SOAP_NS
 
Constructor Summary
Element(Schema schema)
           
 
Method Summary
 int getMaxOccurs()
           
 int getMinOccurs()
           
 String getName()
           
 QName getRef()
           
 Schema getSchema()
           
 QName getType()
           
 boolean isComplexType()
           
 boolean isNillable()
           
 void read(WsdlParser parser)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNBOUNDED

public static final int UNBOUNDED
See Also:
Constant Field Values
Constructor Detail

Element

public Element(Schema schema)
Method Detail

isComplexType

public boolean isComplexType()

getType

public QName getType()

getRef

public QName getRef()

getSchema

public Schema getSchema()

getMinOccurs

public int getMinOccurs()

getMaxOccurs

public int getMaxOccurs()

isNillable

public boolean isNillable()

toString

public String toString()
Overrides:
toString in class Object

read

public void read(WsdlParser parser)
          throws WsdlParseException
Throws:
WsdlParseException

getName

public String getName()


Copyright © 2012. All Rights Reserved.