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 Summary
Constructors Constructor Description XMLObject()
Creates a new instance of XMLObject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
isFeatureSupported
public boolean isFeatureSupported(String string)
- Specified by:
isFeatureSupported
in interfaceXMLStructure
-
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 interfaceXMLObject
- Overrides:
getContent
in classObjectType
-
setContent
public void setContent(List content)
-
-