com.sun.xml.ws.security.opt.crypto.dsig
Class XMLObject

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

public class XMLObject
extends ObjectType
implements XMLObject

Author:
Abhijit Das

Field Summary
 
Fields inherited from class com.sun.xml.security.core.dsig.ObjectType
content, encoding, id, mimeType
 
Fields inherited from interface javax.xml.crypto.dsig.XMLObject
TYPE
 
Constructor Summary
XMLObject()
          Creates a new instance of XMLObject
 
Method Summary
 List getContent()
          Gets the value of the content property.
 boolean isFeatureSupported(String string)
           
 void setContent(List content)
           
 
Methods inherited from class com.sun.xml.security.core.dsig.ObjectType
getEncoding, getId, getMimeType, setEncoding, setId, setMimeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.crypto.dsig.XMLObject
getEncoding, getId, getMimeType
 

Constructor Detail

XMLObject

public XMLObject()
Creates a new instance of XMLObject

Method Detail

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 Element

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

setContent

public void setContent(List content)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.