Class XMLObject

java.lang.Object
com.sun.xml.security.core.dsig.ObjectType
com.sun.xml.ws.security.opt.crypto.dsig.XMLObject
All Implemented Interfaces:
XMLObject, XMLStructure

public class XMLObject extends ObjectType implements XMLObject
Author:
Abhijit Das
  • Constructor Details

    • XMLObject

      public XMLObject()
      Creates a new instance of XMLObject
  • Method Details

    • isFeatureSupported

      public boolean isFeatureSupported(String string)
      Specified by:
      isFeatureSupported in interface XMLStructure
    • getContent

      public List getContent()
      Description copied from class: ObjectType
      Gets the value of the content property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list Object String

      Specified by:
      getContent in interface XMLObject
      Overrides:
      getContent in class ObjectType
    • setContent

      public void setContent(List content)