Class ComplexType
java.lang.Object
com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType
com.sun.xml.rpc.processor.modeler.j2ee.xml.ComplexType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
constructorParameterOrderType,deploymentExtensionType,ejbLocalRefType,ejbRefType,emptyType,envEntryType,exceptionMappingType,extensibleType,iconType,javaWsdlMappingType,javaXmlTypeMappingType,messageDestinationRefType,messageDestinationType,methodParamPartsMappingType,packageMappingType,paramValueType,portComponentRefType,portMappingType,resourceEnvRefType,resourceRefType,runAsType,securityRoleRefType,securityRoleType,serviceEndpointInterfaceMappingType,serviceEndpointMethodMappingType,serviceInterfaceMappingType,serviceRef_handlerType,serviceRefType,string,variableMappingType,wsdlMessageMappingType,wsdlReturnValueMappingType,xsdAnyURIType,xsdBooleanType,xsdIntegerType,xsdNMTOKENType,xsdNonNegativeIntegerType,xsdPositiveIntegerType,xsdQNameType,xsdStringType
Base class for all generated classes that are of type Complex Type
Provides operations that are applicable to complex type content.
For example, element and element reference that have a sequence semantics
(i.e maxOccurs=unbounded) are only applicable to the content of a complex type.
Attributes can only be added to the content of a complex type.
- See Also:
-
Field Summary
Fields inherited from class com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType
factory, simpleDateFormat, xmlAttr, xmlElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttributeBooleanValue(String attrname) bytegetAttributeByteValue(String attrname) getAttributeDateValue(String attrname) doublegetAttributeDoubleValue(String attrname) floatgetAttributeFloatValue(String attrname) intgetAttributeIntegerValue(String attrname) longgetAttributeLongValue(String attrname) String[]shortgetAttributeShortValue(String attrname) getAttributeValue(String attrname) Get the attribute value for the specified attribute namegetAttributeValue(String property, String className) booleangetElementBooleanValue(String elementName, int index) bytegetElementByteValue(String elementName, int index) getElementDateValue(String elementName, int index) doublegetElementDoubleValue(String elementName, int index) floatgetElementFloatValue(String elementName, int index) intgetElementIntegerValue(String elementName, int index) longgetElementLongValue(String elementName, int index) shortgetElementShortValue(String elementName, int index) booleanremoveAttribute(String attrname) Remove the attribute from this elementbooleanremoveElement(int index, String elementName) Remove the element indicated by elementName and index from the list of childrenvoidsetAttributeValue(String attrname, boolean attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, byte attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, double attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, float attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, int attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, long attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, short attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, SimpleType attrObject) Set the attribute to the specified valuevoidsetAttributeValue(String attrname, String attrvalue) Set the attribute value for the specified attribute name.voidsetAttributeValue(String attrname, Date attrObject) Set the attribute to the specified valuevoidsetElementValue(int index, String elementName, boolean value) voidsetElementValue(int index, String elementName, byte value) voidsetElementValue(int index, String elementName, double value) voidsetElementValue(int index, String elementName, float value) voidsetElementValue(int index, String elementName, int value) voidsetElementValue(int index, String elementName, long value) voidsetElementValue(int index, String elementName, short value) voidsetElementValue(int index, String elementName, BaseType baseType) Either add a new element if the index if bigger than the existing length or update the existing element at indexvoidsetElementValue(int index, String elementName, String elementValue) voidsetElementValue(int index, String elementName, Date value) Methods inherited from class com.sun.xml.rpc.processor.modeler.j2ee.xml.BaseType
getElementBooleanValue, getElementByteValue, getElementDateValue, getElementDoubleValue, getElementFloatValue, getElementIntegerValue, getElementLongValue, getElementName, getElementShortValue, getElementValue, getElementValue, getElementValue, getElementValue, getElementValue, getXMLAttribute, getXMLElement, removeElement, setElementValue, setElementValue, setElementValue, setElementValue, setElementValue, setElementValue, setElementValue, setElementValue, setElementValue, setElementValue, setFactory, setXMLAttribute, setXMLElement, sizeOfElement, updateElementValue, updateElementValue, updateElementValue, updateElementValue, updateElementValue, updateElementValue, updateElementValue, updateElementValue, updateElementValue
-
Constructor Details
-
ComplexType
public ComplexType()
-
-
Method Details
-
removeElement
Remove the element indicated by elementName and index from the list of children -
setElementValue
Either add a new element if the index if bigger than the existing length or update the existing element at index -
setElementValue
-
setElementValue
-
setElementValue
-
setElementValue
-
setElementValue
-
setElementValue
-
setElementValue
-
setElementValue
-
setElementValue
-
getElementBooleanValue
-
getElementIntegerValue
-
getElementFloatValue
-
getElementDoubleValue
-
getElementLongValue
-
getElementShortValue
-
getElementByteValue
-
getElementDateValue
-
setAttributeValue
Set the attribute value for the specified attribute name.- Parameters:
attrname- - attribute nameattrvalue- - attribute value
-
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
setAttributeValue
Set the attribute to the specified value -
getAttributeValue
Get the attribute value for the specified attribute name -
getAttributeBooleanValue
-
getAttributeIntegerValue
-
getAttributeFloatValue
-
getAttributeDoubleValue
-
getAttributeLongValue
-
getAttributeShortValue
-
getAttributeByteValue
-
getAttributeDateValue
-
getAttributeValue
- Parameters:
className- - the name of the class corresponding to this element
-
removeAttribute
Remove the attribute from this element -
getAttributeNames
- Returns:
- array of attribute names, or empty array if none exists
-