com.ibm.websphere.sib.wsn

Class AnyElemAnyAttrType

  • java.lang.Object
    • com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected java.util.Map attributes
      The xsd:anyAttribute attributes
      protected javax.xml.soap.SOAPElement[] elements
      The xsd:any elements
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addAttribute(javax.xml.soap.Name name, java.lang.String value)
      Add an attribute
      java.util.Iterator getAttributes()
      Get an iterator over the names of all the attributes which have been set
      java.lang.String getAttributeValue(javax.xml.soap.Name name) 
      javax.xml.soap.SOAPElement[] getElements()
      Get the user defined elements which have been set.
      void setElements(javax.xml.soap.SOAPElement[] anyElements)
      Set the user defined elements.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • elements

        protected javax.xml.soap.SOAPElement[] elements
        The xsd:any elements
      • attributes

        protected java.util.Map attributes
        The xsd:anyAttribute attributes
    • Constructor Detail

      • AnyElemAnyAttrType

        public AnyElemAnyAttrType()
    • Method Detail

      • getElements

        public javax.xml.soap.SOAPElement[] getElements()
        Get the user defined elements which have been set.
        Returns:
        Returns an array of the user defined elements or null if no elements have been set.
      • setElements

        public void setElements(javax.xml.soap.SOAPElement[] anyElements)
        Set the user defined elements. Setting this array overwrites any previously set array.
        Parameters:
        anyElements - The user defined elements to set.
      • addAttribute

        public void addAttribute(javax.xml.soap.Name name,
                        java.lang.String value)
                          throws java.lang.Exception
        Add an attribute
        Parameters:
        name - The name of the attribute in the form of a Name
        value - The value of the attribute
        Throws:
        java.lang.Exception
      • getAttributes

        public java.util.Iterator getAttributes()
        Get an iterator over the names of all the attributes which have been set
        Returns:
        The iterator. Each iterated value will be a Name
      • getAttributeValue

        public java.lang.String getAttributeValue(javax.xml.soap.Name name)
        Parameters:
        name - The name of the attribute
        Returns:
        The value of the attribute or null if the attribute has not been set.
IBM WebSphere Application ServerTM
Release 8.5